Files
openwork/packages/app/index.html
Benjamin Shafii bd6062c822 feat(app): align UI with Codex DLS
Apply DLS tokens, dark mode variables, and refresh Skills/Automations layouts for mock parity.
2026-02-04 21:04:39 -08:00

31 lines
1.2 KiB
HTML

<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>OpenWork</title>
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png" />
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png" />
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png" />
<script>
(function () {
try {
var mode = localStorage.getItem("openwork.themePref") || "system";
var prefersDark = window.matchMedia("(prefers-color-scheme: dark)").matches;
var resolved = mode === "dark" || (mode === "system" && prefersDark) ? "dark" : "light";
document.documentElement.dataset.theme = resolved;
document.documentElement.style.colorScheme = resolved;
} catch (e) {
document.documentElement.dataset.theme = "light";
document.documentElement.style.colorScheme = "light";
}
})();
</script>
</head>
<body class="bg-dls-surface text-dls-text">
<div id="root"></div>
<script type="module" src="/src/index.tsx"></script>
</body>
</html>