atomic-css-from-json
v0.0.1
Published
Generate static libraries of immutable utility classes from a JSON settings file
Downloads
1
Readme
Atomic CSS From JSON
Atomic CSS From JSON allows you to generate static libraries of immutable utility classes from a JSON settings file.
The foundation of any design system involves 3 things: layout, color and typography.
Edit the theme file to select which modules, naming systems, scales and styles you wish to use. The generator will translate these core design settings into an Atomic CSS Design System.
This project uses the tremendously useful AbsurdJS library to generate CSS from JS.
https://github.com/krasimir/absurd
These articles were helpful to me when building this project:
https://medium.com/javascript-training/introduction-to-using-npm-as-a-build-tool-b41076f488b0
https://medium.freecodecamp.com/writing-command-line-applications-in-nodejs-2cf8327eee2
https://developer.atlassian.com/blog/2015/11/scripting-with-node/
http://javascriptplayground.com/blog/2015/03/node-command-line-tool/
https://github.com/sitepoint-editors/ginit/blob/master/index.js