Fix(color-scheme): fix system color scheme initial loading #177

Merged
jakob.scheid merged 1 commits from fix/system-color-scheme-initial into main 2026-08-06 15:27:15 +02:00
Showing only changes of commit 30f6b82416 - Show all commits
+1 -1
View File
@@ -26,7 +26,7 @@ import { useRoute } from 'vue-router';
const route = useRoute();
const { getColorScheme, updateColorScheme } = useColorScheme();
const colorScheme = ref('auto');
const colorScheme = ref(null);
provide('colorScheme', colorScheme);
watch(colorScheme, (newValue) => {
updateColorScheme(newValue);