Skip to content

Commit b67e5f7

Browse files
committed
Merge pull request #76 from morenoh149/patch-4
Update README.md
2 parents 03a8f51 + dfa22e1 commit b67e5f7

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

README.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,17 @@ This is a convenience method for watching just Stylus files and automatically bu
4949

5050
Should you encounter problems with installing dependencies or running Grunt commands, uninstall all previous dependency versions (global and local). Then, rerun `npm install`.
5151

52+
### Usage
53+
* You may select what css components you want to include by editing `stylus/bootstrap.styl`.
54+
* You may override [bootstrap variables](http://getbootstrap.com/customize/#less-variables) in your private code, for example
55+
```
56+
// myStyles.styl
57+
$font-family-serif ?= 'Merriweather', serif
58+
$font-family-base ?= $font-family-serif
59+
@import "bower_components/bootstrap-stylus/stylus/bootstrap.styl" // Or wherever your bootstrap.styl is located
60+
```
61+
this allows flexibility for easily updating to new bootstrap versions. See [?=](https://learnboost.github.io/stylus/docs/operators.html#conditional-assignment--).
62+
* You may select what javascript components you want by editing the uglify task in `gulpfile.js`. You can ommit components by removing them from the `uglify:dist:files` list.
5263

5364
## Original Authors
5465

0 commit comments

Comments
 (0)