-
Notifications
You must be signed in to change notification settings - Fork 1.2k
[Button] Clean up Button styling and $button-filled mixin #4635
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
|
👋 Thanks for opening your first pull request. A contributor should give feedback soon. If you haven’t already, please check out the contributing guidelines. |
| color: var(--p-text-disabled); | ||
| } | ||
|
|
||
| @mixin button-filled($button-color, $focus-color, $outline-color: null) { |
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.
these parameters aren't being used anywhere, removing
size-limit report
|
alex-page
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.
Legend
|
🎉 Thanks for your contribution to Polaris React! |
* removing all color() references * reverting button component changes because they're being addressed in #4635 * updating changelog * hardcoding background color value in app provider * removing color-icon sass function because not in use * adding stylelint disable line because we have to hardcode a value * revert remove color-icon function
Description
While working through #4592 I found the
$button-filledmixin had some parameters that weren't being used. Decided to clean up the mixin and simplify theButtonstyle by creating a joint.primary, .destructivestyle.co-authored with @alex-page