Compare commits

...

2 Commits

Author SHA1 Message Date
651473975f
new scheme 2024-10-27 20:46:54 +01:00
050c1da950
fix: background colour 2024-10-27 20:46:39 +01:00
2 changed files with 2 additions and 1 deletions

View File

@ -26,6 +26,7 @@ palettes = [
{"colours": ["#00ffca", "#05bfdb", "#088395", "#0a4d68"], "votes": 100000},
{"colours": ["#7c9070", "#9ca777", "#fee8b0", "#f97b22"], "votes": 100000},
{"colours": ["#002a19", "#000000", "#ffffff", "#e0512f"], "votes": 100000},
{"colours": ["#212248", "#EBAE36", "#C7C9F0", "#11088A"], "votes": 100000},
]
with open("popular.json", "r") as f:
palettes += json.load(f)

View File

@ -244,7 +244,7 @@ def make_wallpaper(
if perlin:
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(
text="\n".join(
[f".c{colour[1:]} {{ fill: {colour}; }}" for colour in speckle_colours]