MicroFrameWork/resources/custom/scss/bootstrap/mixins/_text-emphasis.scss

17 lines
364 B
SCSS
Raw Normal View History

2024-09-12 13:24:24 +03:00
// 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;
}
}
}
}