From a5f2f874f75dd53c83b2db883e6871cb84eccf09 Mon Sep 17 00:00:00 2001
From: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Date: Thu, 15 Aug 2024 09:07:05 +0000
Subject: [PATCH] chore(deps-dev): bump tsx from 4.16.2 to 4.17.0 (#1340)
---
quartz/components/styles/darkmode.scss | 9 +++++++++
1 files changed, 9 insertions(+), 0 deletions(-)
diff --git a/quartz/components/styles/darkmode.scss b/quartz/components/styles/darkmode.scss
index 730fcd2..348c6f7 100644
--- a/quartz/components/styles/darkmode.scss
+++ b/quartz/components/styles/darkmode.scss
@@ -2,6 +2,7 @@
position: relative;
width: 20px;
height: 20px;
+ margin: 0 10px;
& > .toggle {
display: none;
@@ -20,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;
--
Gitblit v1.10.0