37 lines
1.4 KiB
HTML
37 lines
1.4 KiB
HTML
<!doctype html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8" />
|
|
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
|
|
<link rel="manifest" href="/manifest.json" />
|
|
<meta name="theme-color" content="#4A6741" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
<!-- Apply the cached theme before first paint to avoid a flash of the
|
|
default palette. The backend `settings.theme` is the source of truth
|
|
(synced across devices) and reconciles this once it loads; this just
|
|
restores the last-known choice instantly. Keep ids in sync with
|
|
src/lib/theme.js. -->
|
|
<script>
|
|
(function () {
|
|
try {
|
|
var t = localStorage.getItem('mykindlebox-theme')
|
|
if (t && ['classic', 'midnight', 'ocean', 'berry', 'sunset', 'carnival'].indexOf(t) !== -1) {
|
|
document.documentElement.dataset.theme = t
|
|
}
|
|
} catch (e) {}
|
|
})()
|
|
</script>
|
|
<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=DM+Sans:wght@400;500;700&family=Inter:wght@400;500;700&display=swap"
|
|
rel="stylesheet"
|
|
/>
|
|
<title>MyKindlebox</title>
|
|
</head>
|
|
<body class="font-body">
|
|
<div id="root"></div>
|
|
<script type="module" src="/src/main.jsx"></script>
|
|
</body>
|
|
</html>
|