refactor(web): use dark colours instead of slate

This commit is contained in:
Luke committed 2023-03-19 10:58:43 +01:00
1 parent 2a11ded518
commit 7b2b440825
6 files changed
+34 -8

No files matched your search

+11
View File
@@ -1,8 +1,19 @@
import './index.css';
import App from './App.svelte';
import { isEnvBrowser } from './utils/misc';
const app = new App({
target: document.getElementById('app'),
});
if (isEnvBrowser()) {
const root = document.getElementById('app');
// https://i.imgur.com/iPTAdYV.png - Night time img
root!.style.backgroundImage = 'url("https://i.imgur.com/3pzRj9n.png")';
root!.style.backgroundSize = 'cover';
root!.style.backgroundRepeat = 'no-repeat';
root!.style.backgroundPosition = 'center';
}
export default app;