//
//  Text Utilities
//


// Font Weights

.fontWeight-light {
  font-weight: $font-weight-light !important;
}
.fontWeight-normal {
  font-weight: $font-weight-regular !important;
}
.fontWeight-semiBold {
  font-weight: $font-weight-semi-bold !important;
}
.fontWeight-bold {
  font-weight: $font-weight-bold !important;
}

// Font Sizes

@each $size in map-keys($font-sizes) {
  .fontSize-#{$size} {
    font-size: map-get($font-sizes, $size) !important;
  }
}

// Transformation

.textTransform-lowercase {
  text-transform: lowercase !important;
}

.textTransform-uppercase {
  text-transform: uppercase !important;
}

.textTransform-capitalize {
  text-transform: capitalize !important;
}

// Alignment

.textAlign-left {
  text-align: left !important;
}

.textAlign-right {
  text-align: right !important;
}

.textAlign-center {
  text-align: center !important;
}

// Responsive alignment

@each $breakpoint in map-keys($grid-breakpoints) {
  @include media-up($breakpoint) {
    .from#{capitalize($breakpoint)}-textAlign-left {
      text-align: left !important;
    }

    .from#{capitalize($breakpoint)}-textAlign-right {
      text-align: right !important;
    }

    .from#{capitalize($breakpoint)}-textAlign-center {
      text-align: center !important;
    }
  }
}
