From a8cbeae2d3677fe48bc88f3e8d61cf4649eef899 Mon Sep 17 00:00:00 2001 From: julian laplace Date: Wed, 14 Jun 2023 22:49:35 +0200 Subject: init --- src/utility/index.js | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 src/utility/index.js (limited to 'src/utility/index.js') diff --git a/src/utility/index.js b/src/utility/index.js new file mode 100644 index 0000000..80b7cb2 --- /dev/null +++ b/src/utility/index.js @@ -0,0 +1,18 @@ +import Stars from "./stars"; + +// Initialize the DOM +export function initializeDOM() { + document.body.style.color = "#fff"; + document.body.style.margin = 0; + document.body.style.padding = 0; + document.body.style.height = "100%"; + document.body.style.width = "100%"; + document.body.style.fontFamily = "Helvetica, Arial"; + document.body.style.overflow = "hidden"; + 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"; + Stars(); +} -- cgit v1.2.3-70-g09d2