You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+11Lines changed: 11 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -49,6 +49,17 @@ This is a convenience method for watching just Stylus files and automatically bu
49
49
50
50
Should you encounter problems with installing dependencies or running Grunt commands, uninstall all previous dependency versions (global and local). Then, rerun `npm install`.
51
51
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.
0 commit comments