Menu
Public repository / b5d7e59c5e73adb2277d3f8db004d57d118be321
AkurAI-Mail / src/app.html
Latest change d1bd6f108abd2caf391ea926dd896369c62446e0 - feat: add suite-wide theme-sync (cookie flash-guard + theme.js) by Ólafur Búi Ólafsson
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="icon" href="%sveltekit.assets%/favicon.svg" type="image/svg+xml" />
<link rel="apple-touch-icon" href="%sveltekit.assets%/apple-touch-icon.png" />
<script>(function () {
try {
var m = document.cookie.match(/(?:^|; )akurai-theme=([^;]*)/);
var t = (m ? decodeURIComponent(m[1]) : null) || localStorage.getItem("akurai-theme");
if (!t) t = matchMedia("(prefers-color-scheme: light)").matches ? "akurai-light" : "akurai";
document.documentElement.setAttribute("data-theme", t);
} catch (e) {}
})();</script>
<script type="module" src="%sveltekit.assets%/theme.js"></script>
%sveltekit.head%
</head>
<body data-sveltekit-preload-data="hover">%sveltekit.body%</body>
</html>