From e9ecc70b83490618c1d9b1db28ee67996ffec67f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?kleines=20Filmr=C3=B6llchen?= Date: Tue, 7 Jan 2025 20:19:39 +0100 Subject: [PATCH] adjust colors a little + conversion to oklch --- static/main.css | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/static/main.css b/static/main.css index b0462d3..567c377 100644 --- a/static/main.css +++ b/static/main.css @@ -1,8 +1,8 @@ /* general page styling */ :root { - --main-bg-color: #020404; + --main-bg-color: oklch(1% 0 0); --main-bg-contrast-color: oklch(40% 0 0); - --main-text-color: #efe3e3; + --main-text-color: oklch(92% 0 none); --main-accent-color: #f9c827; --secondary-accent-color: #ff925f; @@ -14,12 +14,13 @@ scroll-behavior: smooth; } -@media(prefers-color-scheme: light) { +@media (prefers-color-scheme: light) { :root { - --main-bg-color: #fdfbfb; + --main-bg-color: oklch(99% 0 0); --main-bg-contrast-color: oklch(90% 0 0); - --main-text-color: #101c1c; - --main-accent-color: #836400; + --main-text-color: oklch(15% 0 0); + --main-accent-color: oklch(40.8% 0.074 45); + --secondary-accent-color: oklch(85.13% 0.1737 89.73); } }