You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
chore: adds support to parse "transparent" token references (#3452)
* feat(tokens): add transparent token handling
* adds transparent mapping into rgb-mapping plugin
- custom properties that reference transparent tokens will now be mapped
to their corresponding transparent rgb/opacity tokens
- extends the work that the rgb-mapping plugin already does
* test: add plugin test cases
* chore(plugins/postcss-rgb-mapping): update README.md
* chore: add changeset
...the plugin can now convert this single custom property into its `-rgb` and `-opacity` postfixed variables, that each correspond to the `-rgb` and `-opacity` variables of the definition's transparent token. It then reassembles the original, using and referencing these newly created variables.
0 commit comments