tachyons-css / cli

Cli to postprocess tachyons stylesheets and generate documentation
http://tachyons.io
ISC License
76 stars 10 forks source link

Interface to support additional postcss plugins in tachyons-build-css #15

Open meghna opened 7 years ago

meghna commented 7 years ago

Now that the tachyons build process supports additional postcss plugins (https://github.com/tachyons-css/tachyons-build-css/pull/9), I was wondering if it makes sense for the client to support it in it's interface.

The user would supply a json file via a new flag (--postcss-plugins maybe?) that would include a list of additional postcss plugins and their options. It would look like this:

{
  "postcss-color-function": {}
}