aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMiguel Ángel Moreno <mail@migalmoreno.com>2024-11-23 22:47:15 +0100
committerMiguel Ángel Moreno <mail@migalmoreno.com>2024-11-23 22:47:15 +0100
commitd21dd529bb33d5b574643f63e7d268bfed1e4792 (patch)
tree203bc0b6508327231b53d8e45257e9e470dc27a4 /src
parent936ee20b0957e0106a458d25385bd5bd918e7e75 (diff)
feat: apply correct text color to navigation elements
Diffstat (limited to 'src')
-rw-r--r--src/frontend/tubo/components/layout.cljs2
-rw-r--r--src/frontend/tubo/navigation/views.cljs13
2 files changed, 7 insertions, 8 deletions
diff --git a/src/frontend/tubo/components/layout.cljs b/src/frontend/tubo/components/layout.cljs
index 6511f89..48d4259 100644
--- a/src/frontend/tubo/components/layout.cljs
+++ b/src/frontend/tubo/components/layout.cljs
@@ -159,7 +159,7 @@
(defn menu
[active? items & {:keys [right top bottom left] :or {right "15px" top "0px"}}]
(when-not (empty? (remove nil? items))
- [:ul.absolute.bg-neutral-100.dark:bg-neutral-900.border.border-neutral-300.dark:border-stone-700.rounded-t.rounded-b.z-20.p-2.flex.flex-col
+ [:ul.absolute.bg-neutral-100.dark:bg-neutral-900.border.border-neutral-300.dark:border-stone-700.rounded-t.rounded-b.z-20.p-2.flex.flex-col.text-neutral-800.dark:text-white
{:class (when-not active? "hidden")
:style {:right right :left left :top top :bottom bottom}}
(for [[i item] (map-indexed vector (remove nil? items))]
diff --git a/src/frontend/tubo/navigation/views.cljs b/src/frontend/tubo/navigation/views.cljs
index c8ef085..b899be7 100644
--- a/src/frontend/tubo/navigation/views.cljs
+++ b/src/frontend/tubo/navigation/views.cljs
@@ -3,11 +3,9 @@
[re-frame.core :as rf]
[reagent.core :as r]
[reitit.frontend.easy :as rfe]
- [tubo.bookmarks.modals :as modals]
[tubo.components.layout :as layout]
[tubo.kiosks.views :as kiosks]
[tubo.services.views :as services]
- [tubo.utils :as utils]
[tubo.stream.views :as stream]
[tubo.channel.views :as channel]))
@@ -99,12 +97,12 @@
[:a.font-bold {:href (rfe/href :homepage)}
[layout/logo :height 35 :width 35]]])
(when (and show-queue? (not show-search-form?))
- [:button.mx-2
+ [:button.text-white.mx-2
{:on-click #(rf/dispatch [:queue/show
false])}
[:i.fa-solid.fa-arrow-left]])
(when (and show-main-player? (not show-search-form?))
- [:button.mx-2
+ [:button.text-white.mx-2
{:on-click #(rf/dispatch [:player/switch-from-main nil])}
[:i.fa-solid.fa-arrow-left]])
(when-not (or show-queue? show-main-player? show-search-form?)
@@ -113,12 +111,13 @@
[:toggle-mobile-nav])}
[:i.fa-solid.fa-bars]])
(when-not (or show-queue? show-main-player? show-search-form?)
- [:h1.text-lg.sm:text-xl.font-bold.line-clamp-1.lg:hidden title])
+ [:h1.text-white.text-lg.sm:text-xl.font-bold.line-clamp-1.lg:hidden
+ title])
(when (and show-queue? (not show-search-form?))
- [:h1.text-lg.sm:text-xl.font-bold.line-clamp-1
+ [:h1.text-white.text-lg.sm:text-xl.font-bold.line-clamp-1
"Play Queue"])
(when (and show-main-player? (not show-search-form?))
- [:h1.text-lg.sm:text-xl.font-bold.line-clamp-1
+ [:h1.text-white.text-lg.sm:text-xl.font-bold.line-clamp-1
"Main Player"])]))
(defn nav-right-content