forked from thomaspark/bootswatch
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
readme: updated to mention watcher.rb
- Loading branch information
1 parent
a771384
commit 0d32394
Showing
2 changed files
with
17 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,27 @@ | ||
Create your own swatch | ||
====================== | ||
|
||
Step 1 | ||
1. Download Bootstrap | ||
------ | ||
Download the latest Bootstrap source from https://github.com/twitter/bootstrap/downloads. Unpack it to the `swatchmaker` directory and rename the folder `bootstrap`. | ||
|
||
This can be done automatically by running `make bootstrap`. | ||
|
||
Step 2 | ||
2. Install LESS | ||
------ | ||
Make your customizations to the two files found in the `swatch` directory, `variables.less` and `bootswatch.less`. | ||
If you haven't already, install LESS to your machine via NPM. More information on that here: http://lesscss.org/#-server-side-usage | ||
|
||
Step 3 | ||
3. Customize Bootstrap | ||
------ | ||
If you haven't already, install LESS to your machine via NPM. More information on that here: http://lesscss.org/#-server-side-usage | ||
Make your customizations to the two files found in the `swatch` directory, `variables.less` and `bootswatch.less`. | ||
|
||
|
||
Step 4 | ||
4. Build Customized Bootstrap | ||
------ | ||
In terminal, navigate to the `swatchmaker` directory and run `make bootswatch`. The compiled CSS files will be created in the `swatch` directory. | ||
|
||
Step 5 | ||
You can run the watcher to automatically build Bootstrap whenever changes are saved with `ruby watcher.rb`. Requires `gem install directory_watcher`. | ||
|
||
5. Reset Bootstrap | ||
------ | ||
If you want to reset `variables.less` and `bootswatch.less` to defaults, run `make default`. |