axept / prejss

Get the power of PostCSS with plugins in your JSS styles. 🎨 Just put CSS into JS and get it as JSS object.
MIT License
248 stars 13 forks source link

Babel plugin for converting CSS to JSS using PostCSS #1

Closed DenisIzmaylov closed 7 years ago

DenisIzmaylov commented 7 years ago

Extracted from https://github.com/axept/jss-from-css/issues/1

Requirements:

Problem:

Solution:

Additional:

Some examples here:

DenisIzmaylov commented 7 years ago

Just discussed with @lttb and decided to use https://github.com/michael-ciniawsky/postcss-load-config for PostCSS configs.

Also he will extend API for the plugin to use TaggedTemplateExpression - https://github.com/lttb/babel-plugin-prejss/issues/3

Let's keep this issue opened until the changes will be applied.

DenisIzmaylov commented 7 years ago

Do not implement it.