add an overall background

This commit is contained in:
Jacob Kim 2025-07-04 16:34:09 -07:00
parent 54ac21c89e
commit 48c021f51b

View file

@ -234,6 +234,7 @@ export class CodeRenderer {
const svg = `<svg xmlns="http://www.w3.org/2000/svg" width="${dimensions.width}" height="${dimensions.height}" shape-rendering="crispEdges">
<g>
<rect x="0" y="0" width="${dimensions.width}" height="${dimensions.height}" fill="${this.editorBackground}" shape-rendering="crispEdges" />
${lineBackgrounds}
${guts}
</g>