Lighten Home navigation icon strokes
This commit is contained in:
@@ -36,11 +36,6 @@ export function HomeInteractions() {
|
||||
else item.removeAttribute("aria-current");
|
||||
item.classList.toggle("font-title", active);
|
||||
item.classList.toggle("font-body", !active);
|
||||
const icon = item.querySelector<HTMLElement>(".nav-icon");
|
||||
if (icon) {
|
||||
icon.textContent = item.dataset.nav === "home" ? "home" : active ? "person" : "person_outline";
|
||||
icon.style.fontVariationSettings = active ? "'FILL' 1" : "'FILL' 0";
|
||||
}
|
||||
});
|
||||
window.scrollTo({ top: 0, behavior: "smooth" });
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user