mirror of
https://github.com/danth/stylix
synced 2024-11-22 12:13:08 +00:00
Reduce brightness of light scheme
This commit is contained in:
parent
d8a81715d6
commit
5f953fa783
1 changed files with 1 additions and 1 deletions
|
@ -16,7 +16,7 @@ dominant_color = colors.pop(0)
|
|||
# on the lightness of the dominant color
|
||||
if dominant_color.hsl.l >= 128:
|
||||
def scale(i):
|
||||
scale = 0.8 - (0.1 * i)
|
||||
scale = 0.7 - (0.1 * i)
|
||||
return scale * 255
|
||||
|
||||
def clamp(l):
|
||||
|
|
Loading…
Reference in a new issue