// Foundation for Sites
// https://get.foundation
// Licensed under MIT Open Source

////
/// @group prototype-border-none
////

/// Responsive breakpoints for border none.
/// @type Boolean
$prototype-border-none-breakpoints: $global-prototype-breakpoints !default;

/// Border none utility
@mixin border-none {
  border: 0 !important;
}

@mixin foundation-prototype-border-none {
  .border-none {
    @include border-none;
  }

  @if ($prototype-border-none-breakpoints) {
    // Loop through Responsive Breakpoints
    @each $size in $breakpoint-classes {
      @include breakpoint($size) {
        @if $size != $-zf-zero-breakpoint {
          .#{$size}-border-none {
            @include border-none;
          }
        }
      }
    }
  }
}
