@import "var";

@each $name, $color in $text-colors {
  .link-#{$name} {
    color: $color;
    text-decoration: none;
    cursor: pointer;
    &:hover, &:active, &:focus {
      color: darken($color, 10%);
      text-decoration: underline;
    }
  }
}