0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-12-03 15:24:19 +01:00
Bootstrap/scss/mixins/_alert.scss

17 lines
463 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};
--#{$prefix}alert-link-color: #{shade-color($color, 20%)};
@if $enable-gradients {
background-image: var(--#{$prefix}gradient);
}
2014-12-02 23:02:35 +01:00
.alert-link {
color: var(--#{$prefix}alert-link-color);
2014-12-02 23:02:35 +01:00
}
}
// scss-docs-end alert-variant-mixin