Skip to content

Commit f309097

Browse files
authored
Add automatic light/dark option for the colorblind theme (#31997)
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.
1 parent e8b801f commit f309097

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
@import "./theme-gitea-light-protanopia-deuteranopia.css" (prefers-color-scheme: light);
2+
@import "./theme-gitea-dark-protanopia-deuteranopia.css" (prefers-color-scheme: dark);

0 commit comments

Comments
 (0)