From ab30ab8c6532294373cec0cbdb2c024d14fb080b Mon Sep 17 00:00:00 2001 From: vegard Date: Thu, 19 Mar 2026 02:19:12 +0000 Subject: [PATCH] =?UTF-8?q?Fiks=20m=C3=B8rkt=20tema:=20force=20bakgrunn=20?= =?UTF-8?q?p=C3=A5=20html/body/min-h-screen,=20lysere=20surface?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bakgrunnen var fortsatt hvit fordi Tailwind-klasser overstyrte body. Nå forcert med !important på html, body, .min-h-screen. Surface justert fra #141416 til #1c1c20 for bedre kontrast på kort. Co-Authored-By: Claude Opus 4.6 (1M context) --- frontend/src/app.css | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/frontend/src/app.css b/frontend/src/app.css index a2be562..c9eb89b 100644 --- a/frontend/src/app.css +++ b/frontend/src/app.css @@ -3,8 +3,8 @@ /* Synops mørkt tema — matcher landingssiden */ @theme { --color-bg: #0a0a0b; - --color-surface: #141416; - --color-surface-hover: #1a1a1e; + --color-surface: #1c1c20; + --color-surface-hover: #242428; --color-border: #2a2a2e; --color-border-hover: #3a3a3e; --color-text: #e8e8ec; @@ -18,12 +18,16 @@ --color-error: #ef4444; } -body { - background-color: var(--color-bg); - color: var(--color-text); +html, body { + background-color: var(--color-bg) !important; + color: var(--color-text) !important; font-family: 'Inter', -apple-system, system-ui, sans-serif; } +/* Alle div-er med min-h-screen bakgrunn */ +.min-h-screen { background-color: var(--color-bg) !important; } +div[style*="display: contents"] { background-color: var(--color-bg) !important; } + /* Override Tailwind defaults for dark theme */ @layer base { /* Overstyr alle bg-white til surface */