Set dark mode dynamically

This commit is contained in:
2026-05-17 20:43:13 +02:00
parent 6fb3d95cd5
commit 678c41e990
2 changed files with 28 additions and 1 deletions
+1 -1
View File
@@ -28,7 +28,7 @@ watch(colorTheme, val => updateColorTheme(val))
</script>
<template>
<div :class="{ dark: colorTheme === 'dark' }" id="app-wrapper">
<div :class="{ dark: colorTheme === 'dark', 'color-scheme-auto': colorTheme === 'auto' }" id="app-wrapper">
<Navbar />
<div class="main-content">