mirror of
https://github.com/twbs/bootstrap.git
synced 2024-11-29 11:24:18 +01:00
f729e4c7d1
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
16 lines
429 B
SCSS
16 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
|