mirror of
https://github.com/twbs/bootstrap.git
synced 2024-12-12 00:08:59 +01:00
1d4d9f8d89
Previously deprecated in v4.x, this clears out the now unused Sass option and removes some unused mixins. Arguably we could remove more, but I like the hover-focus mixin and we make extensive use of it across the project.
18 lines
366 B
SCSS
18 lines
366 B
SCSS
// stylelint-disable declaration-no-important
|
|
|
|
// Typography
|
|
|
|
@mixin text-emphasis-variant($parent, $color) {
|
|
#{$parent} {
|
|
color: $color !important;
|
|
}
|
|
@if $emphasized-link-hover-darken-percentage != 0 {
|
|
a#{$parent} {
|
|
&:hover,
|
|
&:focus {
|
|
color: darken($color, $emphasized-link-hover-darken-percentage) !important;
|
|
}
|
|
}
|
|
}
|
|
}
|