diff --git a/src/app/globals.css b/src/app/globals.css index 0613ae6..2373478 100644 --- a/src/app/globals.css +++ b/src/app/globals.css @@ -5,16 +5,9 @@ --foreground: #171717; } -@theme inline { - --color-background: var(--background); - --color-foreground: var(--foreground); -} - -@media (prefers-color-scheme: dark) { - :root { - --background: #0a0a0a; - --foreground: #ededed; - } +.dark { + --background: #0a0a0a; + --foreground: #ededed; } body { diff --git a/src/app/layout.tsx b/src/app/layout.tsx index aa1e268..76c9fe9 100644 --- a/src/app/layout.tsx +++ b/src/app/layout.tsx @@ -13,7 +13,30 @@ export default function RootLayout({ children: React.ReactNode; }>) { return ( - + + +