add darkmode
This commit is contained in:
parent
1f1b97a4eb
commit
37d8e1c19a
7 changed files with 538 additions and 671 deletions
12
static/css/pagefind-dark.css
Normal file
12
static/css/pagefind-dark.css
Normal file
|
@ -0,0 +1,12 @@
|
|||
@media (prefers-color-scheme: dark) {
|
||||
:root {
|
||||
--pagefind-ui-primary: #aaa;
|
||||
--pagefind-ui-text: #aaa;
|
||||
--pagefind-ui-background: #393939;
|
||||
--pagefind-ui-border: #393939;
|
||||
--pagefind-ui-tag: #393939;
|
||||
}
|
||||
.pagefind-ui mark {
|
||||
background-color: #336699;
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue