summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElizabeth (Lizzy) Hunt <elizabeth.hunt@simponic.xyz>2023-04-30 14:37:06 -0600
committerGitHub <noreply@github.com>2023-04-30 14:37:06 -0600
commitb4b95a18f0e9c0dc71d99da633fa32977aed80ce (patch)
tree0c3a81b2a0676d3b398e7eaa1cdc6fc432f2ae73
parent21ea36e370131263f8d9b74d79d54db3a8807b06 (diff)
downloadsimponic.xyz-b4b95a18f0e9c0dc71d99da633fa32977aed80ce.tar.gz
simponic.xyz-b4b95a18f0e9c0dc71d99da633fa32977aed80ce.zip
Update script.js
-rw-r--r--dvd-logo/js/script.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/dvd-logo/js/script.js b/dvd-logo/js/script.js
index df85b61..98a2dcc 100644
--- a/dvd-logo/js/script.js
+++ b/dvd-logo/js/script.js
@@ -65,7 +65,7 @@ const makeSvg = (coords) => {
return `
<svg xmlns='http://www.w3.org/2000/svg' width='${window.innerWidth}px' height='${window.innerHeight}px'>
- <rect x="0" y="0" width="${window.innerWidth}" height="${window.innerHeight}" fill="black"/>
+ <rect x="0" y="0" width="${window.innerWidth}" height="${window.innerHeight}" fill="${document.body.style.backgroundColor || "black"}"/>
${coords.map((_,i) => {
if (i == 0) {
return;