2023-11-02 21:33:55 +04:00
|
|
|
@include deprecate("`alert-variant()`", "v5.3.0", "v6.0.0");
|
|
|
|
|
2023-10-23 13:48:44 +04:00
|
|
|
// scss-docs-start alert-variant-mixin
|
|
|
|
@mixin alert-variant($background, $border, $color) {
|
|
|
|
--#{$prefix}alert-color: #{$color};
|
|
|
|
--#{$prefix}alert-bg: #{$background};
|
|
|
|
--#{$prefix}alert-border-color: #{$border};
|
2023-11-02 21:33:55 +04:00
|
|
|
--#{$prefix}alert-link-color: #{shade-color($color, 20%)};
|
2023-10-23 13:48:44 +04:00
|
|
|
|
|
|
|
@if $enable-gradients {
|
|
|
|
background-image: var(--#{$prefix}gradient);
|
|
|
|
}
|
|
|
|
|
|
|
|
.alert-link {
|
2023-11-02 21:33:55 +04:00
|
|
|
color: var(--#{$prefix}alert-link-color);
|
2023-10-23 13:48:44 +04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
// scss-docs-end alert-variant-mixin
|