Skip to content

Commit 9ba099f

Browse files
authored
Change default theme from 'dark' to 'system' (cgoinglove#302)
Follow system theme, for someone who doesn't like 'dark' to be default.
1 parent 45da7e4 commit 9ba099f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/app/layout.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ export default async function RootLayout({
3737
>
3838
<ThemeProvider
3939
attribute="class"
40-
defaultTheme="dark"
40+
defaultTheme="system"
4141
themes={["light", "dark"]}
4242
storageKey="app-theme-v2"
4343
disableTransitionOnChange

0 commit comments

Comments
 (0)