diff options
author | wxiaoguang <wxiaoguang@gmail.com> | 2024-04-24 00:18:41 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-24 00:18:41 +0800 |
commit | b79e3db264e5734d8cc038be898d45186b3afcbd (patch) | |
tree | 792a169c1504bcda5d967ffc029b8cbd2f619e93 /docs/content/administration/config-cheat-sheet.en-us.md | |
parent | dd2aaadce3ecd3134a1ba0c82c5aaa05d6c11b2b (diff) | |
download | gitea-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 'docs/content/administration/config-cheat-sheet.en-us.md')
-rw-r--r-- | docs/content/administration/config-cheat-sheet.en-us.md | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/docs/content/administration/config-cheat-sheet.en-us.md b/docs/content/administration/config-cheat-sheet.en-us.md index 9328177f50..b295ddf53a 100644 --- a/docs/content/administration/config-cheat-sheet.en-us.md +++ b/docs/content/administration/config-cheat-sheet.en-us.md @@ -214,10 +214,9 @@ The following configuration set `Content-Type: application/vnd.android.package-a - `SITEMAP_PAGING_NUM`: **20**: Number of items that are displayed in a single subsitemap. - `GRAPH_MAX_COMMIT_NUM`: **100**: Number of maximum commits shown in the commit graph. - `CODE_COMMENT_LINES`: **4**: Number of line of codes shown for a code comment. -- `DEFAULT_THEME`: **gitea-auto**: \[gitea-auto, gitea-light, gitea-dark\]: Set the default theme for the Gitea installation. +- `DEFAULT_THEME`: **gitea-auto**: Set the default theme for the Gitea installation, custom themes could be provided by "{CustomPath}/public/assets/css/theme-*.css". - `SHOW_USER_EMAIL`: **true**: Whether the email of the user should be shown in the Explore Users page. -- `THEMES`: **gitea-auto,gitea-light,gitea-dark**: All available themes. Allow users select personalized themes. - regardless of the value of `DEFAULT_THEME`. +- `THEMES`: **_empty_**: All available themes by "{CustomPath}/public/assets/css/theme-*.css". Allow users select personalized themes. - `MAX_DISPLAY_FILE_SIZE`: **8388608**: Max size of files to be displayed (default is 8MiB) - `AMBIGUOUS_UNICODE_DETECTION`: **true**: Detect ambiguous unicode characters in file contents and show warnings on the UI - `REACTIONS`: All available reactions users can choose on issues/prs and comments |