NexusDashboard/app/static/bootstrap-4.2.1/scss/mixins/_badge.scss

12 lines
208 B
SCSS
Raw Normal View History

2022-01-16 18:22:00 +00:00
@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%);
}
}
}