sky/assets/scss/bootstrap/mixins/_text-emphasis.scss

17 lines
364 B
SCSS
Raw Normal View History

2021-07-25 09:12:40 +08: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;
}
}
}
}