Refactor layout component to enable dark theme by default
This commit is contained in:
1 parent
84bea350b3
commit
8c5f86d8ce
4 files changed
+10
-1
No files matched your search
+1
-1
@@ -36,7 +36,7 @@ export default async function RootLayout({
|
||||
/>
|
||||
</head>
|
||||
<body className={inter.className}>
|
||||
<ThemeProvider attribute="class" enableSystem defaultTheme="system">
|
||||
<ThemeProvider attribute="class" enableSystem defaultTheme="dark" storageKey="zen.theme">
|
||||
<StyledComponentsRegistry>
|
||||
<div>
|
||||
{children}
|
||||
|
||||
Reference in new issue
Block a user