Skip to content

Commit

Permalink
Merge pull request #402 from phansch/light-dark-mode
Browse files Browse the repository at this point in the history
light dark mode
  • Loading branch information
phansch authored Jul 22, 2024
2 parents 79818f1 + e7d4f44 commit 74f9b04
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions sass/assets/default.scss
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,15 @@
--font-stack: sans-serif;
}

// Light theme overrides (dark is default)
@media(prefers-color-scheme: light) {
:root {
--color-bg: #cccccc;
--color-fg: #222222;
--color-link: #45a7d8;
}
}

/* Basic reset */
* {
box-sizing: border-box;
Expand Down

0 comments on commit 74f9b04

Please sign in to comment.