-
Notifications
You must be signed in to change notification settings - Fork 201
feat(logicbutton): update to use tokens #2175
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
912edcf
to
dbd9959
Compare
🚀 Deployed on https://pr-2175--spectrum-css.netlify.app |
dbd9959
to
5986213
Compare
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!
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.
There is one update needed for high contrast mode. On the disabled buttons, the border is currently changing to the highlight color on hover, making it look interactive. It should remain as the GrayText.
While we're there, it'd be a good idea to add the type="button"
attribute to all of the <button>
elements used within the example docs and the storybook template.
3d770f2
to
a0a2513
Compare
eda2352
to
2f6581b
Compare
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.
Good to go! I double-checked high contrast mode and the previous comments have been resolved.
2f6581b
to
15988fa
Compare
Adds some extra room between the example buttons in the docs site. Refs #714 CSS-218
15988fa
to
3dd6471
Compare
Description
This PR updates the Logic Button component to utilize Spectrum tokens. It also adds two additional stories to Storybook to test the Or variant and Disabled.
How and where has this been tested?
Tested by @jawinn :
Regression testing
Validate: @jawinn
Screenshots
To-do list
I have read the contribution guidelines.
I have updated relevant storybook stories and templates.
I have tested these changes in Windows High Contrast mode.
If my change impacts other components, I have tested to make sure they don't break.
If my change impacts documentation, I have updated the documentation accordingly.
✨ This pull request is ready to merge. ✨