-
Notifications
You must be signed in to change notification settings - Fork 198
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
chore: adds transparent-tokens.js #3452
base: main
Are you sure you want to change the base?
chore: adds transparent-tokens.js #3452
Conversation
|
🚀 Deployed on https://pr-3452--spectrum-css.netlify.app |
File metricsSummaryTotal size: 3.25 MB* Table reports on changes to a package's main file. Other changes can be found in the collapsed Details section below.
Detailstokens
* Results are not gzipped or minified. * An ASCII character in UTF-8 is 8 bits or 1 byte. |
f9665ba
to
7820d75
Compare
7820d75
to
892feda
Compare
- postcss-transparent-mapping pluging created - test.js file and new fixtures/expected CSS files
892feda
to
7429c49
Compare
- adds transparent-mapping to tokens postcss config - adds transparent-mapping to tokens devDependencies
7429c49
to
5d1daf9
Compare
Description
This PR builds upon the idea the the rgb-mapping plugin introduced to the repo.
--spectrum-disabled-content-color: var(--spectrum-transparent-white-200)
--spectrum-disabled-content-color-rgb
and--spectrum-disabled-content-color-opacity
--spectrum-disabled-content-color: rgba(var(--spectrum-disabled-content-color-rgb), var(--spectrum-disabled-content-color-opacity)
Jira/Specs
CSS-451
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
node ./plugins/postcss-rgb-mapping/transparent-tokens.js
Regression testing
Validate:
Screenshots
To-do list