NexusDashboard/app/static/bootstrap-4.2.1/scss/mixins/_badge.scss
2022-01-16 12:22:00 -06:00

12 lines
208 B
SCSS

@mixin badge-variant($bg) {
color: color-yiq($bg);
background-color: $bg;
@at-root a#{&} {
@include hover-focus {
color: color-yiq($bg);
background-color: darken($bg, 10%);
}
}
}