mirror of
https://github.com/twbs/bootstrap.git
synced 2024-11-29 11:24:18 +01:00
acf6ea74a7
* Add additional root variables, rename $variable-prefix to $prefix - Adds new root CSS variables for border-radius, border-width, border-color, and border-style - Adds new root CSS variables for heading-color, link-colors, code color, and highlight color - Replaces most instances of Sass variables (for border-radius, border-color, border-style, and border-width) for CSS variables inside _variables.scss - Updates $mark-padding to be an even pixel number - Renames $variable-prefix to $prefix throughout * Bundlewatch
16 lines
393 B
SCSS
16 lines
393 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};
|
|
|
|
@if $enable-gradients {
|
|
background-image: var(--#{$prefix}gradient);
|
|
}
|
|
|
|
.alert-link {
|
|
color: shade-color($color, 20%);
|
|
}
|
|
}
|
|
// scss-docs-end alert-variant-mixin
|