Skip to content

Commit

Permalink
Add automatic light/dark option for the colorblind theme (#31997)
Browse files Browse the repository at this point in the history
The normal themes already have a variant which automatically chooses
light/dark mode based on the browser.
This PR adds the same variant, but for the colorblind themes.
  • Loading branch information
lucasoethe authored Sep 7, 2024
1 parent e8b801f commit f309097
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
@import "./theme-gitea-light-protanopia-deuteranopia.css" (prefers-color-scheme: light);
@import "./theme-gitea-dark-protanopia-deuteranopia.css" (prefers-color-scheme: dark);

0 comments on commit f309097

Please sign in to comment.