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