fix: Polish Settings Buy/Sell section for consistency#30229
Conversation
Include after screenshot and completed PR template text for paste into GitHub. Co-authored-by: Cursor <cursoragent@cursor.com>
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:
These changes are scoped entirely to the Ramp/Aggregator Settings screen, which is part of the fiat on/off-ramp (ramps) feature. The Performance Test Selection: |
|



Description
This PR polishes the typography, button styles and spacing for the Buy / Sell section in Settings so the styling is aligned with the rest of the product. This is part of a wider initiative to refine our pattern sections in the product.
See other Settings PRs for context.
Changelog
CHANGELOG entry: N/A
Related issues
Fixes:
#30228
#30171
#30230
Manual testing steps
Screenshots/Recordings
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
UI-only polish to Ramp settings (typography, button variant, spacing, loader layout) with no changes to business logic or data handling; low risk aside from minor layout regressions.
Overview
Polishes the Buy/Sell (Ramp) Settings screen to better match the design system by switching text usage to
@metamask/design-system-react-nativewith updatedTextVariant/FontWeight/TextColor.Adjusts the Current region section styling (including changing the action button to
Secondary) and adds spacing for the internal-only Activation Keys section. The Activation Keys header now uses a styled row with an inline loading indicator to avoid layout issues while keys are loading.Reviewed by Cursor Bugbot for commit 468238d. Bugbot is set up for automated code reviews on this repo. Configure here.