Make heatmap colors more distinct (#13533)

* Make heatmap colors more distinct

Fixes: https://github.com/go-gitea/gitea/issues/13529

* use opaque colors

* make first color less opaque

Co-authored-by: techknowlogick <techknowlogick@gitea.io>
release/v1.15
silverwind 2020-11-13 20:49:46 +01:00 committed by GitHub
parent dd29ecb333
commit 3cd00c33ce
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 4 deletions

View File

@ -28,11 +28,11 @@ export default {
isLoading: true, isLoading: true,
colorRange: [ colorRange: [
'var(--color-secondary-alpha-70)', 'var(--color-secondary-alpha-70)',
'var(--color-primary-alpha-60)', 'var(--color-primary-light-4)',
'var(--color-primary-alpha-70)', 'var(--color-primary-light-2)',
'var(--color-primary-alpha-80)',
'var(--color-primary-alpha-90)',
'var(--color-primary)', 'var(--color-primary)',
'var(--color-primary-dark-2)',
'var(--color-primary-dark-4)',
], ],
endDate: new Date(), endDate: new Date(),
values: [], values: [],