mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-12-24 01:22:21 +00:00
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:
parent
13b8c0b7ae
commit
da4f2c5979
|
@ -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(),
|
||||||
|
|
Loading…
Reference in a new issue