2021-02-11 04:29:59 +01:00
|
|
|
// scss-docs-start alert-variant-mixin
|
2017-06-26 03:22:51 +02:00
|
|
|
@mixin alert-variant($background, $border, $color) {
|
2021-12-17 06:16:24 +01:00
|
|
|
--#{$variable-prefix}alert-color: #{$color};
|
|
|
|
--#{$variable-prefix}alert-bg: #{$background};
|
|
|
|
--#{$variable-prefix}alert-border-color: #{$border};
|
|
|
|
|
|
|
|
@if $enable-gradients {
|
|
|
|
background-image: var(--#{$variable-prefix}gradient);
|
|
|
|
}
|
2014-12-02 23:02:35 +01:00
|
|
|
|
|
|
|
.alert-link {
|
2020-10-13 09:58:06 +02:00
|
|
|
color: shade-color($color, 20%);
|
2014-12-02 23:02:35 +01:00
|
|
|
}
|
|
|
|
}
|
2021-02-11 04:29:59 +01:00
|
|
|
// scss-docs-end alert-variant-mixin
|