From a3a807f22cd599d399b8e4ebe0391adc67a08854 Mon Sep 17 00:00:00 2001 From: Johannes Zellner Date: Fri, 18 Oct 2024 18:33:38 +0200 Subject: [PATCH] Ensure we stick to dark background in dark mode --- dashboard/src/style.css | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/dashboard/src/style.css b/dashboard/src/style.css index 99ff59027..9fb0ceb76 100644 --- a/dashboard/src/style.css +++ b/dashboard/src/style.css @@ -9,6 +9,12 @@ html, body { color: var(--pankow-text-color); } +@media (prefers-color-scheme: dark) { + body { + background-color: black; + } +} + .shadow { box-shadow: 0 2px 5px rgba(0,0,0,.1); }