lower brightness

This commit is contained in:
j 2025-02-20 08:31:57 -05:00
commit 99882e78ae
3 changed files with 8 additions and 8 deletions

View file

@ -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 ''