// stylelint-disable declaration-no-important

// Typography

@mixin text-emphasis-variant($parent, $color, $ignore-warning: false) {
  @include deprecate("`text-emphasis-variant()`", "v4.4.0", "v5", $ignore-warning);
  #{$parent} {
    color: normal-color($color) !important;
  }

  #{$parent}-hover:hover {
    color: normal-color($color) !important;
  }
  @if $emphasized-link-hover-darken-percentage != 0 {
    a#{$parent} {
      @include hover-focus() {
        color: darken-color($color, $emphasized-link-hover-darken-percentage) !important;
      }
    }
    a#{$parent}-hover:hover {
      color: normal-color($color) !important;
    }
  }
}
