fix(quickbuy): align Pay with token list styling with Figma#32000
Conversation
Align the QuickBuy "Pay with" token list with the Figma design: - Slider: use the bg-background-muted token for the unfilled track instead of bg-icon-muted, matching the design-system track convention. - Pay with rows: tighten the name/symbol and fiat/balance stacks to gap 0 (Figma) to remove excess vertical spacing. - Pay with rows: apply Medium font weight to the token name, symbol, fiat value and balance to match the design. - Chain filter: drop the extra per-chip bottom margin so the spacing below the chips matches the Figma layout. Co-authored-by: Cursor <cursoragent@cursor.com>
|
CLA Signature Action: All authors have signed the CLA. You may need to manually re-run the blocking PR check if it doesn't pass in a few minutes. |
🔍 Smart E2E Test Selection
click to see 🤖 AI reasoning detailsE2E Test Selection:
Per the COSMETIC CHANGES rule, these changes (spacing, font weight, color tokens) have zero functional impact and must not trigger additional test selection. No E2E tests reference these QuickBuy components directly (confirmed via grep). No functional logic, state management, navigation, or API calls were modified. Performance Test Selection: |
|



Description
This PR applies the TSA-689 "Style fixes" to the QuickBuy "Pay with" token-list screen so it matches the Figma design (
Swap Next, node2296:34769).Why: the implemented screen drifted from the design in three ways — the token rows and chain-filter chips had more vertical spacing than the design, the token name/symbol/value text used the regular font weight instead of medium, and the slider used an icon-color token for its unfilled track.
What changed:
QuickBuyPercentageSlider.tsx): the unfilled track now uses thebg-background-mutedtoken instead ofbg-icon-muted, matching the design-system convention for slider tracks (e.g.VipPointsSection,PredictCryptoUpDownMarketCard).QuickBuyPayWithRow.tsx): the name/symbol and fiat/balance stacks now usegap={0}(FigmaFrame 141839/141841use gap0), removing the extra 4px between the two lines.QuickBuyPayWithRow.tsx): the token name, symbol, fiat value and balance now useFontWeight.Medium(Figma: all row text is Geist Medium / 500), keeping the existingBodyMd/BodySmsizes (16/14px).QuickBuyPayWithChainFilter.tsx): removed the redundantmb-3from each chip; the container already appliespb-3(12px), which matches the Figma chip-containerpaddingBottomof 12px (themb-3was doubling it to 24px).Note: the verified-token badge (blue check next to the name) called out in the ticket's annotated screenshot is already implemented in
QuickBuyPayWithRow.tsx(IconName.VerifiedFilled/IconColor.InfoDefault, gated ontoken.isVerified, withBridgeToken.isVerifiedpopulated byuseTokensWithBalanceand covered by tests), so no change was needed there.Changelog
CHANGELOG entry: Fixed the QuickBuy "Pay with" token list styling (slider track color, row vertical spacing, font weights, and chain-filter chip spacing) to match the design.
Related issues
Fixes: TSA-689
Manual testing steps
Screenshots/Recordings
Design reference (source of truth): Figma — Swap Next, node 2296:34769
Before
After
Pre-merge author checklist
Performance checks (if applicable)
trace()for usage andaddTokenfor an exampleFor performance guidelines and tooling, see the Performance Guide.
Pre-merge reviewer checklist
Note
Low Risk
Tailwind and design-system styling only in QuickBuy Social Leaderboard components; no logic, data, or payment flow changes.
Overview
Aligns the QuickBuy “Pay with” token picker and related controls with Figma (TSA-689) via presentation-only updates.
Pay-with rows (
QuickBuyPayWithRow.tsx): name/symbol and fiat/balance stacks now usegap={0}instead ofgap={1}, and row text usesFontWeight.Mediumwhile keeping existingBodyMd/BodySmsizes.Chain filter chips (
QuickBuyPayWithChainFilter.tsx): drops per-chipmb-3so spacing relies on the container’spb-3only, removing extra gap above the list.Amount slider (
QuickBuyPercentageSlider.tsx): the unfilled track switches frombg-icon-mutedtobg-background-mutedfor consistency with other sliders in the app.Reviewed by Cursor Bugbot for commit 44fe152. Bugbot is set up for automated code reviews on this repo. Configure here.