From 8ce730e74e7f3e00f3bb484b3cf365a64a84c98e Mon Sep 17 00:00:00 2001 From: Gizmo Date: Sat, 22 Jul 2023 07:32:38 +0800 Subject: [PATCH] feat: enable dark default color schemes for browsers in dark mode (#606) --- html/src/theme.dark.scss | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/html/src/theme.dark.scss b/html/src/theme.dark.scss index 14c086d9..17ae2199 100644 --- a/html/src/theme.dark.scss +++ b/html/src/theme.dark.scss @@ -18,6 +18,10 @@ border-radius: 16px; } +:root { + color-scheme: dark; +} + html, body { background-color: #101010;