mirror of
https://github.com/dylanaraps/pywal.git
synced 2025-02-18 19:21:00 +01:00
colors: Add light theme support.
This commit is contained in:
parent
a3bedee34a
commit
602431eb07
@ -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.90)
|
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