We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3f1413e commit 956d9a3Copy full SHA for 956d9a3
docs/src/app/layout.tsx
@@ -41,7 +41,14 @@ export default function Layout({ children }: { children: ReactNode }) {
41
<meta name="color-scheme" content="dark light" />
42
</head>
43
<body>
44
- <RootProvider>{children}</RootProvider>
+ <RootProvider
45
+ theme={{
46
+ defaultTheme: "dark",
47
+ storageKey: "theme",
48
+ }}
49
+ >
50
+ {children}
51
+ </RootProvider>
52
</body>
53
</html>
54
);
0 commit comments