summaryrefslogtreecommitdiffstats
path: root/options
diff options
context:
space:
mode:
authorwxiaoguang <wxiaoguang@gmail.com>2024-04-24 00:18:41 +0800
committerGitHub <noreply@github.com>2024-04-24 00:18:41 +0800
commitb79e3db264e5734d8cc038be898d45186b3afcbd (patch)
tree792a169c1504bcda5d967ffc029b8cbd2f619e93 /options
parentdd2aaadce3ecd3134a1ba0c82c5aaa05d6c11b2b (diff)
downloadgitea-b79e3db264e5734d8cc038be898d45186b3afcbd.tar.gz
gitea-b79e3db264e5734d8cc038be898d45186b3afcbd.zip
Initial support for colorblindness-friendly themes (#30625)
Initial support for #25680 This PR only adds some simple styles from GitHub, it is big enough and it focuses on adding the necessary framework-level supports. More styles could be fine-tuned later.
Diffstat (limited to 'options')
-rw-r--r--options/locale/locale_en-US.ini2
1 files changed, 2 insertions, 0 deletions
diff --git a/options/locale/locale_en-US.ini b/options/locale/locale_en-US.ini
index c7d99a85b1..4f17b1a6db 100644
--- a/options/locale/locale_en-US.ini
+++ b/options/locale/locale_en-US.ini
@@ -763,6 +763,8 @@ manage_themes = Select default theme
manage_openid = Manage OpenID Addresses
email_desc = Your primary email address will be used for notifications, password recovery and, provided that it is not hidden, web-based Git operations.
theme_desc = This will be your default theme across the site.
+theme_colorblindness_help = Colorblindness Theme Support
+theme_colorblindness_prompt = Gitea just gets some themes with basic colorblindness support, which only have a few colors defined. The work is still in progress. More improvements could be done by defining more colors in the theme CSS files.
primary = Primary
activated = Activated
requires_activation = Requires activation