mirror of
https://github.com/go-gitea/gitea
synced 2025-12-07 05:18:29 +00:00
Support blue yellow colorblind theme (#35910)
This icon is from GitHub: <img width="350" height="350" alt="image" src="https://github.com/user-attachments/assets/c3f31901-5359-4b7f-ae68-eddcec63df53" /> --------- Signed-off-by: 鲁汀 <131967983+lutinglt@users.noreply.github.com> Co-authored-by: lutinglt <lutinglt@users.noreply.github.com>
This commit is contained in:
8
web_src/css/themes/theme-gitea-auto-tritanopia.css
Normal file
8
web_src/css/themes/theme-gitea-auto-tritanopia.css
Normal file
@@ -0,0 +1,8 @@
|
||||
@import "./theme-gitea-light-tritanopia.css" (prefers-color-scheme: light);
|
||||
@import "./theme-gitea-dark-tritanopia.css" (prefers-color-scheme: dark);
|
||||
|
||||
gitea-theme-meta-info {
|
||||
--theme-display-name: "Auto";
|
||||
--theme-colorblind-type: "blue-yellow";
|
||||
--theme-color-scheme: "auto";
|
||||
}
|
||||
Reference in New Issue
Block a user