2019-08-17 18:19:00 +00:00
|
|
|
@each $color, $value in $theme-colors {
|
|
|
|
.link-#{$color} {
|
|
|
|
color: $value;
|
|
|
|
|
2020-10-13 07:58:06 +00:00
|
|
|
@if $link-shade-percentage != 0 {
|
2019-08-17 18:19:00 +00:00
|
|
|
&:hover,
|
|
|
|
&:focus {
|
2020-10-13 07:58:06 +00:00
|
|
|
color: if(color-contrast($value) == $color-contrast-light, shade-color($value, $link-shade-percentage), tint-color($value, $link-shade-percentage));
|
2019-08-17 18:19:00 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|