We love ITCSS. But it can be hard to grow fluidly.
“While writing I felt I spent much more time moving and
organizing the CSS than I would normally do...”
Creating new modules and importing them takes a precious time and ends up you wishing they come in a single package. But this would go against one of the best CSS practices:
That's why itcsscli were created. So you can create ITCSS modules, install inuitcss files independently and import it all into your sass base file automatically without breaking your workflow abruptly.
itcsscli is a very simple and small RubyGem. To install it on your computer must have ruby and then install the gem from your terminal:
If this command fails, you can force it prepending `sudo`.
You can setup itcsscli interactively:
Now that everything seems to be configured, you can run itcss commands from the root of your project:
Download and import inuitcss modules should not be that hard. That’s why we decided to add inuit commands to itcsscli. They use your package manager to download the external modules and import it all into your sass base file.
itcsscli provides you a fully automated documentation so you can take a deep overview of your work without opening thousands of files.