From 70f82b8fa280cc06df0e2d95b766aa8b535949f1 Mon Sep 17 00:00:00 2001 From: Kenneth Date: Sat, 10 May 2025 20:58:16 +0100 Subject: [PATCH] fix dark mode button --- web/style.css | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/web/style.css b/web/style.css index 45511ce..feea5e2 100644 --- a/web/style.css +++ b/web/style.css @@ -9,8 +9,8 @@ :root { --background-color: #030712; --text-color: #f3f4f6; - --button-color: #f3f4f6; - --button-text-color: #030712; + --button-color: #1f2937; + --button-text-color: #f3f4f6; } } @@ -88,6 +88,11 @@ button { font-weight: 500; box-shadow: rgba(0, 0, 0, 0.05) 0px 0px 0px 1px; } +@media (prefers-color-scheme: dark) { + button { + border: 0; + } +} footer { padding-top: 2rem;