From d88977595111434902fcb35ba2bce6fb4c80b38d Mon Sep 17 00:00:00 2001 From: Ben Schlegel <31989404+benschlegel@users.noreply.github.com> Date: Sun, 17 Sep 2023 19:29:20 +0200 Subject: [PATCH] fix: darkmode scroll bars (#480) --- quartz/components/styles/darkmode.scss | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/quartz/components/styles/darkmode.scss b/quartz/components/styles/darkmode.scss index 10cbc72a..348c6f79 100644 --- a/quartz/components/styles/darkmode.scss +++ b/quartz/components/styles/darkmode.scss @@ -21,6 +21,14 @@ } } +:root[saved-theme="dark"] { + color-scheme: dark; +} + +:root[saved-theme="light"] { + color-scheme: light; +} + :root[saved-theme="dark"] .toggle ~ label { & > #dayIcon { opacity: 0;