From 4293cb7b6d832c6ec027f27267f48f043da640b5 Mon Sep 17 00:00:00 2001 From: Theis Pieter Hollebeek Date: Fri, 19 Jan 2024 22:58:35 +0100 Subject: [PATCH] dark theme support --- public/style.css | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/public/style.css b/public/style.css index 221d5e6..a0a3bd3 100644 --- a/public/style.css +++ b/public/style.css @@ -13,7 +13,14 @@ body { text-align: center; font-family: system-ui, sans-serif; background-color: #dff3f1; - color: black; + color: #211; +} + +@media (prefers-color-scheme: dark) { + body { + background: #211; + color: #dff3f1; + } } .mao-error {