Skip to content

Commit 3b54175

Browse files
use for theme (#2733)
Signed-off-by: milinddethe15 <milinddethe15@gmail.com>
1 parent 1812183 commit 3b54175

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/app/layout.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,10 +53,10 @@ export default function RootLayout({
5353
className={`${interFont.variable} ${latoFont.variable}`}
5454
>
5555
<head>
56-
<ColorSchemeScript />
56+
<ColorSchemeScript defaultColorScheme="auto" />
5757
</head>
5858
<body>
59-
<MantineProvider theme={theme}>
59+
<MantineProvider theme={theme} defaultColorScheme="auto">
6060
<AppShell header={{ height: "var(--header-height)" }}>
6161
<Header />
6262

0 commit comments

Comments
 (0)