diff options
author | silverwind <me@silverwind.io> | 2020-11-10 20:51:58 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-10 14:51:58 -0500 |
commit | da4f2c5979d0254d54614b6b56fdb33ed052ee2f (patch) | |
tree | 46eac7654ee786a3b01ca4eaaefa32dffb9b48a7 /web_src/js/components | |
parent | 13b8c0b7aeac365f0f161467f65c3b9b4e46896a (diff) | |
download | gitea-da4f2c5979d0254d54614b6b56fdb33ed052ee2f.tar.gz gitea-da4f2c5979d0254d54614b6b56fdb33ed052ee2f.zip |
Make heatmap shades linear (#13500)
Previously, shades were 50%, 60%, 70%, 80%, 100%. Make them linearily
increasing instead at 60%, 70%, 80%, 90%, 100%.
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
Diffstat (limited to 'web_src/js/components')
-rw-r--r-- | web_src/js/components/ActivityHeatmap.vue | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/web_src/js/components/ActivityHeatmap.vue b/web_src/js/components/ActivityHeatmap.vue index 66ad435284..a9a6889514 100644 --- a/web_src/js/components/ActivityHeatmap.vue +++ b/web_src/js/components/ActivityHeatmap.vue @@ -28,10 +28,10 @@ export default { isLoading: true, colorRange: [ 'var(--color-secondary-alpha-70)', - 'var(--color-primary-alpha-50)', 'var(--color-primary-alpha-60)', 'var(--color-primary-alpha-70)', 'var(--color-primary-alpha-80)', + 'var(--color-primary-alpha-90)', 'var(--color-primary)', ], endDate: new Date(), |