-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathindex.html
More file actions
21 lines (21 loc) · 736 Bytes
/
index.html
File metadata and controls
21 lines (21 loc) · 736 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<!DOCTYPE html>
<html lang="en" class="dark">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Setup Manager HUD</title>
<script>
(function () {
const stored = localStorage.getItem("theme");
if (stored === "light") document.documentElement.classList.remove("dark");
else if (stored === "dark") document.documentElement.classList.add("dark");
else if (window.matchMedia("(prefers-color-scheme: light)").matches)
document.documentElement.classList.remove("dark");
})();
</script>
</head>
<body>
<div id="root"></div>
<script type="module" src="/src/main.tsx"></script>
</body>
</html>