Compare commits

..

No commits in common. "651473975f9ae057b265450ebdddecdb46c3815b" and "3220b6aa644f2260ebad051ec97763fbb0ed5499" have entirely different histories.

2 changed files with 1 additions and 2 deletions

View File

@ -26,7 +26,6 @@ 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)

View File

@ -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, fill=background)] elements = [svg.Rect(width=x, height=y, color=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]