-
Notifications
You must be signed in to change notification settings - Fork 13.4k
feat(badge): remove xxsmall, xsmall and xlarge sizes #30392
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
Conversation
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
ShaneK
left a comment
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.
Generally, we're moving towards a better way of doing defaults that makes it easier to change in the future if we need to. I've left a few change requests in specific areas, but avatar is a really good example of this paradigm in use for size.
ShaneK
left a comment
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.
Looks really good, great work!
|
Weirdly your screenshot tests seem to have failed even though you updated them after pushing 🤔 I guess maybe try updating them again? If nothing changes then run your tests again? Very odd! |
Issue number: resolves internal
What is the current behavior?
The badge presents the
xxsmall,xsmall, andxlarge. The user experience design expects only thesmallandmediumsizes for badges with content (number or icon), andsmall,medium, andlargesizes for empty badges.What is the new behavior?
smallandmediumsizes must be adjusted to the new requirements for badges with content.largesize is only available for empty badges.Does this introduce a breaking change?