You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

_background-variant.scss 252B

12345678910111213
  1. // Contextual backgrounds
  2. @mixin bg-variant($parent, $color) {
  3. #{$parent} {
  4. color: #fff !important;
  5. background-color: $color !important;
  6. }
  7. a#{$parent} {
  8. @include hover-focus {
  9. background-color: darken($color, 10%);
  10. }
  11. }
  12. }