atomify / atomify-css

Atomic CSS - Reusable front-end styling using Rework, plugins, and Node's resolve algorithm
MIT License
78 stars 18 forks source link

Consider switching from rework to postcss #44

Open joeybaker opened 9 years ago

joeybaker commented 9 years ago

We're using autoprefixer which is based on postcss. It would be nice to not have to parse the CSS twice – which we could do by switching rework for postcss. https://github.com/postcss/postcss/blob/master/README.md#plugins

serapath commented 9 years ago

I tried to understand the difference between the two, but actually i dont. A quick search gives 283 results for ‘postcss-’ and https://www.npmjs.com/search?q=rework- on npmjs

I think i remember that they use the same css parser underneath? ... Does it make sense about the variety of "features" in both eco-systems to compare them and see what they bring to the table?

joeybaker commented 9 years ago

They're tools that to do pretty much the same thing. rework uses css under the hood (that's the direct competitor to postcss AFAIK).

Good point on a feature comparison.

Plus, we get the benefit of treating autoprefixer as a plugin instead of an additional parse + build step.

serapath commented 9 years ago

sounds great :-)