fix: use correct background color on initial loading

This commit is contained in:
Myzel394 2023-02-20 20:07:34 +01:00
parent d8c8658401
commit c9b06e78f8
No known key found for this signature in database
GPG Key ID: 79CC92F37B3E1A2B

View File

@ -5,6 +5,17 @@
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Vite + React + TS</title>
<style>
body {
background: white;
}
@media (prefers-color-scheme: dark) {
body {
background: #121212;
}
}
</style>
</head>
<body>
<div id="root"></div>