// Functions :: Breakpoint Max
// Note: Probably need to remove this. Actually have no idea what this does.

@import "../config";

// Maximum breakpoint width. Null for the largest (last) breakpoint.
@function breakpoint-max($name, $breakpoints: $seed-breakpoints) {
  $next: breakpoint-up($name, $breakpoints);
  @return if($next, breakpoint-min($next, $breakpoints) - 1px, null);
}
