diff options
Diffstat (limited to 'src/frontend')
-rw-r--r-- | src/frontend/tubo/components/layout.cljs | 2 | ||||
-rw-r--r-- | src/frontend/tubo/navigation/views.cljs | 13 |
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 |