summaryrefslogtreecommitdiffstats
path: root/modules/setting
diff options
context:
space:
mode:
authorAntoine GIRARD <sapk@users.noreply.github.com>2018-10-24 16:38:04 +0200
committerJonas Franz <info@jonasfranz.software>2018-10-24 16:38:04 +0200
commitffd5fb813914130d55e52b1a8cbeae5f62cbe782 (patch)
tree9f88379714e1e2a20d4b4a9cb82ea0fe8fba379c /modules/setting
parent7e5eec430d87b9c97c32531ec15c355b54bbc26d (diff)
downloadgitea-ffd5fb813914130d55e52b1a8cbeae5f62cbe782.tar.gz
gitea-ffd5fb813914130d55e52b1a8cbeae5f62cbe782.zip
Set heatmap color range configurable (#5165)
Diffstat (limited to 'modules/setting')
-rw-r--r--modules/setting/setting.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/setting/setting.go b/modules/setting/setting.go
index 0523c30898..0eaf58988f 100644
--- a/modules/setting/setting.go
+++ b/modules/setting/setting.go
@@ -300,6 +300,7 @@ var (
MaxDisplayFileSize int64
ShowUserEmail bool
DefaultTheme string
+ HeatmapColorRange string
Admin struct {
UserPagingNum int
@@ -326,6 +327,7 @@ var (
ThemeColorMetaTag: `#6cc644`,
MaxDisplayFileSize: 8388608,
DefaultTheme: `gitea`,
+ HeatmapColorRange: `['#f4f4f4', '#459928']`,
Admin: struct {
UserPagingNum int
RepoPagingNum int