-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
31 lines (29 loc) · 1.25 KB
/
Copy pathindex.html
File metadata and controls
31 lines (29 loc) · 1.25 KB
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
31
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="theme-color" content="#0a0a0f" />
<meta name="description" content="AutoMux — Desktop Automation Utility" />
<!-- D-06/D-07: boot-time theme resolution, before any stylesheet link,
so data-theme is set before first paint (no flash of wrong theme). -->
<script>
(function () {
var pref = localStorage.getItem("automux.theme_preference") || "system";
var resolved = pref === "system"
? (window.matchMedia("(prefers-color-scheme: dark)").matches ? "dark" : "light")
: pref;
document.documentElement.setAttribute("data-theme", resolved);
})();
</script>
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap" rel="stylesheet" />
<title>AutoMux</title>
</head>
<body>
<noscript>You need to enable JavaScript to run this app.</noscript>
<div id="root"></div>
<script src="/src/index.tsx" type="module"></script>
</body>
</html>