add darkmode

This commit is contained in:
Ben Charlton 2024-07-05 21:32:23 +01:00
parent 1f1b97a4eb
commit 37d8e1c19a
7 changed files with 538 additions and 671 deletions

View 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;
}
}