chore: Fix png export background
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user