0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-11-29 11:24:18 +01:00
Bootstrap/scss/mixins/_alert.scss

16 lines
393 B
SCSS
Raw Normal View History

// 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);
}
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
}
}
// scss-docs-end alert-variant-mixin