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>
tokarchuk/v1.17
silverwind 4 years ago committed by GitHub
parent dd29ecb333
commit 3cd00c33ce
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 8
      web_src/js/components/ActivityHeatmap.vue

@ -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: [],

Loading…
Cancel
Save