mirror of
https://github.com/AgentSeal/codeburn.git
synced 2026-08-04 05:41:29 +00:00
26 lines
916 B
HTML
26 lines
916 B
HTML
<!doctype html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
<link rel="icon" type="image/png" href="/codeburn-logo.png" />
|
|
<title>CodeBurn - Local Dashboard</title>
|
|
<script>
|
|
// Apply the saved theme before first paint so the dashboard never flashes light.
|
|
(function () {
|
|
var saved = null
|
|
try {
|
|
saved = localStorage.getItem('codeburn-theme')
|
|
} catch (e) {
|
|
// storage disabled (some embeds/webviews): fall back to OS theme
|
|
}
|
|
var dark = saved === 'dark' || (saved !== 'light' && window.matchMedia('(prefers-color-scheme: dark)').matches)
|
|
if (dark) document.documentElement.classList.add('dark')
|
|
})()
|
|
</script>
|
|
</head>
|
|
<body>
|
|
<div id="root"></div>
|
|
<script type="module" src="/src/main.tsx"></script>
|
|
</body>
|
|
</html>
|