fix: Polish section headers for consistency#30168
Conversation
|
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. |
2029a4a
🔍 Smart E2E Test Selection
click to see 🤖 AI reasoning detailsE2E Test Selection:
Tag selection rationale:
No controller, navigation, or shared infrastructure changes — no need for broader test coverage. Performance Test Selection: |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #30168 +/- ##
==========================================
+ Coverage 81.54% 81.86% +0.31%
==========================================
Files 5343 5435 +92
Lines 142128 144922 +2794
Branches 32411 33097 +686
==========================================
+ Hits 115899 118641 +2742
+ Misses 18299 18172 -127
- Partials 7930 8109 +179 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|



Description
This PR aligns the header styles across features so the UI is polished:
Swaps: HeadingLg>MdDS Component: Icon SizeSm>Mdto match designs, impacts Home PagePerps: See all modified toIcon-Arrow-RightThis is part of a wider initiative to polish our header styles.
Changelog
CHANGELOG entry: null
Related issues
Fixes: https://consensys.slack.com/archives/C09AYKX30P3/p1778687896266179
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
Low risk, primarily UI polish (typography, spacing, and iconography) with minimal logic changes; main risk is minor visual regressions from updated design-system tokens and layout tweaks.
Overview
Polishes section header presentation for consistency across the app by standardizing trailing arrow affordances and heading sizes.
Updates
SectionHeaderto use a medium trailing arrow icon, adjusts Bridge Trending Tokens to useHeadingMdwith refined spacing, and refines Perps “Recent activity” header layout (usegapand replace “See all” text with an accessible arrow icon). Also migrates Perps trade list text styling to design-systemTexttokens and removes the now-unneededTextmock in tests.Reviewed by Cursor Bugbot for commit 2029a4a. Bugbot is set up for automated code reviews on this repo. Configure here.