Skip to content

Commit

Permalink
Dark mode for light themed browsers
Browse files Browse the repository at this point in the history
  • Loading branch information
Bashamega authored Jun 30, 2024
1 parent 897205b commit 24837ca
Showing 1 changed file with 3 additions and 11 deletions.
14 changes: 3 additions & 11 deletions src/app/globals.css
Original file line number Diff line number Diff line change
Expand Up @@ -24,17 +24,9 @@
}

:root {
--foreground-rgb: 0, 0, 0;
--background-start-rgb: 214, 219, 220;
--background-end-rgb: 255, 255, 255;
}

@media (prefers-color-scheme: dark) {
:root {
--foreground-rgb: 255, 255, 255;
--background-start-rgb: 0, 0, 0;
--background-end-rgb: 0, 0, 0;
}
--foreground-rgb: 255, 255, 255;
--background-start-rgb: 0, 0, 0;
--background-end-rgb: 0, 0, 0;
}

body {
Expand Down

0 comments on commit 24837ca

Please sign in to comment.