diff options
| author | julian laplace <julescarbon@gmail.com> | 2023-06-14 22:49:35 +0200 |
|---|---|---|
| committer | julian laplace <julescarbon@gmail.com> | 2023-06-14 22:49:35 +0200 |
| commit | a8cbeae2d3677fe48bc88f3e8d61cf4649eef899 (patch) | |
| tree | 5a4c33e24c8d0aa0430562a4b84e81c03d6a0113 /src/utility/index.js | |
init
Diffstat (limited to 'src/utility/index.js')
| -rw-r--r-- | src/utility/index.js | 18 |
1 files changed, 18 insertions, 0 deletions
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(); +} |
