-
Notifications
You must be signed in to change notification settings - Fork 195
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
🚨 DO NOT MERGE 🚨 - feat(tokens)!: Migrate to Spectrum 2 "foundations" #2713
Conversation
|
🚀 Deployed on https://pr-2713--spectrum-css.netlify.app |
File metricsSummaryTotal size: 4.47 MB* Table reports on changes to a package's main file. Other changes can be found in the collapsed Details section below.
Detailsassetcard
card
dial
modal
page
site
slider
splitview
table
tokens
* Results are not gzipped or minified. * An ASCII character in UTF-8 is 8 bits or 1 byte. |
@@ -120,7 +120,7 @@ governing permissions and limitations under the License. | |||
); | |||
|
|||
/* Divider */ | |||
--spectrum-accordion-divider-color: var(--spectrum-gray-300); | |||
--spectrum-accordion-divider-color: var(--spectrum-gray-200); |
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.
In the context of upgrade this make sense, but is there a direction forward given --spectrum-accordion-divider-color
will be referenced in both S1 and S2 in swc? Won't this be a custom DIY token rather?
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.
(cc: @jnjosh) This is a good call-out, and just one example of a place where this will likely need to be addressed.
17e47b1
to
f8c4972
Compare
BREAKING CHANGE: migrates Spectrum CSS to Spectrum 2
Migrates any instance of `--spectrum-gray-50` to use `--spectrum-gray-25` as per the S2 migration guide
Migrates usages of `--spectrum-gray-75` to use `--spectrum-gray-50` as per the s2 migration guide.
Migrates usages of `--spectrum-gray-100` to use `--spectrum-gray-75` as per the s2 migration guide
Migrates usages of `--spectrum-gray-200` to use `--spectrum-gray-100` as per the s2 migration guide
Migrates usages of `--spectrum-gray-300` to use `spectrum-gray-200` as per the s2 migration guide
9374b63
to
6280e7e
Compare
🚨 DO NOT MERGE
Spectrum 2 Foundations
darkest
theme deprecated and removed;light
anddark
are the two color "themes" in S2express
removed--spectrum-gray-50
->--spectrum-gray-25
--spectrum-gray-75
->--spectrum-gray-50
--spectrum-gray-100
->--spectrum-gray-75
--spectrum-gray-200
->--spectrum-gray-100
--spectrum-gray-300
->--spectrum-gray-200
I'm going to try to keep my commits logically separated so that this work is a little less taxing to review. I'd suggest that reviewers look commit-by-commit at the changes rather than referring to the "files changed" diffs.
If this branch becomes too difficult to manage before we merge, we can look for opportunities to squash some commits (the grays migrations are probably good candidates for this)
Description
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
Regression testing
Validate:
Screenshots
To-do list