Fix download version 0.8.3 → 0.8.2
Korrigiert die fälschlich als 0.8.3 ausgewiesene Aktuell-Version auf 0.8.2 in Hero, Downloads, FAQ, Changelog und Auto-Updater-Endpoint. Changelog-Patch-Range entsprechend auf 0.8.0–0.8.1 angepasst. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
-2525
File diff suppressed because it is too large
Load Diff
@@ -1,22 +0,0 @@
|
||||
// The section must not be in the banner.js (body) file because it can create a quick flash.
|
||||
|
||||
if (localStorage.getItem('banner-closed')) {
|
||||
document.documentElement.style.setProperty("--hextra-banner-height", "0px");
|
||||
document.documentElement.classList.add("hextra-banner-hidden");
|
||||
}
|
||||
|
||||
;
|
||||
// The section must not be in the theme.js (body) file because it can create a quick flash (switch between light and dark).
|
||||
|
||||
function setTheme(theme) {
|
||||
document.documentElement.classList.remove("light", "dark");
|
||||
|
||||
if (theme !== "light" && theme !== "dark") {
|
||||
theme = window.matchMedia("(prefers-color-scheme: dark)").matches ? "dark" : "light";
|
||||
}
|
||||
|
||||
document.documentElement.classList.add(theme);
|
||||
document.documentElement.style.colorScheme = theme;
|
||||
}
|
||||
|
||||
setTheme("color-theme" in localStorage ? localStorage.getItem("color-theme") : 'light')
|
||||
-1082
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user