@filipelinhares Thanks for your suggestions! I have a few notes:
Don't really get how you would solve media queries?
Regarding atomify being a build tool, I think the first implementation would be a simple CLI tool that you can plug and play into your existing workflow (shout out to Unix) but we can definitely think of other options in the future (such as loaders, etc)
I see as a very good tool for code refactoring. Use it in a code that does not use css atomic but will use, would be very handy.
Is a build tool a good way to approach this?
Yes, would be great to have a tool to do it.
Have some options that I think would be nice to have:
How to generate a proper report for the compiled file?
We can group related properties in section (with comments) or different files.
or:
How to handle media queries?
The input:
The output:
How to sync dev vs. prod markup?
I think atomify don't need to care about markup.
Related tools
How does other projects are dealing with the atomic CSS approach?