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