Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/huyb1991/hugo-lamp.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--styles/base/_css_variables.scss14
1 files changed, 14 insertions, 0 deletions
diff --git a/styles/base/_css_variables.scss b/styles/base/_css_variables.scss
index 3efbe20..b98f099 100644
--- a/styles/base/_css_variables.scss
+++ b/styles/base/_css_variables.scss
@@ -1,7 +1,21 @@
:root {
--main-bg-color: $main-background;
+
+ .sunny {
+ display: none;
+ }
+ .moon {
+ display: block;
+ }
}
.dark-mode:root {
--main-bg-color: black;
+
+ .sunny {
+ display: block;
+ }
+ .moon {
+ display: none;
+ }
}