Blog v1 Broken As Fuck
This commit is contained in:
@ -20,7 +20,7 @@ import backgroundImage1 from "../assets/gallery/coreboot2.jpg";
|
||||
<script is:inline>
|
||||
// ☝️ This script prevent the FART effect.
|
||||
if (localStorage.getItem("theme") === null) {
|
||||
document.documentElement.setAttribute("data-theme", "light");
|
||||
document.documentElement.setAttribute("data-theme", "black");
|
||||
} else
|
||||
document.documentElement.setAttribute(
|
||||
"data-theme",
|
||||
|
Reference in New Issue
Block a user