mirror of
https://github.com/twbs/bootstrap.git
synced 2022-11-09 12:25:43 -05: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.
17 lines
366 B
SCSS
17 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;
|
|
}
|
|
}
|
|
}
|
|
}
|