1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-22 13:13:03 +02:00

Revamp background utilities and add new .text-white utility

- Rather than mix multiple properties in our color utilities, this splits all color and all background utils into separate classes.
- Adds new .text-white class to help lighten text color for darker backgrounds
This commit is contained in:
Mark Otto
2016-09-08 22:18:40 -07:00
parent 0be876359e
commit a96038b50a
3 changed files with 13 additions and 9 deletions

View File

@@ -32,6 +32,10 @@
// Contextual colors
.text-white {
color: #fff !important;
}
@include text-emphasis-variant('.text-muted', $text-muted);
@include text-emphasis-variant('.text-primary', $brand-primary);