big-moving.ru/assets/vendor_components/bootstrap/scss/mixins/_badge.scss

13 lines
234 B
SCSS
Executable File

@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%);
}
}
}