spectrum-css
spectrum-css copied to clipboard
feat(swatch)!: migrate swatch to core tokens
Description
- Update windows high contrast mode
- Update YAML examples
- Rename
--spectrum-picked-colorto--mod-swatch-fill-background-color - Add
is-imageclass to Image, Gradient, and Mixed Value swatches for transparent backgrounds
- Rename
Note: There are currently two open questions about border colors and the XS workflow icon size in Slack, however, these may not be blockers for this work.
How and where has this been tested?
- Tested locally referencing the Swatch XD file.
- Tested WHCM with forced colors in Chrome Emulation
- Medium and Large scales
Screenshots
To-do list
- [x] If my change impacts other components, I have tested to make sure they don't break.
- [x] If my change impacts documentation, I have updated the documentation accordingly.
- [x] I have read the CONTRIBUTING document.
- [x] I have tested these changes in Windows High Contrast mode.
- [ ] This pull request is ready to merge.
🚀 Deployed on https://pr-1501--spectrum-css.netlify.app
VRT is: https://spectrum-visual-regression.ci.corp.adobe.com/view/Spectrum%20CSS/job/css-vrt-test/39 1501 - swatch.zip
Released beta:
@spectrum-css/[email protected]
@yosevu can you open a PR in the Spectrum Web Components repo with this update? Note the version number here ☝🏻 - I had a bad publish at the 2.0.0-beta.0 release, so use the .1 one, please.
Also, I've rebased this branch against the latest stuff in main.
@pfulton or @GarthDB could you create a new beta release for Swatch please?
Released:
- @spectrum-css/[email protected]
Released: @spectrum-css/[email protected]