fix(statuslight): remove accent variant tokens#3561
Conversation
🦋 Changeset detectedLatest commit: e16cdea The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
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 |
File metricsSummaryTotal size: 1.42 MB* Table reports on changes to a package's main file.
statuslight
* An ASCII character in UTF-8 is 8 bits or 1 byte. |
|
🚀 Deployed on https://pr-3561--spectrum-css.netlify.app |
|
|
||
| /* Dot */ | ||
| &::before { | ||
| --spectrum-statuslight-spacing-computed-top-to-dot: calc(var(--mod-statuslight-spacing-top-to-dot, var(--spectrum-statuslight-spacing-top-to-dot)) - var(--mod-statuslight-spacing-top-to-label, var(--spectrum-statuslight-spacing-top-to-label))); |
There was a problem hiding this comment.
I think this must have been a linter fix- I didn't intentionally move this and didn't see it until the PR was created.
| forced-color-adjust: none; | ||
| --highcontrast-statuslight-content-color-default: CanvasText; | ||
| --highcontrast-statuslight-subdued-content-color-default: CanvasText; | ||
| forced-color-adjust: none; |
There was a problem hiding this comment.
Same here- I think this must have been a linter fix.
| </div> | ||
| `; | ||
|
|
||
| // TODO: the accent variant will be removed in S2. |
There was a problem hiding this comment.
I put this TODO in main during the status light docs migration, but during the S2 status light migration I had removed the accent variant already.
22895c0 to
5456dad
Compare
- removes --spectrum-statuslight-semantic-accent-color from CSS - removes deprecated accent variant from template and tests - adds changeset - update metadata.json
34122ea to
e16cdea
Compare
- removes --spectrum-statuslight-semantic-accent-color from CSS - removes deprecated accent variant from template and tests - adds changeset - update metadata.json
- removes --spectrum-statuslight-semantic-accent-color from CSS - removes deprecated accent variant from template and tests - adds changeset - update metadata.json
- removes --spectrum-statuslight-semantic-accent-color from CSS - removes deprecated accent variant from template and tests - adds changeset - update metadata.json
Description
This PR addresses the
TODOto remove the accent variant of the status light. The accent variant is not supported in S2, so all references in the documentation, tests and CSS should be removed now.--spectrum-statuslight-semantic-accent-colorfrom CSSHow 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
Additional validation
--spectrum-statuslight-semantic-accent-colorresults in nothing being found.spectrum-StatusLight--accentresults in nothing being foundRegression testing
Validate:
Screenshots
Before 🚫

After ✅

To-do list