mirror of
https://github.com/twbs/bootstrap.git
synced 2025-08-24 22:16:38 +02:00
Add CSS variable for .alert-link
This commit is contained in:
@@ -3,13 +3,14 @@
|
|||||||
--#{$prefix}alert-color: #{$color};
|
--#{$prefix}alert-color: #{$color};
|
||||||
--#{$prefix}alert-bg: #{$background};
|
--#{$prefix}alert-bg: #{$background};
|
||||||
--#{$prefix}alert-border-color: #{$border};
|
--#{$prefix}alert-border-color: #{$border};
|
||||||
|
--#{$prefix}alert-link-color: #{shade-color($color, 20%)};
|
||||||
|
|
||||||
@if $enable-gradients {
|
@if $enable-gradients {
|
||||||
background-image: var(--#{$prefix}gradient);
|
background-image: var(--#{$prefix}gradient);
|
||||||
}
|
}
|
||||||
|
|
||||||
.alert-link {
|
.alert-link {
|
||||||
color: shade-color($color, 20%);
|
color: var(--#{$prefix}alert-link-color);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// scss-docs-end alert-variant-mixin
|
// scss-docs-end alert-variant-mixin
|
||||||
|
Reference in New Issue
Block a user