From 947672428465bb1873acd8c4e6ab43973eb8f9c1 Mon Sep 17 00:00:00 2001 From: user Date: Sat, 28 Feb 2026 13:24:55 -0800 Subject: [PATCH] fix tab affordance: use standard button style with border + hover invert Per README clickable affordance policy: all tabs now use visible border, padding, and hover:bg-fg hover:text-bg (invert to white-on-black). Active tab is inverted (bg-fg text-bg). All three tabs behave identically on hover regardless of active state. --- src/popup/index.html | 17 +++++++---------- src/popup/views/addWallet.js | 7 ++----- 2 files changed, 9 insertions(+), 15 deletions(-) diff --git a/src/popup/index.html b/src/popup/index.html index 8c21f88..eb10f35 100644 --- a/src/popup/index.html +++ b/src/popup/index.html @@ -58,27 +58,24 @@

Add Wallet

-
+
diff --git a/src/popup/views/addWallet.js b/src/popup/views/addWallet.js index 97876ed..55b545c 100644 --- a/src/popup/views/addWallet.js +++ b/src/popup/views/addWallet.js @@ -29,11 +29,8 @@ function switchMode(mode) { $("add-wallet-section-" + m).classList.toggle("hidden", m !== mode); const tab = $("tab-" + m); const isActive = m === mode; - // Active tab: bold text + solid bottom border indicator - tab.classList.toggle("font-bold", isActive); - tab.classList.toggle("border-b-fg", isActive); - tab.classList.toggle("text-muted", !isActive); - tab.classList.toggle("border-b-transparent", !isActive); + tab.classList.toggle("bg-fg", isActive); + tab.classList.toggle("text-bg", isActive); } $("add-wallet-password-hint").textContent = PASSWORD_HINTS[mode]; }