Skip to content

Commit

Permalink
Add dark mode
Browse files Browse the repository at this point in the history
  • Loading branch information
ellatrix committed Jun 29, 2024
1 parent 9d1261e commit 92d1234
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/app.css
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,13 @@ body {
html {
/* margin-top: env(safe-area-inset-top); */
height: 100%;
background: white;
}

@media (prefers-color-scheme: dark) {
html {
filter: invert(.9) hue-rotate(180deg);
}
}

body,
Expand Down

0 comments on commit 92d1234

Please sign in to comment.