summaryrefslogtreecommitdiff
path: root/src/lib/styles/global.pruned.css
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/styles/global.pruned.css')
-rw-r--r--src/lib/styles/global.pruned.css12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/lib/styles/global.pruned.css b/src/lib/styles/global.pruned.css
index 9872f39..4c6c3a3 100644
--- a/src/lib/styles/global.pruned.css
+++ b/src/lib/styles/global.pruned.css
@@ -132,6 +132,18 @@ article {
justify-content: center;
}
+.theme-icon-sun {
+ display: none;
+}
+
+[data-theme="dark"] .theme-icon-moon {
+ display: none;
+}
+
+[data-theme="dark"] .theme-icon-sun {
+ display: block;
+}
+
.theme-toggle:hover {
color: var(--link-hover);
}