From 050c1da9508a8ab3989de141b828417d2912d759 Mon Sep 17 00:00:00 2001 From: julius Date: Sun, 27 Oct 2024 20:46:39 +0100 Subject: [PATCH] fix: background colour --- speckles.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/speckles.py b/speckles.py index 67dea07..9b4042c 100644 --- a/speckles.py +++ b/speckles.py @@ -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]