switch frontend css from bootstrap to bulma
This commit is contained in:
parent
a2f001392b
commit
50257d61f8
14 changed files with 150 additions and 71 deletions
|
@ -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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue