From a24b9abb7d7656b837e7bb2e33ed202aa98a52fb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=B8=85=E5=87=A4?= Date: Wed, 18 Nov 2026 16:44:05 +0800 Subject: [PATCH] fix: clear stale sidebar pointer-hover state and declare root color-scheme --- src/components/settings/NavItem.vue | 4 +- src/lib/scroll-hover.ts | 105 ++++++++++++++++++++++++++-- src/style.css | 2 + 3 files changed, 103 insertions(+), 8 deletions(-) diff --git a/src/components/settings/NavItem.vue b/src/components/settings/NavItem.vue index 075475c..37f5300 100644 --- a/src/components/settings/NavItem.vue +++ b/src/components/settings/NavItem.vue @@ -21,14 +21,14 @@ withDefaults(defineProps<{ // settings nav (grandfathered in its baseline there) — NavItem is now the // single home for this ink. (Marker repeated inline: the guard ratchets // alpha per raw line.) -const rowClass = 'w-full justify-start gap-2.5 pl-3.5! pr-3! font-[430] tracking-[-0.1px] text-foreground/85 [--btn-ghost-hover:var(--sidebar-hover)]' /* ui-allow-alpha */ +const rowClass = 'w-full justify-start gap-2.5 pl-3.5! pr-3! tracking-[-0.1px] text-foreground/85 [--btn-ghost-hover:var(--sidebar-hover)]' /* ui-allow-alpha */