-
Notifications
You must be signed in to change notification settings - Fork 791
Expand file tree
/
Copy pathsettings.html
More file actions
30 lines (29 loc) · 931 Bytes
/
Copy pathsettings.html
File metadata and controls
30 lines (29 loc) · 931 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/png" href="/logo.png" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Terax — Settings</title>
<script>
(function () {
try {
var t = localStorage.getItem("terax-ui-theme-shadow");
var resolved =
t === "light" || t === "dark"
? t
: window.matchMedia("(prefers-color-scheme: dark)").matches
? "dark"
: "light";
document.documentElement.classList.add(resolved);
document.documentElement.style.backgroundColor =
resolved === "dark" ? "#0a0a0a" : "#ffffff";
} catch (e) {}
})();
</script>
</head>
<body>
<div id="settings-root"></div>
<script type="module" src="/src/settings/main.tsx"></script>
</body>
</html>