diff --git a/app/globals.css b/app/globals.css index 1a5b43a..d0bf08c 100644 --- a/app/globals.css +++ b/app/globals.css @@ -12,11 +12,9 @@ --font-mono: var(--font-geist-mono); } -@media (prefers-color-scheme: dark) { - :root { - --background: #2a2a2a; - --foreground: #ededed; - } +.dark { + --background: #18181b; + --foreground: #fafafa; } body { diff --git a/app/layout.tsx b/app/layout.tsx index e8ca119..cd32a9b 100644 --- a/app/layout.tsx +++ b/app/layout.tsx @@ -1,6 +1,7 @@ import type { Metadata } from "next"; import { Geist, Geist_Mono } from "next/font/google"; import "./globals.css"; +import { ThemeProvider } from "./theme-provider"; const geistSans = Geist({ variable: "--font-geist-sans", @@ -27,7 +28,7 @@ export default function RootLayout({
- {children} +