mirror of
https://github.com/lissy93/networking-toolbox.git
synced 2026-12-04 10:25:12 +03:00
28 lines
741 B
HTML
28 lines
741 B
HTML
<!doctype html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="utf-8" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
|
|
<!-- Prevent FOUC by applying theme before page renders -->
|
|
<script>
|
|
(function () {
|
|
try {
|
|
// Apply theme
|
|
const theme = localStorage.getItem('theme') || 'dark';
|
|
if (theme !== 'dark') {
|
|
document.documentElement.classList.add('theme-' + theme);
|
|
}
|
|
} catch (e) {
|
|
// Ignore localStorage errors (private browsing, etc.)
|
|
}
|
|
})();
|
|
</script>
|
|
|
|
%sveltekit.head%
|
|
</head>
|
|
<body data-sveltekit-preload-data="hover">
|
|
<div style="display: contents">%sveltekit.body%</div>
|
|
</body>
|
|
</html>
|