switch frontend css from bootstrap to bulma

This commit is contained in:
sam 2024-06-09 23:21:28 +02:00
parent a2f001392b
commit 50257d61f8
14 changed files with 150 additions and 71 deletions

View file

@ -6,10 +6,10 @@
<meta name="viewport" content="width=device-width, initial-scale=1" />
<script>
let theme = localStorage.getItem("pronounscc-theme");
if (!theme || theme === "auto")
if (!theme)
theme = window.matchMedia("(prefers-color-scheme: dark)").matches ? "dark" : "light";
document.documentElement.setAttribute("data-bs-theme", theme);
document.documentElement.setAttribute("data-theme", theme);
</script>
%sveltekit.head%
</head>