1
0
Fork 0
mirror of https://github.com/twbs/bootstrap.git synced 2022-11-09 12:25:43 -05:00
twbs--bootstrap/scss/helpers/_colored-links.scss

13 lines
326 B
SCSS
Raw Normal View History

@each $color, $value in $theme-colors {
.link-#{$color} {
color: $value;
2020-10-13 03:58:06 -04:00
@if $link-shade-percentage != 0 {
&:hover,
&:focus {
2020-10-13 03:58:06 -04:00
color: if(color-contrast($value) == $color-contrast-light, shade-color($value, $link-shade-percentage), tint-color($value, $link-shade-percentage));
}
}
}
}