-
Notifications
You must be signed in to change notification settings - Fork 201
fix(stepper): express theme button border #2272
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
🚀 Deployed on https://pr-2272--spectrum-css.netlify.app |
76fd52b
to
8fc12b4
Compare
File metricsSummaryTotal size: 3.61 MB*
Detailsstepper
* An ASCII character in UTF-8 is 8 bits or 1 byte. |
b79c448
to
c025e5c
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.
Nice work on this. The Express version is looking more like the spec now.
I did notice one small thing on the Large and Extra Large sizes on the docs. The buttons are a different height, which I think can be fixed by removing the transparent top border on the bottom button's .spectrum-InfieldButton-fill
? I tried it and it seems to improve the spacing around the buttons on those two sizes and make the heights the same.
This is also a problem in prod, but the Express version in high contrast mode is a little weird in places. I don't know what the best fix might be as there isn't a design to go off of. The disabled state border cuts off a little, and the small size buttons get a little harder to read. There's also the gap / missing border between the buttons. It makes me wonder if WHCM for Express should show like WHCM Spectrum, but with the 2px border.
Great catches, thanks @jawinn! You should see the height difference in L and XL fixed in #2300. It does look like there's still some weirdness on S and M sizes there though, so I'll plan to address that as part of PR 2300. As far as WHCM for Express, I'll make a card for this since it sounds like there might need to be some convo with the design team. |
c9c2299
to
2c9965d
Compare
2c9965d
to
c8a074a
Compare
c8a074a
to
1ffbecb
Compare
Description
Per issue #2235, in the Express theme the infield buttons used in stepper shouldn't have a border. This work adjusts the theming variables so that Express theme matches the spec, and Spectrum theme work remains unchanged since it already matches the spec.
How and where has this been tested?
Please tag yourself on the tests you've marked complete to confirm the tests have been run by someone other than the author.
Validation steps
Note that if you refresh the page, the theme will automatically reset to Spectrum.
Regression testing
Validate:
To-do list