0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2025-04-28 06:06:08 +02:00

Add automatic light/dark option for the colorblind theme ()

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:
Luca Söthe 2024-09-07 05:09:40 +02:00 committed by GitHub
parent e8b801ff02
commit f3090977c6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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);