From 9ddc37add51d74a61ae7912668dc7d627d8a213c Mon Sep 17 00:00:00 2001 From: Sidharth Vinod Date: Mon, 17 Mar 2025 09:39:51 -0700 Subject: [PATCH] chore: Fix png export background --- src/lib/components/Actions.svelte | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/components/Actions.svelte b/src/lib/components/Actions.svelte index a2be5a33..352782fa 100644 --- a/src/lib/components/Actions.svelte +++ b/src/lib/components/Actions.svelte @@ -92,7 +92,7 @@ ${svgString}`); throw new Error('context not found'); } - context.fillStyle = `hsl(${window.getComputedStyle(document.body).getPropertyValue('--b1')})`; + context.fillStyle = `hsl(${window.getComputedStyle(document.body).getPropertyValue('--background')})`; context.fillRect(0, 0, canvas.width, canvas.height); const image = new Image();