aboutsummaryrefslogtreecommitdiffstats
path: root/custom/conf
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 /custom/conf
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 'custom/conf')
-rw-r--r--custom/conf/app.example.ini3
1 files changed, 2 insertions, 1 deletions
diff --git a/custom/conf/app.example.ini b/custom/conf/app.example.ini
index b4e330184e..12588c1387 100644
--- a/custom/conf/app.example.ini
+++ b/custom/conf/app.example.ini
@@ -1231,7 +1231,8 @@ LEVEL = Info
;DEFAULT_THEME = gitea-auto
;;
;; All available themes. Allow users select personalized themes regardless of the value of `DEFAULT_THEME`.
-;THEMES = gitea-auto,gitea-light,gitea-dark
+;; Leave it empty to allow users to select any theme from "{CustomPath}/public/assets/css/theme-*.css"
+;THEMES =
;;
;; All available reactions users can choose on issues/prs and comments.
;; Values can be emoji alias (:smile:) or a unicode emoji.