-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore: align ButtonIcons with design #9899
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. |
app/component-library/components/Banners/Banner/foundation/BannerBase/BannerBase.constants.tsx
Show resolved
Hide resolved
app/component-library/components/BottomSheets/BottomSheetHeader/BottomSheetHeader.tsx
Show resolved
Hide resolved
app/component-library/components/Buttons/ButtonIcon/ButtonIcon.stories.tsx
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
- Checked for instances of removed
iconColorOverride
andButtonIconVariants
✅
Bitrise✅✅✅ Commit hash: 84c6cb4 Note
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
aec2c4a
Bitrise❌❌❌ Commit hash: aec2c4a Note
|
Bitrise✅✅✅ Commit hash: 16131f6 Note
|
Quality Gate passedIssues Measures |
Description
This PR updates the
ButtonIcon
component to align with theButtonIcon
design in Figma.variants
prop has been removed and consolidated with theiconColorOverride
prop, allowing developers to configure icon colors more efficiently.md
size has been added to the size prop.Related issues
Fixes: #9880
Manual testing steps
Reference videos for examples
Screenshots/Recordings
Before
After
ButtonIcon
storieshttps://github.com/MetaMask/metamask-mobile/assets/14355083/2021c359-50ad-406a-bd3b-ccd3d4fb44c2
Navbar
changeshttps://github.com/MetaMask/metamask-mobile/assets/14355083/e0f3abe7-65be-42f6-bd79-04e31604697a
Banner
changeshttps://github.com/MetaMask/metamask-mobile/assets/14355083/397b5ea2-6aaa-49d8-b953-1df22d73a40b
BottomSheetHeader
changeshttps://github.com/MetaMask/metamask-mobile/assets/14355083/e19bbab7-1210-4b25-9121-c47529600c68
SheetHeader
changeshttps://github.com/MetaMask/metamask-mobile/assets/14355083/f94989ea-da30-4f10-a631-025363b66c9d
Token
changeshttps://github.com/MetaMask/metamask-mobile/assets/14355083/f372f868-ddce-44cb-9a1e-88ba07edd6e4
Onboarding
changeshttps://github.com/MetaMask/metamask-mobile/assets/14355083/e3d79cb0-d2c8-4efc-a5bd-6036343b3bd2
Pre-merge author checklist
Pre-merge reviewer checklist