Compare commits
2 Commits
3220b6aa64
...
651473975f
Author | SHA1 | Date | |
---|---|---|---|
651473975f | |||
050c1da950 |
@ -26,6 +26,7 @@ palettes = [
|
|||||||
{"colours": ["#00ffca", "#05bfdb", "#088395", "#0a4d68"], "votes": 100000},
|
{"colours": ["#00ffca", "#05bfdb", "#088395", "#0a4d68"], "votes": 100000},
|
||||||
{"colours": ["#7c9070", "#9ca777", "#fee8b0", "#f97b22"], "votes": 100000},
|
{"colours": ["#7c9070", "#9ca777", "#fee8b0", "#f97b22"], "votes": 100000},
|
||||||
{"colours": ["#002a19", "#000000", "#ffffff", "#e0512f"], "votes": 100000},
|
{"colours": ["#002a19", "#000000", "#ffffff", "#e0512f"], "votes": 100000},
|
||||||
|
{"colours": ["#212248", "#EBAE36", "#C7C9F0", "#11088A"], "votes": 100000},
|
||||||
]
|
]
|
||||||
with open("popular.json", "r") as f:
|
with open("popular.json", "r") as f:
|
||||||
palettes += json.load(f)
|
palettes += json.load(f)
|
||||||
|
@ -244,7 +244,7 @@ def make_wallpaper(
|
|||||||
if perlin:
|
if perlin:
|
||||||
gen = CoordsGenerator(x, y)
|
gen = CoordsGenerator(x, y)
|
||||||
|
|
||||||
elements = [svg.Rect(width=x, height=y, color=background)]
|
elements = [svg.Rect(width=x, height=y, fill=background)]
|
||||||
style = svg.Style(
|
style = svg.Style(
|
||||||
text="\n".join(
|
text="\n".join(
|
||||||
[f".c{colour[1:]} {{ fill: {colour}; }}" for colour in speckle_colours]
|
[f".c{colour[1:]} {{ fill: {colour}; }}" for colour in speckle_colours]
|
||||||
|
Loading…
Reference in New Issue
Block a user