@use "sass:map" as map;
@use "../../variables" as vars;
@use "../../mixins" as mixins;

// Generates utility classes to control text alignment
// Example: .align-text-left .align-text-md-left

@each $breakpoint in map.keys(vars.$grid-breakpoints) {
  @include mixins.media-breakpoint-up($breakpoint) {
    $infix: mixins.breakpoint-infix($breakpoint, vars.$grid-breakpoints);
    .align-text#{$infix}-left        { text-align: left !important; }
    .align-text#{$infix}-right       { text-align: right !important; }
    .align-text#{$infix}-center      { text-align: center !important; }
  }
}