|
2 | 2 |
|
3 | 3 | A suite of SCSS plugins used for developing Bootstrap 4 themes and sites.
|
4 | 4 |
|
5 |
| -This package aims to add a few useful tools to help speed up development of themes in Bootstrap 4 by adding some quick classes and mixins. |
| 5 | +This package aims to add a few useful classes and mixins, not found in "vanilla" Bootstrap 4, to help speed up the development of websites. |
6 | 6 |
|
7 | 7 | **Can't you do this yourself by editing some variables?**
|
8 | 8 |
|
9 | 9 | Of course you can! This package exists purely to make it faster to replicate some commonly used customizations.
|
10 | 10 |
|
11 | 11 | ## Usage
|
12 | 12 |
|
13 |
| -There are a couple ways in use these plugins: |
| 13 | +There are a couple ways to use the plugins, but all steps begin with importing the main Bootstrap files first. |
14 | 14 |
|
15 |
| -1. Add all of them to your project by importing the `plugin.scss` file found in the root `scss/` directory, or |
16 |
| -2. Add individual plugins by importing the other `.scss` files found in the root `scss/` directory. |
| 15 | +### Include everything using the plugin file |
17 | 16 |
|
18 |
| -Once you have done that, you can use them as you would any other bootstrap feature. |
| 17 | +```scss |
| 18 | +@import 'path/to/node_modules/bootstrap/scss/bootstrap'; |
| 19 | +@import 'path/to/node_modules/bootstrap-scss-plugins/scss/plugins'; |
| 20 | +``` |
| 21 | + |
| 22 | +### Include single plugins |
| 23 | + |
| 24 | +```scss |
| 25 | +@import 'path/to/node_modules/bootstrap/scss/bootstrap'; |
| 26 | +@import 'path/to/node_modules/bootstrap-scss-plugins/scss/responsive-typography'; |
| 27 | +@import 'path/to/node_modules/bootstrap-scss-plugins/scss/font-sizes'; |
| 28 | +``` |
| 29 | + |
| 30 | +Once you have imported all the files you need, you can simply use the classes and mixins are you would any other Bootstrap feature. |
| 31 | + |
| 32 | +For more detailed usage of each plugin, please see the docs. |
| 33 | + |
| 34 | +## Classes |
| 35 | + |
| 36 | +- `.border-width-n`: Sets the width of borders. - [Full documentation](docs/classes/border-widths.md) |
| 37 | +- `.btn-rounded`: Rounds the corners of buttons. - [Full documentation](docs/classes/btn-rounded.md) |
| 38 | +- `.btn-squared`: Squares off the corners of buttons. - [Full documentation](docs/classes/btn-squared.md) |
| 39 | +- `.col-count-n`: Sets the column count of groups. - [Full documentation](docs/classes/col-count.md) |
| 40 | +- `.font-size-x`: Sets the font size of text. - [Full documentation](docs/classes/font-sizes.md) |
| 41 | +- `.text-outline`: Outlines text. - [Full documentation](docs/classes/text-outline.md) |
| 42 | + |
| 43 | +## Mixins |
| 44 | + |
| 45 | +- `media-ie`: Media queries to for Internet Explorer. - [Full documentation](docs/mixins/media-ie.md) |
| 46 | + |
| 47 | +## Other Features |
| 48 | + |
| 49 | +- Responsive typography - [Full documentation](docs/other/responsive-typography.md) |
0 commit comments