From 41be0fc923939d4c6714b1ba7756ad7825a460b5 Mon Sep 17 00:00:00 2001 From: mkelvers Date: Fri, 5 Jun 2026 16:23:50 +0200 Subject: [PATCH] style: add color-scheme for light and dark themes --- static/assets/style.css | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/static/assets/style.css b/static/assets/style.css index 2d795e4..522a733 100644 --- a/static/assets/style.css +++ b/static/assets/style.css @@ -57,6 +57,14 @@ --radius: 0px; } +html[data-theme="light"] { + color-scheme: light; +} + +html[data-theme="dark"] { + color-scheme: dark; +} + html, body { background-color: var(--color-background);