postcss-plugins icon indicating copy to clipboard operation
postcss-plugins copied to clipboard

[postcss-env-function] : verify documentation

Open romainmenke opened this issue 3 years ago • 1 comments

This plugin is no longer a part of postcss-preset-env.

Are there any changes needed on the README to reflect that the way the plugin works is non-standard?

Maybe nothing needs to be done here, maybe just a warning label needs to be added.

romainmenke avatar Jul 09 '22 09:07 romainmenke

oh nice, yep, this just got me, updated docs would be great 👍🏻

argyleink avatar Jul 20 '22 19:07 argyleink

Added this snippet :

⚠️ Custom Environment Variables were never defined in a specification and we are no longer including this in postcss-preset-env. In the future there might be renewed interest in Custom Environment Variables.

We advice users of this plugin to seek alternatives such as postcss-design-tokens

https://github.com/csstools/postcss-plugins/tree/postcss-preset-env--v8/plugins/postcss-env-function#readme

romainmenke avatar Nov 07 '22 21:11 romainmenke