diff --git a/frontend/src/app/globals.css b/frontend/src/app/globals.css index c4aaabc..9605434 100644 --- a/frontend/src/app/globals.css +++ b/frontend/src/app/globals.css @@ -1,8 +1,12 @@ @import "tailwindcss"; +/* Force light mode: dark: classes only activate with .dark ancestor */ +@custom-variant dark (&:is(.dark *)); + :root { --background: #FFFAF5; --foreground: #171717; + --surface: #FFFFFF; --brand-50: #FFF8F0; --brand-100: #FFEDD5; --brand-200: #FFD6A5; @@ -14,12 +18,13 @@ --brand-800: #9A4500; --brand-900: #6B3000; --brand-950: #3D1A00; - color-scheme: light dark; + color-scheme: light; } @theme inline { --color-background: var(--background); --color-foreground: var(--foreground); + --color-surface: var(--surface); --color-brand-50: var(--brand-50); --color-brand-100: var(--brand-100); --color-brand-200: var(--brand-200); @@ -34,12 +39,14 @@ --font-sans: var(--font-pretendard), var(--font-geist), system-ui, sans-serif; } -@media (prefers-color-scheme: dark) { - :root { - --background: #0a0a0a; - --foreground: #ededed; - } +/* Dark mode CSS vars (disabled — activate by adding .dark class to ) */ +/* +.dark { + --background: #12100E; + --foreground: #ededed; + --surface: #1C1916; } +*/ body { background: var(--background); diff --git a/frontend/src/app/layout.tsx b/frontend/src/app/layout.tsx index 0476482..9a39e02 100644 --- a/frontend/src/app/layout.tsx +++ b/frontend/src/app/layout.tsx @@ -28,7 +28,7 @@ export default function RootLayout({ children: React.ReactNode; }>) { return ( - +
{ch.channel_name}
- {ch.description &&{ch.description}
} + {ch.description &&{ch.description}
}