igfs/resources/custom/scss/bootstrap/mixins/_text-emphasis.scss
2024-09-12 13:24:24 +03:00

17 lines
364 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} {
@include hover-focus {
color: darken($color, $emphasized-link-hover-darken-percentage) !important;
}
}
}
}