-
Notifications
You must be signed in to change notification settings - Fork 221
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: Refactored Button styles to use createStyles
utility
#2285
chore: Refactored Button styles to use createStyles
utility
#2285
Conversation
Focus seems to stay visible even after clicking the button.
|
I think we should update the |
@mannycarrera4 We're no longer using the
|
EMOTIONAL DAMAGE |
createStyles
utility
Summary
Style refactor for buttons to work with new theming, branding, tokens, createStyles utility and
cs
prop.Fixes: #2274
We want to more easily apply theming to Buttons and the styles need to be refactored to more easily apply those themed styles with new tokens.
Release Category
Components
BREAKING CHANGES
createStyles
utility function. We don't anticipatethis as a breaking change but, there may be slight changes to visual test.
look different in the toggled state from default state.
PrimaryButton
: On theinverse
variant, the focus ring is now consistent with the default variant ofPrimaryButton
. This will visually change theinverse
variant to have a larger appearance when focused.colors
will no longer support thefocusRing
option:For the Reviewer
Where Should the Reviewer Start?
/modules/react/button