more references.

This commit is contained in:
Paul Schneider 2021-04-10 14:11:09 +01:00
commit cede04a33e
179 changed files with 56679 additions and 19289 deletions

View file

@ -0,0 +1,17 @@
@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%);
}
&:focus,
&.focus {
outline: 0;
box-shadow: 0 0 0 $badge-focus-width rgba($bg, .5);
}
}
}