mirror of
https://git.kittycat.homes/zoe/hugo-battheme.git
synced 2024-08-15 03:25:18 +00:00
dark mode switch v1
This commit is contained in:
parent
8d93639193
commit
5eb64ef1e5
3 changed files with 77 additions and 11 deletions
|
@ -1,23 +1,31 @@
|
|||
$backgroundcolor: #ffe7d6;
|
||||
$foregroundcolor: #73464c;
|
||||
$linkcolor: #ab5675;
|
||||
$active: #72dcbb;
|
||||
$light-bg: #ffe7d6;
|
||||
$light-fg: #73464c;
|
||||
$light-ln: #ab5675;
|
||||
$light-active: #72dcbb;
|
||||
|
||||
$dark-bg: black;
|
||||
$dark-fg: white;
|
||||
$dark-ln: blue;
|
||||
$dark-active: green;
|
||||
|
||||
|
||||
|
||||
body {
|
||||
background-color: $backgroundcolor;
|
||||
color: $foregroundcolor;
|
||||
&.light{
|
||||
background-color: $light-bg;
|
||||
color: $light-fg;
|
||||
}
|
||||
&.dark{
|
||||
background-color: $dark-bg;
|
||||
color: $dark-fg;
|
||||
}
|
||||
}
|
||||
|
||||
a {
|
||||
background-color: $linkcolor;
|
||||
color: $backgroundcolor;
|
||||
}
|
||||
|
||||
a.footer-nav-item.active{
|
||||
color: $linkcolor;
|
||||
}
|
||||
|
||||
footer, footer a{
|
||||
background-color: $foregroundcolor;
|
||||
color: $backgroundcolor;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue