-
Notifications
You must be signed in to change notification settings - Fork 113
Expand file tree
/
Copy pathindex.html
More file actions
29 lines (29 loc) · 790 Bytes
/
index.html
File metadata and controls
29 lines (29 loc) · 790 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
<!doctype html>
<html>
<head>
<title>@stackflow/demo</title>
<meta charset="utf-8" />
<meta
name="viewport"
content="width=device-width, initial-scale=1, user-scalable=no, viewport-fit=cover"
/>
<script>
(() => {
var e = document.documentElement;
e.dataset.seed = "";
var pd = window.matchMedia("(prefers-color-scheme: dark)"),
a = () => {
e.dataset.seedScaleColor = pd.matches ? "dark" : "light";
};
"addEventListener" in pd
? pd.addEventListener("change", a)
: "addListener" in pd && pd.addListener(a),
a();
})();
</script>
</head>
<body>
<div id="root"></div>
<script type="module" src="./src/main.tsx"></script>
</body>
</html>