1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-30 16:50:00 +02:00

Use -* vars for .bg-* and .text-* utilities

- Simplifies variables usage
- Makes components and brand variable usage more consistent (dark bg and white text throughout instead of some mixed light and dark bgs)
- Very likely means lower contrast and thus no more AA compliance (we'll want to fix that eventually obviously)
This commit is contained in:
Mark Otto
2015-08-13 23:47:47 -07:00
parent b2f9fe4a3e
commit 6a75d07e0c
2 changed files with 9 additions and 14 deletions

View File

@@ -3,6 +3,7 @@
// [converter] $parent hack
@mixin bg-variant($parent, $color) {
#{$parent} {
color: #fff;
background-color: $color;
}
a#{$parent} {