fix(ramp): remove borders from deposit selectors for visual consistency#25128
fix(ramp): remove borders from deposit selectors for visual consistency#25128
Conversation
- Remove border from AccountSelector to match Aggregator styling - Remove border from fiatSelector (region picker) and update background - Remove border from cryptoPill (token selector) - Remove border from paymentMethodBox and add muted background - Update TagBase usage to remove border and use subsection background Fixes second action item of MDP-274
🔍 Smart E2E Test Selection
click to see 🤖 AI reasoning detailsThis PR contains purely cosmetic/styling changes to the Ramp Deposit feature:
These changes:
The E2E tests for Ramps (in e2e/specs/ramps/) use testIds for element selection (via BuildQuoteSelectors), not visual styling. The styling changes won't affect test element detection or any test assertions. No E2E tests need to be run as these are low-risk cosmetic changes that cannot break any existing functionality or test flows. |
|
|
Missing release label release-7.64.0 on PR. Adding release label release-7.64.0 on PR and removing other release labels(release-7.65.0), as PR was added to branch 7.64.0 when release was cut. |
|
No release label on PR. Adding release label release-7.64.0 on PR, as PR was added to branch 7.64.0 when release was cut. |



Description
This PR addresses MDP-694 - "Fix the account selector background" (second action item from MDP-274).
Problem
The Deposit page selectors (Account, Region, Token, Payment Method) had visible borders that made them visually inconsistent with the Aggregator (Buy/Sell) flow selectors. The Deposit selectors used:
borderWidth: 1borderColor: theme.colors.border.mutedThis created a visual discrepancy between the two flows.
Solution
Updated the Deposit selector styles to match the Aggregator styling pattern:
background.mutedtokenbackground.subsectioninstead of a borderFiles Changed
AccountSelector.styles.tsborderWidth: 1andborderColorfrom theselectorstyleBuildQuote.styles.tsfiatSelector: Changed background frombackground.defaulttobackground.muted, removed bordercryptoPill: Removed border (keptborderRadius: 100for pill shape)paymentMethodBox: Removed border, addedbackground.mutedBuildQuote.tsxTagBasecomponent: RemovedincludesBorderprop, added custombackground.subsectionstyleChangelog
CHANGELOG entry: fix: Updated Deposit page selectors to have consistent styling without borders
Related issues
Fixes: https://consensyssoftware.atlassian.net/browse/MDP-694
Manual testing steps
Screenshots/Recordings
Before
After
Pre-merge author checklist
Pre-merge reviewer checklist
Note
Aligns Deposit BuildQuote selector styling with Aggregator by removing borders and using consistent background tokens.
AccountSelector,fiatSelector,cryptoPill, andpaymentMethodBoxto drop borders and usebackground.mutedTagBaseto usebackground.subsectioninstead of borderWritten by Cursor Bugbot for commit 375b043. This will update automatically on new commits. Configure here.