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