-
Notifications
You must be signed in to change notification settings - Fork 233
fix(sp-picker): s2 theme update - no borders for picker #5733
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
🦋 Changeset detectedLatest commit: 1c1fd16 The changes in this PR will be included in the next version bump. This PR includes changesets to release 84 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
📚 Branch Preview🔍 Visual Regression Test ResultsWhen a visual regression test fails (or has previously failed while working on this branch), its results can be found in the following URLs:
Deployed to Azure Blob Storage: If the changes are expected, update the |
Tachometer resultsChromepicker permalinkbasic-test
Firefoxpicker permalinkbasic-test
|
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.
Thanks @iuliauta, this looks great!
One thing I want to call out that I think is out of scope for this work, is that there's a diff in the VRTs for the position of the text (just for L, it looks like), where there's more spacing above the text where we increased the border width, so it sits lower within the Picker.

I'm wondering if part of the issue is that we're not calculating the border-width out of the spacing like we do with button, for instance doing something like:
--spectrum-picker-spacing-edge-to-text: calc(var(--spectrum-component-edge-to-text-100) - var(--spectrum-picker-border-width));
This would help keep the spacing consistent even if the border width changes.
All of that said though, since the fix would need to happen outside of the theme files, I think it's out of scope, but I wanted to explain what I think might be happening here.
Thank you for pointing it out! I tried to see how this change will influence the themes and it seems that it impacts spectrum-1 theme and I suggest to address this improvement in another PR, unrelated to CSS themes PRs (as you already mentioned in your message). |
24de739
to
e1824f2
Compare
660b721
to
1d37e1f
Compare
1d37e1f
to
7d7f677
Compare
…the code review request
…ng because it breaks s1 theme
7d7f677
to
100f01a
Compare
Description
Picker border color should be hidden in S2 theme
Motivation and context
Fix the regressions found after changing from the express theme to the spectrum-two theme.
Related issue(s)
Screenshots (if appropriate)
Spectrum 2

Spectrum 1

Express

Author's checklist
Reviewer's checklist
patch
,minor
, ormajor
featuresManual review test cases
Descriptive Test Statement
Device review