@charset "UTF-8";

///
/// Get a value out of the modular-spacing-base map
/// Returns the pixel value of the $su-modular-spacing-base variable at a breakpoint.
///
/// @name get-modular-spacing-base
/// 
/// @param {Breakpoint} $breakpoint - One of `xs`, `sm`, `md`, `lg`, `xl`, `2xl`
///
/// @group mixin
@function get-modular-spacing-base($breakpoint: 'xs') {
  $base: map-get($su-modular-spacing-base, $breakpoint);
  @if $base == null {
    @warn 'Non-existent key in get-modular-spacing-base: $breakpoint';
  }
  @return $base;
}
