lower brightness
This commit is contained in:
parent
2e0f668300
commit
99882e78ae
3 changed files with 8 additions and 8 deletions
|
|
@ -321,8 +321,8 @@ class Week(models.Model):
|
|||
color = item.get_hue(update=True)
|
||||
if color:
|
||||
if not colors:
|
||||
colors.append(f'hsl({color}, 100%, 15%, 0.8)')
|
||||
colors.append(f'hsl({color}, 80%, 15%, 0.8)')
|
||||
else:
|
||||
colors.append(f'hsl({color}, 60%, 15%, 0.8)')
|
||||
colors.append(f'hsl({color}, 50%, 15%, 0.8)')
|
||||
return 'linear-gradient(to bottom, %s)' % ', '.join(colors)
|
||||
return ''
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue