chore: Fix png export background

This commit is contained in:
Sidharth Vinod
2025-03-17 09:39:51 -07:00
parent cb267911f5
commit 9ddc37add5
+1 -1
View File
@@ -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();