blob: eeca0b40de92773d3925c557edb2c6642ff37645 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
|
@mixin badge-variant($bg) {
color: color-yiq($bg);
background-color: $bg;
&[href] {
@include hover-focus {
color: color-yiq($bg);
text-decoration: none;
background-color: darken($bg, 10%);
}
}
}
|