@use 'sass:list';
@import "../spacing";

:export {
  @each $abbr, $cssProp in $padding-map {
    @each $name, $space in $spaces {
      @if type-of($cssProp) == 'list' {
        #{$abbr}-#{$name}: list.nth($cssProp, 1)/#{$space}_ list.nth($cssProp, 2)/#{$space}
      } @else {
        #{$abbr}-#{$name}: #{$cssProp}/#{$space}
      }
    }
  }
}
