summaryrefslogtreecommitdiffstats
path: root/custom
diff options
context:
space:
mode:
authorsilverwind <me@silverwind.io>2023-05-29 00:33:17 +0200
committerGitHub <noreply@github.com>2023-05-28 22:33:17 +0000
commitc7612d178c5b954d4846cd27a65a7fa15fd1ba65 (patch)
tree4c1997114321fe6ebd3a87070cd918eb6a00e591 /custom
parentfaf8557b4c537f7348413934c36fe4bbaa99809b (diff)
downloadgitea-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 'custom')
-rw-r--r--custom/conf/app.example.ini4
1 files changed, 0 insertions, 4 deletions
diff --git a/custom/conf/app.example.ini b/custom/conf/app.example.ini
index 8124092c90..6b8eed1efc 100644
--- a/custom/conf/app.example.ini
+++ b/custom/conf/app.example.ini
@@ -1180,10 +1180,6 @@ LEVEL = Info
;; Number of line of codes shown for a code comment
;CODE_COMMENT_LINES = 4
;;
-;; Value of `theme-color` meta tag, used by some mobile browers for chrome and
-;; out-of-viewport areas. Default is unset which uses body color.
-;THEME_COLOR_META_TAG =
-;;
;; Max size of files to be displayed (default is 8MiB)
;MAX_DISPLAY_FILE_SIZE = 8388608
;;