From 5208a96a3768e92d203e3d2c6fd3a79e21be64be Mon Sep 17 00:00:00 2001
From: Jon Erling Hustadnes <jonerling.hustadnes@proton.me>
Date: Mon, 05 Jan 2026 11:34:45 +0000
Subject: [PATCH] fix(build.ts/startWatching): add option `awaitWriteFinish` with 250ms threshold (#2235)

---
 quartz/components/styles/darkmode.scss |   37 ++++++++++++++++++-------------------
 1 files changed, 18 insertions(+), 19 deletions(-)

diff --git a/quartz/components/styles/darkmode.scss b/quartz/components/styles/darkmode.scss
index 348c6f7..e0999c7 100644
--- a/quartz/components/styles/darkmode.scss
+++ b/quartz/components/styles/darkmode.scss
@@ -1,17 +1,16 @@
 .darkmode {
+  cursor: pointer;
+  padding: 0;
   position: relative;
+  background: none;
+  border: none;
   width: 20px;
-  height: 20px;
-  margin: 0 10px;
-
-  & > .toggle {
-    display: none;
-    box-sizing: border-box;
-  }
+  height: 32px;
+  margin: 0;
+  text-align: inherit;
+  flex-shrink: 0;
 
   & svg {
-    cursor: pointer;
-    opacity: 0;
     position: absolute;
     width: 20px;
     height: 20px;
@@ -29,20 +28,20 @@
   color-scheme: light;
 }
 
-:root[saved-theme="dark"] .toggle ~ label {
-  & > #dayIcon {
-    opacity: 0;
+:root[saved-theme="dark"] .darkmode {
+  & > .dayIcon {
+    display: none;
   }
-  & > #nightIcon {
-    opacity: 1;
+  & > .nightIcon {
+    display: inline;
   }
 }
 
-:root .toggle ~ label {
-  & > #dayIcon {
-    opacity: 1;
+:root .darkmode {
+  & > .dayIcon {
+    display: inline;
   }
-  & > #nightIcon {
-    opacity: 0;
+  & > .nightIcon {
+    display: none;
   }
 }

--
Gitblit v1.10.0