feat(wallet): redesign drawer wallet states to match Figma 4476-15287/15669
Disconnected state (Figma 4476-15287): bump the compact CTA to the spec'd dimensions — h-12 (48px), text-[15px], font-medium — so the yellow 链接钱包 button matches the Figma pill exactly while leaving the desktop header pill (compact=false) untouched. Connected state (Figma 4476-15669/16024): rebuild the compact branch as the spec'd info card + danger button: - A transparent 登录地址 label (text-[13px] font-bold #E5E5E5) with an 8px gap to the full 0x… address, which uses Figma's character-level styling: first 5 and last 5 chars rendered bold white, middle 32 chars rendered #A8A9AE / font-medium, replicating Figma's characterStyleOverrides. - A full-width 48px disconnect pill at bg-[#2A1B20] with #F36161 text and the LogOut glyph on the right at 15px font-medium. Add a new walletLoginAddress i18n key across all 7 locales (en, zh-CN, ja, ko, vi, id, ms) for the new 登录地址 label.
This commit is contained in:
@@ -176,6 +176,7 @@ export const enDict: Dict = {
|
||||
close: "Close",
|
||||
walletConnect: "Connect Wallet",
|
||||
walletConnectedAs: "Connected wallet",
|
||||
walletLoginAddress: "Login address",
|
||||
walletDisconnect: "Disconnect",
|
||||
walletLoginTitle: "Connect wallet",
|
||||
walletLoginDesc:
|
||||
|
||||
Reference in New Issue
Block a user