955f893b13
CI / update (push) Successful in 25s
Add theme cycling (system/light/dark) with localStorage persistence and FOUC prevention. Restructure CSS color tokens to respond to data-theme attribute across all components. Redesign header as a floating glass pill bar with smooth view transitions including clip-reveal logo animation.
22 lines
658 B
HTML
22 lines
658 B
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="utf-8" />
|
|
<link rel="icon" href="%sveltekit.assets%/favicon.svg" />
|
|
<meta name="viewport" content="width=device-width" />
|
|
<link rel="manifest" href="/manifest.json" />
|
|
<meta name="theme-color" content="#5E81AC" />
|
|
<link rel="apple-touch-icon" href="/favicon-192.png" />
|
|
<script>
|
|
(function() {
|
|
var t = localStorage.getItem('theme');
|
|
if (t === 'light' || t === 'dark') document.documentElement.dataset.theme = t;
|
|
})();
|
|
</script>
|
|
%sveltekit.head%
|
|
</head>
|
|
<body data-sveltekit-preload-data="hover">
|
|
<div style="display: contents">%sveltekit.body%</div>
|
|
</body>
|
|
</html>
|