Skip to content
This repository was archived by the owner on Apr 26, 2024. It is now read-only.

Commit 18f0594

Browse files
committed
better light colors
1 parent 2dc6308 commit 18f0594

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

pywal/backends/colorz.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ def gen_colors(img):
2626
def adjust(cols, light):
2727
"""Create palette."""
2828
raw_colors = [cols[0], *cols, "#FFFFFF",
29-
"#333333", *cols, "#FFFFFF"]
29+
"#000000", *cols, "#FFFFFF"]
3030

3131
return colors.generic_adjust(raw_colors, light)
3232

pywal/colors.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -56,10 +56,10 @@ def generic_adjust(colors, light):
5656
"""Generic color adjustment for themers."""
5757
if light:
5858
for color in colors:
59-
color = util.saturate_color(color, 0.50)
60-
color = util.darken_color(color, 0.4)
59+
color = util.saturate_color(color, 0.60)
60+
color = util.darken_color(color, 0.5)
6161

62-
colors[0] = util.lighten_color(colors[0], 0.9)
62+
colors[0] = util.lighten_color(colors[0], 0.95)
6363
colors[7] = util.darken_color(colors[0], 0.75)
6464
colors[8] = util.darken_color(colors[0], 0.25)
6565
colors[15] = colors[7]

0 commit comments

Comments
 (0)