diff --git a/web/__tests__/real-browser-flicker.test.tsx b/web/__tests__/real-browser-flicker.test.tsx index 7c3b45af19..288a5198a8 100644 --- a/web/__tests__/real-browser-flicker.test.tsx +++ b/web/__tests__/real-browser-flicker.test.tsx @@ -255,7 +255,6 @@ const TestThemeProvider = ({ children }: { children: React.ReactNode }) => ( defaultTheme="system" enableSystem disableTransitionOnChange - enableColorScheme={false} > {children} diff --git a/web/app/layout.tsx b/web/app/layout.tsx index 9fb2b8dae2..1ec9217296 100644 --- a/web/app/layout.tsx +++ b/web/app/layout.tsx @@ -64,7 +64,6 @@ const LocaleLayout = async ({ defaultTheme="system" enableSystem disableTransitionOnChange - enableColorScheme={false} > diff --git a/web/app/styles/tailwind-core.css b/web/app/styles/tailwind-core.css index 8e9cef084c..2ee61bfa41 100644 --- a/web/app/styles/tailwind-core.css +++ b/web/app/styles/tailwind-core.css @@ -113,14 +113,6 @@ /* ---------- App-level component CSS ----------------------------------- */ @layer components { - html { - color-scheme: light; - } - - html[data-theme='dark'] { - color-scheme: dark; - } - [class*='code-'] { @apply font-mono; }