light mode better colors

This commit is contained in:
metacryst
2025-11-10 09:02:24 -06:00
parent 41c0bb57a3
commit fa67271ae8
11 changed files with 36 additions and 33 deletions

View File

@@ -57,7 +57,7 @@ class Home extends Shadow {
.top("5vh")
.right("2em")
.background("transparent")
.border(window.location.pathname === "/" ? "1px solid var(--tan)" : "1px solid var(--periwinkle)")
.border(window.location.pathname === "/" ? "1px solid var(--tan)" : "1px solid var(--accent2)")
.color(window.location.pathname === "/" ? "var(--tan)" : "var(--accent)")
.borderRadius(5, px)
.onHover(function (hovering) {
@@ -72,7 +72,7 @@ class Home extends Shadow {
this.style.border = "1px solid var(--tan)"
this.style.color = "var(--tan)"
} else {
this.style.border = "1px solid var(--periwinkle)"
this.style.border = "1px solid var(--accent2)"
this.style.color = "var(--accent)"
}
})