From 9246959777d2a3ed335403163456d34d7b150a59 Mon Sep 17 00:00:00 2001 From: user Date: Sat, 28 Feb 2026 13:00:09 -0800 Subject: [PATCH] fix: tab labels add (xprv) suffix, restyle tabs as underline view switcher - Rename 'From Extended Key' to 'From Extended Key (xprv)' - Replace box-border tab style with underline indicator pattern - Active tab: bold text + solid bottom border - Inactive tabs: muted text + transparent bottom border with hover state - Tabs now clearly read as mutually-exclusive view switchers, not buttons --- src/popup/index.html | 16 ++++++++-------- src/popup/views/addWallet.js | 9 +++------ 2 files changed, 11 insertions(+), 14 deletions(-) diff --git a/src/popup/index.html b/src/popup/index.html index d16bdf3..8c21f88 100644 --- a/src/popup/index.html +++ b/src/popup/index.html @@ -58,27 +58,27 @@

Add Wallet

-
-
+
diff --git a/src/popup/views/addWallet.js b/src/popup/views/addWallet.js index eda32e1..97876ed 100644 --- a/src/popup/views/addWallet.js +++ b/src/popup/views/addWallet.js @@ -29,14 +29,11 @@ function switchMode(mode) { $("add-wallet-section-" + m).classList.toggle("hidden", m !== mode); const tab = $("tab-" + m); const isActive = m === mode; - // Active tab: visible borders on top/left/right, bottom border matches bg to "connect" with content - tab.classList.toggle("border-border", isActive); - tab.classList.toggle("border-b-bg", isActive); - tab.classList.toggle("bg-bg", isActive); + // 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); - // Inactive tab: transparent borders - tab.classList.toggle("border-transparent", !isActive); + tab.classList.toggle("border-b-transparent", !isActive); } $("add-wallet-password-hint").textContent = PASSWORD_HINTS[mode]; }