mirror of
https://github.com/twbs/bootstrap.git
synced 2022-11-09 12:25:43 -05:00
f729e4c7d1
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
15 lines
429 B
SCSS
15 lines
429 B
SCSS
// scss-docs-start alert-variant-mixin
|
|
@mixin alert-variant($background, $border, $color) {
|
|
--#{$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);
|
|
}
|
|
|
|
.alert-link {
|
|
color: shade-color($color, 20%);
|
|
}
|
|
}
|
|
// scss-docs-end alert-variant-mixin
|