- Download Bootstrap
Download and unpack Bootswatch. In terminal, navigate to swatchmaker/
and run the command make bootstrap
to update to the latest version of Bootstrap.
- Install LESS
If you haven't already, install LESS to your machine via NPM. More information on that here: http://lesscss.org/#-server-side-usage
- Customize Bootstrap
Make your customizations to the two files found in the swatch
directory, variables.less
and bootswatch.less
.
- Build Customized Bootstrap
In the swatchmaker
directory, run make bootswatch
. The compiled CSS files will be created in the swatch
directory.
You can run the watcher to automatically build Bootstrap whenever changes are saved with ruby watcher.rb
. Requires gem install directory_watcher
.
- Reset Bootstrap
If you want to reset variables.less
and bootswatch.less
to defaults, run make default
.