maximkoretskiy / postcss-initial

PostCSS plugin to fallback initial keyword
MIT License
187 stars 11 forks source link

any plans to also support "unset"? #35

Open MathGeniusJodie opened 4 years ago

MathGeniusJodie commented 4 years ago

or at least can I shamelessly copy this file to make my own plugin? https://github.com/maximkoretskiy/postcss-initial/blob/master/lib/decls.json should be trivial since the data contains which properties are inherited right? do all the "inherited": true properties match the css spec?

Antonio-Laguna commented 2 years ago

@MathGeniusJodie I know this is an old issue but we finally added support for unset in a new plugin here: https://github.com/csstools/postcss-plugins/tree/main/plugins/postcss-unset-value

It is bundled with preset-env as well.

MathGeniusJodie commented 2 years ago

awesome!