Reduce brightness of light scheme

This commit is contained in:
Daniel Thwaites 2021-07-06 18:57:57 +01:00
parent d8a81715d6
commit 5f953fa783
No known key found for this signature in database
GPG key ID: D8AFC4BF05670F9D

View file

@ -16,7 +16,7 @@ dominant_color = colors.pop(0)
# on the lightness of the dominant color # on the lightness of the dominant color
if dominant_color.hsl.l >= 128: if dominant_color.hsl.l >= 128:
def scale(i): def scale(i):
scale = 0.8 - (0.1 * i) scale = 0.7 - (0.1 * i)
return scale * 255 return scale * 255
def clamp(l): def clamp(l):