Skip to content

Commit

Permalink
fix(whatislove-dev): add color scheme light to css wd-649
Browse files Browse the repository at this point in the history
  • Loading branch information
what1s1ove committed Jun 18, 2024
1 parent 0e39828 commit 1db366c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions apps/whatislove-dev/src/styles/globals/variables.css
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,10 @@
color-scheme: dark;
}

&:has(.settings--theme .settings__theme-control[value="light"]:checked) {
color-scheme: light;
}

@media (prefers-color-scheme: dark) {
&:has(.settings--theme .settings__theme-control[value="auto"]:checked) {
color-scheme: dark;
Expand Down

0 comments on commit 1db366c

Please sign in to comment.