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

_css_variables.scss « base « styles - github.com/huyb1991/hugo-lamp.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: b98f099da97032fa47246fcd5bb26d3d0c5d7267 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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;
  }
}