forked from deepStateMirrors/tabi
💄 style: default light mode
This commit is contained in:
parent
2cfb57e758
commit
722d493a9a
6 changed files with 49 additions and 42 deletions
|
@ -40,10 +40,18 @@ footer {
|
|||
width: 32px;
|
||||
height: 32px;
|
||||
padding: 18px;
|
||||
filter: invert(0);
|
||||
}
|
||||
|
||||
.social {
|
||||
&:hover {
|
||||
&>img {
|
||||
filter: invert(1);
|
||||
}
|
||||
|
||||
[data-theme="light"] {
|
||||
}
|
||||
}
|
||||
|
||||
[data-theme="dark"] {
|
||||
.social {
|
||||
&:hover {
|
||||
&>img {
|
||||
|
@ -52,7 +60,7 @@ footer {
|
|||
}
|
||||
|
||||
&>img {
|
||||
filter: none;
|
||||
filter: invert(1);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -23,20 +23,20 @@
|
|||
border: none;
|
||||
}
|
||||
.sun {
|
||||
opacity: 1;
|
||||
opacity: 0;
|
||||
}
|
||||
.moon {
|
||||
opacity: 0;
|
||||
opacity: 1;
|
||||
}
|
||||
}
|
||||
input {
|
||||
display: none;
|
||||
&:checked + .switch {
|
||||
.sun {
|
||||
opacity: 0;
|
||||
opacity: 1;
|
||||
}
|
||||
.moon {
|
||||
opacity: 1;
|
||||
opacity: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue