aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/twbs/bootstrap/scss/helpers/_colored-links.scss
blob: 8c167dedf54873890f514809e2fa56bc5bf52aba (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
@each $color, $value in $theme-colors {
  .link-#{$color} {
    color: $value;

    @if $link-shade-percentage != 0 {
      &:hover,
      &:focus {
        color: if(color-contrast($value) == $color-contrast-light, shade-color($value, $link-shade-percentage), tint-color($value, $link-shade-percentage));
      }
    }
  }
}