fix(earn): match Figma spec for claim bonus tag shape#28903
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. |
🔍 Smart E2E Test Selection
click to see 🤖 AI reasoning detailsE2E Test Selection: Performance Test Selection: |
|
|
✅ E2E Fixture Validation — Schema is up to date |



Description
The "3% bonus" tag in the Asset Overview "Your bonus" section (reached from the Money page / mUSD token detail view) was rendered with the legacy design-system
TagBasedefaults (4px border radius, 8px horizontal padding), which drift from the current Figma spec (node 9740:12682).Rather than replace
TagBasewith a custom component, this PR overrides only the two style values that differ from the design so the colors and text styling continue to come from theTagSeverity.Successpreset.What changed
borderRadius: 4 → 8paddingHorizontal: 8 → 6Colors (
success.mutedbackground,success.defaulttext), vertical padding, and typography already match.Changelog
CHANGELOG entry: null
Related issues
Fixes: MUSD-634
Manual testing steps
Screenshots/Recordings
After
Pre-merge author checklist
Pre-merge reviewer checklist
Note
Low Risk
Purely a small UI styling tweak to the mUSD bonus
TagBase, with no changes to business logic, data flow, or analytics.Overview
Updates the Asset Overview “Your bonus” section to match the Figma spec by overriding the
TagBasestyling for the “3% bonus” tag.Adds a local
StyleSheetand appliesstyle={styles.bonusTag}to adjust only the tag’sborderRadius(to 8) andpaddingHorizontal(to 6), leaving the existing severity-driven colors and typography unchanged.Reviewed by Cursor Bugbot for commit 13471d9. Bugbot is set up for automated code reviews on this repo. Configure here.