// Bootstrap mixin overrides for `bootstrap/scss/mixins/_text-emphasis.scss`
@use 'sass:map';

@mixin text-emphasis-variant(
  $parent,
  $bootstrap-value,
  $ignore-warning: false
) {
  $semantic-value: map.get($bootstrap-dh-semantic-map, $bootstrap-value) or '';

  #{$parent} {
    color: var(--dh-color-#{$semantic-value}-bg) !important;
  }
  @if $emphasized-link-hover-darken-percentage != 0 {
    a#{$parent} {
      @include hover-focus {
        color: var(--dh-color-#{$semantic-value}-hover-bg) !important;
      }
    }
  }
}
