fix: background doesn't default to black

This commit is contained in:
Tomáš Mládek 2022-12-07 15:17:04 +01:00
parent 1a93571eb4
commit 0f0afeae8d

View file

@ -2,6 +2,7 @@
import SvgContent from "./components/SVGContent.svelte";
function setBackground(ev: CustomEvent<string>) {
console.debug(`Setting background color to "${ev.detail}"`)
document.body.style.background = ev.detail;
}
</script>
@ -15,7 +16,6 @@
html,
body {
overflow: hidden;
background: black;
}
html,