Refactor layout component to enable dark theme by default

This commit is contained in:
mauro-balades committed 2024-09-16 23:34:51 +02:00
1 parent 84bea350b3
commit 8c5f86d8ce
4 files changed
+10 -1

No files matched your search

+1 -1
View File
@@ -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}