16 lines
393 B
SCSS
Executable File
16 lines
393 B
SCSS
Executable File
// 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};
|
|
|
|
@if $enable-gradients {
|
|
background-image: var(--#{$prefix}gradient);
|
|
}
|
|
|
|
.alert-link {
|
|
color: shade-color($color, 20%);
|
|
}
|
|
}
|
|
// scss-docs-end alert-variant-mixin
|