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:
Tommy Chow 2026-02-17 23:31:48 -08:00
parent 374cb23111
commit 246e1314aa

View file

@ -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',