@mixin text-emphasis-variant($parent, $color, $ignore-warning: false) {
  #{$parent} {
    @if $color == $warning {
      // exception for a11y
      color: shade-color($color, 18%) !important;
    } @else if $color == $white {
      // exception for white
      color: $white !important;
    } @else {
      color: shade-color($color, 15%) !important;
    }
  }
  a#{$parent} {
    @include hover-focus {
      color: shade-color($color, 20%) !important;
    }
  }
}
