Skip to content

postcss-gradients-interpolation-method : leverage @csstools/css-color-parser #901

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

Merged
merged 5 commits into from
Mar 24, 2023

Conversation

romainmenke
Copy link
Member

@romainmenke romainmenke commented Mar 24, 2023

https://github.com/csstools/postcss-plugins/blob/270ddd3f7826ba981272f3f91f47fb1e8dd27981/plugins/postcss-gradients-interpolation-method/README.md

I've made this a breaking change because it is a complete rewrite.
I wouldn't yet add it to postcss-preset-env, but I think it is good to have some extra coverage for color-mix at this time.

The parser algorithm is more complex/messy than I would like which is why I don't feel fully confident in this yet. But should be ready for release so that people can play with it.

@Antonio-Laguna
Copy link
Member

@romainmenke this LGTM! I don't think anyone will be impacted by this being major to a worse experience but I trust your gut!

@romainmenke romainmenke merged commit e60e403 into main Mar 24, 2023
@romainmenke romainmenke deleted the gradient-interpolation--intuitive-robin-fa22c8c650 branch March 24, 2023 12:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants