fix: background doesn't default to black
This commit is contained in:
parent
1a93571eb4
commit
0f0afeae8d
1 changed files with 1 additions and 1 deletions
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue