Skip to content
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

Why is this missing from postcss-preset-env? #53

Closed
lambert-velir opened this issue Dec 19, 2018 · 1 comment

Comments

@lambert-velir
Copy link

commented Dec 19, 2018

Hi!

This package looks awesome and I'd like to use it in my day to day! Though, I'm confused about its position in the css world. I see that there are a bunch of browsers that already support this with prefixing (https://www.caniuse.com/#feat=css-color-adjust), so autoprefixer should take care of those, but what about edge/ie? I'm also noticing that it was a part of cssnext.io (http://cssnext.io/features/#color-function) but I don't see it in post-css-env (https://preset-env.cssdb.org/features). What's the status with this?

Thanks!

@lambert-velir

This comment has been minimized.

Copy link
Author

commented Dec 19, 2018

Welp, to answer my own question, after further research, according to (https://moox.io/blog/deprecating-cssnext/), this repo was removed in favor of postcss-color-mod-function (https://github.com/jonathantneal/postcss-color-mod-function). And looking at that repo, it seems that it's been deprecated.

color-mod() has been removed from the draft of Color Module Level 4 specification.

Sooo, I guess we won't see this functionality in css anytime soon :(

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant
You can’t perform that action at this time.