-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
38 lines (38 loc) · 1.88 KB
/
Copy pathindex.html
File metadata and controls
38 lines (38 loc) · 1.88 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
32
33
34
35
36
37
38
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="theme-color" content="#0a0907" />
<link rel="icon" type="image/svg+xml" href="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ctext y='20' font-size='20'%3E%F0%9F%94%A5%3C/text%3E%3C/svg%3E" />
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link href="https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,300;9..144,400;9..144,500;9..144,600;9..144,700&family=DM+Sans:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;600&display=swap" rel="stylesheet" />
<title>Debt-free journey</title>
<style>
html, body { margin: 0; padding: 0; min-height: 100vh; }
html[data-theme="light"], html[data-theme="light"] body { background: #faf6ed; color: #1a1206; }
html[data-theme="dark"], html[data-theme="dark"] body { background: #0a0907; color: #f0e8d8; }
html:not([data-theme]), html:not([data-theme]) body { background: #0a0907; color: #f0e8d8; }
body { font-family: "DM Sans", system-ui, sans-serif; }
*, *::before, *::after { box-sizing: border-box; }
</style>
<script>
(function () {
try {
var t = localStorage.getItem('tracker_theme');
if (t !== 'light' && t !== 'dark') {
t = (window.matchMedia && window.matchMedia('(prefers-color-scheme: light)').matches) ? 'light' : 'dark';
}
document.documentElement.setAttribute('data-theme', t);
} catch (e) {
document.documentElement.setAttribute('data-theme', 'dark');
}
})();
</script>
</head>
<body>
<div id="root"></div>
<script type="module" src="/src/main.jsx"></script>
</body>
</html>