Use a bunch of regex magic to add CSS variables

This commit is contained in:
Skylar Ittner 2017-07-23 23:53:22 -06:00
parent ee21ff9ec8
commit ae03686b60
3 changed files with 696 additions and 573 deletions

View File

@ -2,8 +2,10 @@
Additional color classes for Bootstrap 3. Based on the [Material Design palette](https://material.io/guidelines/style/color.html#color-color-palette).
This branch uses CSS variables instead of inline colors, for easy modification with [any modern browser](http://caniuse.com/#feat=css-variables).
## Notes:
* Link this CSS after you link to Bootstrap.css.
* Use the included color classes instead of .btn-primary, .alert-danger, etc.
* Navbars need both the .navbar-inverse (or .navbar-default for lighter colors, try both and see which works for you) and .navbar-[color] classes to appear properly.
* We recommend using [Bootswatch Paper](http://bootswatch.com/paper/) (a material design Bootstrap theme) with this stylesheet. We don't test or support it on other themes, actually.
* We recommend using [Bootswatch Paper](http://bootswatch.com/paper/) (a material design Bootstrap theme) with this stylesheet. We don't test or support it on other themes, actually.

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long