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.

18 lines
525 B

8 months ago
  1. @include deprecate("`alert-variant()`", "v5.3.0", "v6.0.0");
  2. // scss-docs-start alert-variant-mixin
  3. @mixin alert-variant($background, $border, $color) {
  4. --#{$prefix}alert-color: #{$color};
  5. --#{$prefix}alert-bg: #{$background};
  6. --#{$prefix}alert-border-color: #{$border};
  7. --#{$prefix}alert-link-color: #{shade-color($color, 20%)};
  8. @if $enable-gradients {
  9. background-image: var(--#{$prefix}gradient);
  10. }
  11. .alert-link {
  12. color: var(--#{$prefix}alert-link-color);
  13. }
  14. }
  15. // scss-docs-end alert-variant-mixin