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.
This commit is contained in:
parent
e8b801ff02
commit
f3090977c6
1 changed files with 2 additions and 0 deletions
|
@ -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);
|
Loading…
Add table
Add a link
Reference in a new issue