remove redundant color-scheme style from html
next-themes enableColorScheme (default true) already sets this dynamically to match the active theme. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
374cb23111
commit
246e1314aa
1 changed files with 1 additions and 5 deletions
|
|
@ -41,11 +41,7 @@ export default function RootLayout({
|
|||
children: React.ReactNode
|
||||
}>) {
|
||||
return (
|
||||
<html
|
||||
lang='en'
|
||||
style={{ colorScheme: 'light dark' }}
|
||||
suppressHydrationWarning
|
||||
>
|
||||
<html lang='en' suppressHydrationWarning>
|
||||
<body
|
||||
className={twJoin(
|
||||
'selection:bg-primary selection:text-primary-foreground min-h-dvh font-sans underline-offset-4 antialiased',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue