hugo-whisper-theme/assets/scss/bootstrap/mixins/_badge.scss
2019-02-17 16:55:16 +10:00

12 lines
230 B
SCSS
Executable file

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