@import 'cycle';

/// Only run if there should be an output
@if ($outputTokenCSS == true) {
  /// Run the standard cycle first
  @include cycle('', false);

  /// For each breakpoint, generate a prefix and run the cycle
  @each $key, $value in map-get($utilities, 'breakpoints') {
    $prefix: #{$key + '-'};
    $is-breakpoint: true;

    @media screen and #{$value} {
      @include cycle($prefix, $is-breakpoint);
    }
  }
}
