26 lines
844 B
HTML
26 lines
844 B
HTML
|
|
<!doctype html>
|
||
|
|
<html lang="en" class="dark">
|
||
|
|
<head>
|
||
|
|
<meta charset="UTF-8" />
|
||
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||
|
|
<meta name="description" content="@jason/ui-kit living component showcase" />
|
||
|
|
<title>@jason/ui-kit — Component Showcase</title>
|
||
|
|
<script>
|
||
|
|
(() => {
|
||
|
|
try {
|
||
|
|
const stored = localStorage.getItem("jason-ui-theme") || "system";
|
||
|
|
const mode = stored === "system"
|
||
|
|
? (matchMedia("(prefers-color-scheme: light)").matches ? "light" : "dark")
|
||
|
|
: stored;
|
||
|
|
document.documentElement.className = mode;
|
||
|
|
document.documentElement.style.colorScheme = mode;
|
||
|
|
} catch {}
|
||
|
|
})();
|
||
|
|
</script>
|
||
|
|
</head>
|
||
|
|
<body>
|
||
|
|
<div id="root"></div>
|
||
|
|
<script type="module" src="/main.tsx"></script>
|
||
|
|
</body>
|
||
|
|
</html>
|