aboutsummaryrefslogtreecommitdiff
path: root/themes/hugo-whisper-theme/assets/scss/bootstrap/mixins/_text-emphasis.scss
blob: 155d6ca8cf2fca3281952aa3f114bb278ef377bd (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// 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;
      }
    }
  }
}