aboutsummaryrefslogtreecommitdiff
path: root/src/frontend/tubo/views.cljs
diff options
context:
space:
mode:
Diffstat (limited to 'src/frontend/tubo/views.cljs')
-rw-r--r--src/frontend/tubo/views.cljs5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/frontend/tubo/views.cljs b/src/frontend/tubo/views.cljs
index 25070da..aabd7b6 100644
--- a/src/frontend/tubo/views.cljs
+++ b/src/frontend/tubo/views.cljs
@@ -10,9 +10,10 @@
(defn app
[]
(let [current-match @(rf/subscribe [:current-match])
+ auto-theme @(rf/subscribe [:auto-theme])
{:keys [theme]} @(rf/subscribe [:settings])]
- [:div {:class (when (= theme "dark") "dark")}
- [:div.min-h-screen.flex.flex-col.h-full.dark:text-white.dark:bg-neutral-900.relative.font-nunito-sans
+ [:div {:class (when (or (and (= theme "auto") (= auto-theme :dark)) (= theme "dark")) "dark")}
+ [:div.min-h-screen.flex.flex-col.h-full.dark:text-white.bg-neutral-100.dark:bg-neutral-900.relative.font-nunito-sans
[navigation/navbar current-match]
[notification/notifications-panel]
[:div.flex.flex-col.flex-auto.justify-between.relative