diff options
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(); +} |
