temporary signout fix, small aesthetics

This commit is contained in:
metacryst
2026-01-12 14:27:19 -06:00
parent 419c8b1151
commit 63304bd281
6 changed files with 13 additions and 5 deletions

View File

@@ -4,7 +4,7 @@
--accent: black;
--accent2: black;
--parchment: #FFEBCC;
--parchment: #FEBA7D;
--gold: #FEBA7D;
--divider: #bb7c36;
--green: #0857265c;

View File

@@ -32,7 +32,6 @@ class Home extends Shadow {
.border("1px solid var(--accent)")
.attr({value: "dark"})
.onChange((e) => {
console.log("onchange")
document.documentElement.className = e.target.value
localStorage.setItem("theme", e.target.value);
const event = new CustomEvent('themechange', {

View File

@@ -40,6 +40,10 @@ class Sidebar extends Shadow {
.height(100, vh)
.borderRight("1px solid var(--accent)")
.zIndex(3)
.onEvent("themechange", () => {
console.log("change")
this.rerender()
})
}
}

View File

@@ -127,6 +127,8 @@ class Home extends Shadow {
SignupForm()
} else if(window.location.pathname.startsWith("/login")) {
SignIn()
} else {
SignIn()
}
}
})