Use a bunch of regex magic to add CSS variables
This commit is contained in:
parent
ee21ff9ec8
commit
ae03686b60
@ -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.
|
||||
|
1262
material-color.css
1262
material-color.css
File diff suppressed because it is too large
Load Diff
3
material-color.min.css
vendored
3
material-color.min.css
vendored
File diff suppressed because one or more lines are too long
Loading…
x
Reference in New Issue
Block a user