From 700a7dc040fe0439555eb52ac19ffbebc436450e Mon Sep 17 00:00:00 2001 From: Vaultnord Date: Sun, 30 Aug 2026 01:52:21 +0200 Subject: [PATCH] Synk fra arbeidsrepoet --- brand-proxy/static/brand.css | 23 ++++++++++++++++++----- 1 file changed, 18 insertions(+), 5 deletions(-) diff --git a/brand-proxy/static/brand.css b/brand-proxy/static/brand.css index 63da797..61a2cbc 100644 --- a/brand-proxy/static/brand.css +++ b/brand-proxy/static/brand.css @@ -74,11 +74,24 @@ bit-landing-header a { } /* --- illustrasjoner -------------------------------------------------- */ -/* Safen på innloggingssiden er en inline SVG med klientens blåtoner. Vi kan - ikke fargelegge enkeltbaner utenfra uten å kjenne dem, men et hue-skift på - hele figuren lander den i samme familie som resten. */ -svg:has(.tw-fill-illustration-logo) { - filter: hue-rotate(142deg) saturate(.8); +/* Safen og bakgrunnsfigurene er inline SVG-er som henter fargene sine fra + variabler. Å legge et hue-filter på dem gjetter feil figur og gir rare + resultater - variablene treffer presist. */ +.theme_light { + --color-illustration-bg-primary: 176 230 226; + --color-illustration-bg-secondary: 126 214 209; + --color-illustration-bg-tertiary: 240 250 249; + --color-illustration-outline: 18 102 106; + --color-illustration-logo: 23 128 125; + --color-illustration-tertiary: 235 203 139; +} +.theme_dark { + --color-illustration-bg-primary: 26 110 108; + --color-illustration-bg-secondary: 61 210 204; + --color-illustration-bg-tertiary: 243 246 249; + --color-illustration-outline: 8 47 51; + --color-illustration-logo: 255 255 255; + --color-illustration-tertiary: 235 203 139; } /* --- bunntekst med kildekodelenke ------------------------------------ */