From c017973dd995a7318377d262b1a0134ad7d2d151 Mon Sep 17 00:00:00 2001 From: Imre Gera Date: Mon, 16 Sep 2024 16:49:54 +0000 Subject: [PATCH] fix: Add back dark mode handling --- layouts/timer.vue | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/layouts/timer.vue b/layouts/timer.vue index 6bb88c3..bc547ce 100644 --- a/layouts/timer.vue +++ b/layouts/timer.vue @@ -14,7 +14,10 @@ const { locale } = useI18n() useHead(() => { return { - htmlAttrs: { lang: locale } + htmlAttrs: { lang: locale }, + bodyAttrs: { + class: computed(() => settingsStore.visuals.darkMode ? 'dark' : '') + } } })