mirror of
https://github.com/twbs/bootstrap.git
synced 2022-11-09 12:25:43 -05:00
Add color CSS vars for .alert-link (#36456)
* color css vars for .alert-link * Update scss/mixins/_alert.scss Co-authored-by: Mark Otto <otto@github.com>
This commit is contained in:
parent
1b3c38d2cd
commit
3b95c311ea
1 changed files with 2 additions and 1 deletions
|
|
@ -3,13 +3,14 @@
|
|||
--#{$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: shade-color($color, 20%);
|
||||
color: var(--#{$prefix}alert-link-color);
|
||||
}
|
||||
}
|
||||
// scss-docs-end alert-variant-mixin
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue