1
2
3
4
5
6
7
8
9
10
11
12
13
| // Contextual backgrounds
|
| @mixin bg-variant($parent, $color) {
| #{$parent} {
| color: #fff !important;
| background-color: $color !important;
| }
| a#{$parent} {
| @include hover-focus {
| background-color: darken($color, 10%);
| }
| }
| }
|
|