aboutsummaryrefslogtreecommitdiffstats
path: root/custom/conf
diff options
context:
space:
mode:
authorsilverwind <me@silverwind.io>2023-04-26 06:56:42 +0200
committerGitHub <noreply@github.com>2023-04-26 00:56:42 -0400
commit517f9f5aa4b02e3f4e41654352014bb604ce76e2 (patch)
tree63b7077819f45dea13609854c308ad6d4529b4db /custom/conf
parent75e35fb03a86e66fbddda30ef2b4d2df892d2b11 (diff)
downloadgitea-517f9f5aa4b02e3f4e41654352014bb604ce76e2.tar.gz
gitea-517f9f5aa4b02e3f4e41654352014bb604ce76e2.zip
Don't set meta `theme-color` by default (#24340)
Fixes https://github.com/go-gitea/gitea/issues/24321. By not setting this meta tag, Safari will use body color for chrome and out-of-viewport areas, which looks much better then static mismatching green. As per [MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta/name/theme-color) it's really only Apple browsers who still support this tag, most others have dropped support.
Diffstat (limited to 'custom/conf')
-rw-r--r--custom/conf/app.example.ini7
1 files changed, 3 insertions, 4 deletions
diff --git a/custom/conf/app.example.ini b/custom/conf/app.example.ini
index 29ebb4699b..144691c00c 100644
--- a/custom/conf/app.example.ini
+++ b/custom/conf/app.example.ini
@@ -1203,10 +1203,9 @@ ROUTER = console
;; Number of line of codes shown for a code comment
;CODE_COMMENT_LINES = 4
;;
-;; Value of `theme-color` meta tag, used by Android >= 5.0
-;; An invalid color like "none" or "disable" will have the default style
-;; More info: https://developers.google.com/web/updates/2014/11/Support-for-theme-color-in-Chrome-39-for-Android
-;THEME_COLOR_META_TAG = `#6cc644`
+;; 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