aboutsummaryrefslogblamecommitdiffstats
path: root/vendor/twbs/bootstrap/scss/helpers/_colored-links.scss
blob: 0e03039bbf1987f94ef6533fe69840cc67da4f6a (plain) (tree)
1
2
3
4
5
6
7
8

                                       
                                                                    



                                     
                                                                                                                                                                                                              



       
@each $color, $value in $theme-colors {
  .link-#{$color} {
    color: $value if($enable-important-utilities, !important, null);

    @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)) if($enable-important-utilities, !important, null);
      }
    }
  }
}