/* Spacing
   ========================================================================== */
@each $breakpoint in map-keys($grid-breakpoints) {
  @include media-breakpoint-up($breakpoint) {
    $infix: breakpoint-infix($breakpoint, $grid-breakpoints);
    @each $prop, $abbrev in (margin: m, padding: p) {
      @each $spacer in $spacers {
        .#{$abbrev}#{$infix}-#{$spacer} {
          #{$prop}: $spacer !important;
        }
        .#{$abbrev}t#{$infix}-#{$spacer},
        .#{$abbrev}y#{$infix}-#{$spacer} {
          #{$prop}-top: $spacer !important;
        }
        .#{$abbrev}r#{$infix}-#{$spacer},
        .#{$abbrev}x#{$infix}-#{$spacer} {
          #{$prop}-right: $spacer !important;
        }
        .#{$abbrev}b#{$infix}-#{$spacer},
        .#{$abbrev}y#{$infix}-#{$spacer} {
          #{$prop}-bottom: $spacer !important;
        }
        .#{$abbrev}l#{$infix}-#{$spacer},
        .#{$abbrev}x#{$infix}-#{$spacer} {
          #{$prop}-left: $spacer !important;
        }
      }
    }
  }
}
