web/new-web/src/app.html
2024-10-14 21:05:35 +05:00

22 lines
749 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" />
<!-- Source: https://github.com/WillKre/svelte-theme-switch/blob/main/src/app.html -->
<!-- Check & apply theme here to avoid FOUC -->
<script>
localStorage.theme === 'dark' ||
(!('theme' in localStorage) && window.matchMedia('(prefers-color-scheme: dark)').matches)
? document.documentElement.classList.add('dark')
: document.documentElement.classList.remove('dark');
</script>
%sveltekit.head%
</head>
<body data-sveltekit-preload-data="hover">
<div style="display: contents">%sveltekit.body%</div>
</body>
</html>