From 951d1dec24eb8e0bea4ec548cc79c5ce718bf02f Mon Sep 17 00:00:00 2001
From: fl0werpowers <47599466+fl0werpowers@users.noreply.github.com>
Date: Wed, 28 May 2025 08:40:51 +0000
Subject: [PATCH] chore(deps): replace `chalk` and `rimraf` with builtin functions (#1879)
---
quartz/components/styles/darkmode.scss | 11 ++++++-----
1 files changed, 6 insertions(+), 5 deletions(-)
diff --git a/quartz/components/styles/darkmode.scss b/quartz/components/styles/darkmode.scss
index edf4e61..b328743 100644
--- a/quartz/components/styles/darkmode.scss
+++ b/quartz/components/styles/darkmode.scss
@@ -6,8 +6,9 @@
border: none;
width: 20px;
height: 20px;
- margin: 0 10px;
+ margin: 0;
text-align: inherit;
+ flex-shrink: 0;
& svg {
position: absolute;
@@ -28,19 +29,19 @@
}
:root[saved-theme="dark"] .darkmode {
- & > #dayIcon {
+ & > .dayIcon {
display: none;
}
- & > #nightIcon {
+ & > .nightIcon {
display: inline;
}
}
:root .darkmode {
- & > #dayIcon {
+ & > .dayIcon {
display: inline;
}
- & > #nightIcon {
+ & > .nightIcon {
display: none;
}
}
--
Gitblit v1.10.0