docs/2/swatchmaker/README.md
Download or clone Bootswatch.
In terminal, navigate to /bootswatch/swatchmaker/ and run the command make bootstrap to download the latest version of Bootstrap.
If you haven't before, install npm. Next, navigate to /bootswatch/swatchmaker/bootstrap/ and type npm install to locally install Bootstrap dependencies (uglify-js, jshint, recess, connect, hogan.js).
Make your customizations to the two files found in /bootswatch/swatchmaker/swatch/: variables.less and bootswatch.less. You can also copy over the less files from an existing theme and modify them.
In /bootswatch/swatchmaker/, run make bootswatch. The compiled CSS files will be created in /bootswatch/swatchmaker/swatch/.
You can run the watcher to automatically build Bootstrap whenever changes are saved with make watcher (Requires gem install directory_watcher).
If you want to reset variables.less and bootswatch.less to defaults, run make default.