mirror of
https://github.com/danth/stylix
synced 2024-11-26 06:00:23 +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
|
# 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):
|
||||||
|
|
Loading…
Reference in a new issue