.sui-a-text {
  // Text transform
  // -------------------------
  &.as--uppercase {
    text-transform: uppercase;
  }

  &.as--lowercase {
    text-transform: lowercase;
  }

  &.as--capitalized {
    text-transform: capitalize;
  }

  // Horizontal align
  // -------------------------
  &.as--left {
    text-align: left;
  }

  &.as--right {
    text-align: right;
  }

  &.as--center {
    text-align: center;
  }

  // Long text
  // -------------------------

  &.as--ellipsed {
    display: inline-block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 100%;
  }

  // Text colors
  // -------------------------
  &.as--light {
    color: $sui-color-text-light;
  }

  &.as--success {
    color: $sui-color-success-text;
  }

  &.as--warning {
    color: $sui-color-warning-text;
  }

  &.as--danger {
    color: $sui-color-danger-text;
  }

  &.as--white {
    color: $sui-color-brand-denim-100;
  }

  &.as--primary {
    color: $sui-color-primary;
  }

  &.as--brand-primary {
    color: $sui-color-brand-akane;
  }

  //Text alignment
  // -------------------------
  @include suiUtilTextAlign();

  @each $breakpoint in $sui-breakpoint-modifiers {
    @include suiMediaMin(nth($breakpoint, 1)) {
      @include suiUtilTextAlign(nth($breakpoint, 2));
    }
  }

  // Text sizes
  @each $size-label, $font-size in $sui-font-sizes {
    &.as--#{$size-label} {
      font-size: $font-size;
    }
  }

  // Text weight
  @each $weight-label, $font-weight in $sui-font-weight {
    &.as--#{"" + $weight-label} {
      font-weight: $font-weight;
    }
  }
}
