mirror of
https://github.com/jcreek/LivingDexTracker.git
synced 2026-07-12 18:43:45 +00:00
26 lines
800 B
HTML
26 lines
800 B
HTML
<!doctype html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="utf-8" />
|
|
<link rel="icon" href="%sveltekit.assets%/favicon.png" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
%sveltekit.head%
|
|
<script>
|
|
(function () {
|
|
try {
|
|
const storedTheme = localStorage.getItem('theme');
|
|
const theme = storedTheme || 'pokeball';
|
|
document.documentElement.setAttribute('data-theme', theme);
|
|
} catch (e) {
|
|
// Fallback to default theme if localStorage is not accessible
|
|
document.documentElement.setAttribute('data-theme', 'pokeball');
|
|
}
|
|
})();
|
|
</script>
|
|
<link rel="stylesheet" href="%sveltekit.assets%/output.css" />
|
|
</head>
|
|
<body data-sveltekit-preload-data="hover">
|
|
<div style="display: contents">%sveltekit.body%</div>
|
|
</body>
|
|
</html>
|