diff options
author | silverwind <me@silverwind.io> | 2023-05-29 00:33:17 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-28 22:33:17 +0000 |
commit | c7612d178c5b954d4846cd27a65a7fa15fd1ba65 (patch) | |
tree | 4c1997114321fe6ebd3a87070cd918eb6a00e591 /docs/content | |
parent | faf8557b4c537f7348413934c36fe4bbaa99809b (diff) | |
download | gitea-c7612d178c5b954d4846cd27a65a7fa15fd1ba65.tar.gz gitea-c7612d178c5b954d4846cd27a65a7fa15fd1ba65.zip |
Remove meta tags `theme-color` and `default-theme` (#24960)
As discussed in
https://github.com/go-gitea/gitea/pull/24953#issuecomment-1565630156.
## :warning: BREAKING :warning:
1. The `ui.THEME_COLOR_META_TAG` setting has been removed. If you still
need to set the `theme-color` meta tag, add it via
`$GITEA_CUSTOM/templates/custom/header.tmpl` instead.
2. The non-standard `default-theme` meta-tag added in
https://github.com/go-gitea/gitea/pull/13809 has been removed. Third
party code that needs to obtain the currently loaded theme should use
the `theme-<name>` class on the `<html>` node instead, which reflect the
currently active theme.
Diffstat (limited to 'docs/content')
-rw-r--r-- | docs/content/doc/administration/config-cheat-sheet.en-us.md | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/docs/content/doc/administration/config-cheat-sheet.en-us.md b/docs/content/doc/administration/config-cheat-sheet.en-us.md index 10e6b927f4..4f58dc1773 100644 --- a/docs/content/doc/administration/config-cheat-sheet.en-us.md +++ b/docs/content/doc/administration/config-cheat-sheet.en-us.md @@ -221,7 +221,6 @@ The following configuration set `Content-Type: application/vnd.android.package-a - `SHOW_USER_EMAIL`: **true**: Whether the email of the user should be shown in the Explore Users page. - `THEMES`: **auto,gitea,arc-green**: All available themes. Allow users select personalized themes. regardless of the value of `DEFAULT_THEME`. -- `THEME_COLOR_META_TAG`: **\<empty\>**: Value of `theme-color` meta tag, used by some mobile browsers for chrome and out-of-viewport areas. Default is unset which uses body color. - `MAX_DISPLAY_FILE_SIZE`: **8388608**: Max size of files to be displayed (default is 8MiB) - `REACTIONS`: All available reactions users can choose on issues/prs and comments Values can be emoji alias (:smile:) or a unicode emoji. |