-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathindex.html
More file actions
31 lines (31 loc) · 1.13 KB
/
Copy pathindex.html
File metadata and controls
31 lines (31 loc) · 1.13 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" />
<link rel="icon" type="image/png" href="/icon.png" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="theme-color" content="#111315" />
<script>
try {
const stored = JSON.parse(localStorage.getItem("code-deck-data-v1") || "null");
const preference = stored?.settings?.theme || "dark";
document.documentElement.dataset.theme = preference === "system"
? (matchMedia("(prefers-color-scheme: dark)").matches ? "dark" : "light")
: preference;
} catch {}
</script>
<style>
html, body, #root { min-height: 100%; margin: 0; background: #111315; }
html[data-theme="light"], html[data-theme="light"] body, html[data-theme="light"] #root { background: #f6f7f8; }
</style>
<meta
name="description"
content="Code Deck is a local developer cockpit for projects, IDEs, commands, and launch sets."
/>
<title>CodeDeck</title>
</head>
<body>
<div id="root"></div>
<script type="module" src="/src/main.tsx"></script>
</body>
</html>