曾坤森 пре 3 месеци
родитељ
комит
fccaea826a
1 измењених фајлова са 2 додато и 2 уклоњено
  1. 2 2
      src/components/navbar/index.vue

+ 2 - 2
src/components/navbar/index.vue

@@ -243,10 +243,10 @@ const showCheckInDialog = shallowRef<boolean>(false);
 
 const isDark = useDark({
   selector: 'body',
-  attribute: 'arco-theme',
+  attribute: 'site-theme',
   valueDark: 'dark',
   valueLight: 'light',
-  storageKey: 'arco-theme',
+  storageKey: 'site-theme',
   onChanged(dark: boolean) {
     // overridden default behavior
     appStore.toggleTheme(dark);