Skip to content

Commit

Permalink
fix: Add back dark mode handling (#379)
Browse files Browse the repository at this point in the history
  • Loading branch information
Hanziness authored Sep 16, 2024
1 parent af908f0 commit 6436e65
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion layouts/timer.vue
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,10 @@ const { locale } = useI18n()
useHead(() => {
return {
htmlAttrs: { lang: locale }
htmlAttrs: { lang: locale },
bodyAttrs: {
class: computed(() => settingsStore.visuals.darkMode ? 'dark' : '')
}
}
})
</script>
Expand Down

0 comments on commit 6436e65

Please sign in to comment.