mirror of
https://github.com/twbs/bootstrap.git
synced 2024-12-04 16:24:22 +01:00
3b95c311ea
* color css vars for .alert-link * Update scss/mixins/_alert.scss Co-authored-by: Mark Otto <otto@github.com>
17 lines
463 B
SCSS
17 lines
463 B
SCSS
// 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);
|
|
}
|
|
|
|
.alert-link {
|
|
color: var(--#{$prefix}alert-link-color);
|
|
}
|
|
}
|
|
// scss-docs-end alert-variant-mixin
|