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>
This commit is contained in:
silverwind 2020-11-10 20:51:58 +01:00 committed by GitHub
parent 13b8c0b7ae
commit da4f2c5979
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -28,10 +28,10 @@ export default {
isLoading: true, isLoading: true,
colorRange: [ colorRange: [
'var(--color-secondary-alpha-70)', 'var(--color-secondary-alpha-70)',
'var(--color-primary-alpha-50)',
'var(--color-primary-alpha-60)', 'var(--color-primary-alpha-60)',
'var(--color-primary-alpha-70)', 'var(--color-primary-alpha-70)',
'var(--color-primary-alpha-80)', 'var(--color-primary-alpha-80)',
'var(--color-primary-alpha-90)',
'var(--color-primary)', 'var(--color-primary)',
], ],
endDate: new Date(), endDate: new Date(),