We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 677fbbc commit 431ba93Copy full SHA for 431ba93
resources/js/composables/useAppearance.ts
@@ -62,9 +62,9 @@ export function initializeTheme() {
62
mediaQuery()?.addEventListener('change', handleSystemThemeChange);
63
}
64
65
-export function useAppearance() {
66
- const appearance = ref<Appearance>('system');
+const appearance = ref<Appearance>('system');
67
+export function useAppearance() {
68
onMounted(() => {
69
const savedAppearance = localStorage.getItem('appearance') as Appearance | null;
70
0 commit comments