mirror of
https://github.com/dylanaraps/pywal.git
synced 2025-02-27 07:31:13 +01:00
colors: Add light theme support.
This commit is contained in:
parent
0c9148aa96
commit
c4b5a667c9
@ -64,7 +64,7 @@ def create_palette(img, colors, light):
|
|||||||
if light:
|
if light:
|
||||||
# Manually adjust colors.
|
# Manually adjust colors.
|
||||||
raw_colors[7] = raw_colors[0]
|
raw_colors[7] = raw_colors[0]
|
||||||
raw_colors[0] = util.lighten_color(raw_colors[15], 0.9)
|
raw_colors[0] = util.lighten_color(raw_colors[15], 0.85)
|
||||||
raw_colors[15] = raw_colors[7]
|
raw_colors[15] = raw_colors[7]
|
||||||
raw_colors[8] = util.lighten_color(raw_colors[7], 0.25)
|
raw_colors[8] = util.lighten_color(raw_colors[7], 0.25)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user