23 lines
857 B
HTML
23 lines
857 B
HTML
|
|
<!doctype html>
|
||
|
|
<html lang="en">
|
||
|
|
<head>
|
||
|
|
<meta charset="UTF-8" />
|
||
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||
|
|
<title>OpenMesh</title>
|
||
|
|
<link rel="icon" type="image/svg+xml" href="./src/assets/senmesh-logo.svg" />
|
||
|
|
<!-- Resolve the theme before first paint (no white flash for dark users).
|
||
|
|
Must match src/theme.ts: key "openwork-theme", absent/invalid = auto = follow macOS. -->
|
||
|
|
<script>
|
||
|
|
try {
|
||
|
|
var t = localStorage.getItem("openwork-theme");
|
||
|
|
var dark = t === "dark" || (t !== "light" && window.matchMedia("(prefers-color-scheme: dark)").matches);
|
||
|
|
document.documentElement.dataset.theme = dark ? "dark" : "light";
|
||
|
|
} catch (e) {}
|
||
|
|
</script>
|
||
|
|
</head>
|
||
|
|
<body>
|
||
|
|
<div id="root"></div>
|
||
|
|
<script type="module" src="/src/main.tsx"></script>
|
||
|
|
</body>
|
||
|
|
</html>
|