summaryrefslogtreecommitdiff
path: root/src/index.jsx
diff options
context:
space:
mode:
Diffstat (limited to 'src/index.jsx')
-rw-r--r--src/index.jsx4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/index.jsx b/src/index.jsx
index 6c58df3..0428bcf 100644
--- a/src/index.jsx
+++ b/src/index.jsx
@@ -3,8 +3,8 @@ import { createRoot } from "react-dom/client";
import { requestAudioContext, randrange } from "./lib/util";
import App from "./ui/App.jsx";
+import Stars from "./lib/stars";
-document.body.style.backgroundColor = "#111";
document.body.style.color = "#fff";
document.body.style.margin = 0;
document.body.style.padding = 0;
@@ -15,6 +15,7 @@ document.body.parentNode.style.margin = 0;
document.body.parentNode.style.padding = 0;
document.body.parentNode.style.height = "100%";
document.body.parentNode.style.width = "100%";
+document.body.parentNode.style.backgroundColor = "#111";
requestAudioContext(() => {
const container = document.createElement("div");
@@ -24,4 +25,5 @@ requestAudioContext(() => {
document.body.appendChild(container);
const root = createRoot(container);
root.render(<App />);
+ Stars();
});