Parcourir la source

fix: change default theme to light (#14304)

Wu Tianwei il y a 1 mois
Parent
commit
c242bb372b
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      web/app/layout.tsx

+ 1 - 1
web/app/layout.tsx

@@ -56,7 +56,7 @@ const LocaleLayout = ({
               <ThemeProvider
                 attribute='data-theme'
                 forcedTheme='light'
-                defaultTheme='system'
+                defaultTheme='light' // TODO: change to 'system' when dark mode ready
                 enableSystem
                 disableTransitionOnChange
               >