fix: background doesn't default to black

version/enerpe
Tomáš Mládek 2022-12-07 15:17:04 +01:00
parent 1a93571eb4
commit 0f0afeae8d
1 changed files with 1 additions and 1 deletions

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,