csstools/postcss-custom-media

Add extensions using node api

necolas opened this issue · 4 comments

See: https://github.com/reworkcss/rework-custom-media

But I'd probably call the property extensions rather than map. Handy to be able to set these from JS like you can with custom properties.

(Also would be cool to acknowledge the rework plugins many of these postcss plugins were based on.)

MoOx commented

Nice idea.

(For the acknowledgements, first commit of each ripped plugin contains reference to the version I've used + reference in the changelog (example. I've also put a big thanks at the end of cssnext file. Do you think I should add an clear & more visible one in each postcss plugin ? )

That's kind of the terms of their license.

About this issue though. This is a feature I'd need in order to switch things over to cssnext. Thinking it could become the preprocessor that SUIT uses; one less thing to maintain, and these modules look great.

@MoOx Thanks for discussing/merging/closing all these issues :)