Customize and generate a simple css style guide.
npm i cssmitten
Add a config.json
file to your project
Add a run script to your package.json
file
"styles": "npx cssmitten ./path/to/your/config.json
> ./path/to/styles.css"
then type npm run styles
-
expose configuration
- base font size
- scale
- colors
-
build customization website
- change configuration
- export file