Deploying to gh-pages from @ e8de82fa5c
🚀
This commit is contained in:
parent
7ec9439197
commit
db2c46993e
7 changed files with 1036 additions and 251 deletions
|
@ -127,7 +127,7 @@ a {
|
|||
}
|
||||
}
|
||||
|
||||
@media (prefers-color-scheme: dark) {
|
||||
@mixin darkmode() {
|
||||
body {
|
||||
background-color: hsl(0, 0%, 24%);
|
||||
}
|
||||
|
@ -151,3 +151,14 @@ a {
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Force dark mode
|
||||
[data-darkmode="dark"] {
|
||||
@include darkmode();
|
||||
}
|
||||
|
||||
@media (prefers-color-scheme: dark) {
|
||||
[data-darkmode="auto"] {
|
||||
@include darkmode();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue