$box-model-positive-values: (
  "0": 0,
  "1": 2px,
  "2": 4px,
  "3": 8px,
  "4": 12px,
  "5": 16px,
  "6": 24px,
  "7": 32px,
  "8": 40px,
  "9": 48px,
  "10": 56px,
  "11": 64px,
  "12": 72px,
  "13": 80px,
  "14": 88px,
  "15": 96px,
  "16": 104px,
  "17": 112px,
  "18": 120px,
  "19": 128px
) !default;

$box-model-negative-values: ();
@each $k, $v in $box-model-positive-values {
  @if ($v != 0) {
    $box-model-negative-values: map-merge($box-model-negative-values, ("n#{$k}": $v*-1));
  }
}

$box-model-values: map-merge($box-model-positive-values, $box-model-negative-values);

$utilities-classes: (
  "p": (
    "values": $box-model-positive-values,
    "properties": (padding)
  ),
  "pl": (
    "values": $box-model-positive-values,
    "properties": (padding-left)
  ),
  "pr": (
    "values": $box-model-positive-values,
    "properties": (padding-right)
  ),
  "pt": (
    "values": $box-model-positive-values,
    "properties": (padding-top)
  ),
  "pb": (
    "values": $box-model-positive-values,
    "properties": (padding-bottom)
  ),
  "m": (
    "values": map-merge($box-model-values, ("auto": auto)),
    "properties": (margin)
  ),
  "ml": (
    "values": map-merge($box-model-values, ("auto": auto)),
    "properties": (margin-left)
  ),
  "mr": (
    "values": map-merge($box-model-values, ("auto": auto)),
    "properties": (margin-right)
  ),
  "mt": (
    "values": map-merge($box-model-values, ("auto": auto)),
    "properties": (margin-top)
  ),
  "mb": (
    "values": map-merge($box-model-values, ("auto": auto)),
    "properties": (margin-bottom)
  ),
  "mh": (
    "values": map-merge($box-model-values, ("auto": auto)),
    "properties": (margin-left, margin-right)
  ),
  "mv": (
    "values": map-merge($box-model-values, ("auto": auto)),
    "properties": (margin-top, margin-bottom)
  ),
  "ph": (
    "values": $box-model-positive-values,
    "properties": (padding-left, padding-right)
  ),
  "pv": (
    "values": $box-model-positive-values,
    "properties": (padding-top, padding-bottom)
  ),
  "size": (
    "values": $box-model-positive-values,
    "properties": (width, height)
  ),
  "flex-wrap":(
    "values": ("w": wrap, "nw": nowrap, "wr": wrap-reverse, "r": revert),
    "properties": (flex-wrap)
  ),
  "justify":(
    "values": (
      "fs": flex-start,
      "fe": flex-end,
      "ce": center,
      "sb": space-between,
      "sa": space-around,
      "se": space-evenly
    ),
    "properties": (justify-content)
  ),
  "align":(
    "values": (
      "fs": flex-start,
      "fe": flex-end,
      "ce": center,
      "sb": space-between,
      "sa": space-around
    ),
    "properties": (align-items)
  ),
  "text":(
    "values": (
      "justify": justify,
      "left": left,
      "right": right,
      "center": center,
      "start": start,
      "end": end
    ),
    "properties": (text-align)
  ),
  "flex-dir":(
    "values": (
      "row": row,
      "col": column,
      "revert": revert,
      "row-reverse": row-reverse,
      "col-reverse": column-reverse
    ),
    "properties": (flex-direction)
  ),
  "float":(
    "values": (
      "left": left,
      "right": right,
      "top": top,
      "bottom": bottom
    ),
    "properties": (float)
  ),
  "pos":(
    "values": (
      "abs": absolute,
      "rel": relative,
      "sta": static,
      "sti": sticky,
      "fix": fixed
    ),
    "properties": (position)
  ),
  "top": (
    "values": $box-model-values,
    "properties": (top)
  ),
  "bottom": (
    "values": $box-model-values,
    "properties": (bottom)
  ),
  "left": (
    "values": $box-model-values,
    "properties": (left)
  ),
  "right": (
    "values": $box-model-values,
    "properties": (right)
  ),
  "display": (
    "values": (
      "n": none,
      "b": block,
      "f": flex,
      "i": inline,
      "ib": inline-block
    ),
    "properties": (display)
  ),
  "opacity": (
    "values": (
      "10": 0.1,
      "20": 0.2,
      "30": 0.3,
      "40": 0.4,
      "50": 0.5,
      "60": 0.6,
      "70": 0.7,
      "80": 0.8,
      "90": 0.9,
      "100": 1,
    ),
    "properties": (opacity)
  ),
  "width": (
    "values": (
      "max": max-content,
      "min": min-content,
      "fit": fit-content,
      "auto": auto,
      "10": 10%,
      "20": 20%,
      "30": 30%,
      "40": 40%,
      "50": 50%,
      "60": 60%,
      "70": 70%,
      "80": 80%,
      "90": 90%,
      "100": 100%,
      "100vw": 100vw
    ),
    "properties": (width)
  ),
  "max-width": (
    "values": (
      "max": max-content,
      "min": min-content,
      "fit": fit-content,
      "auto": auto,
      "100vw": 100vw
    ),
    "properties": (max-width)
  ),
  "height": (
    "values": (
      "max": max-content,
      "min": min-content,
      "fit": fit-content,
      "auto": auto,
      "10": 10%,
      "20": 20%,
      "30": 30%,
      "40": 40%,
      "50": 50%,
      "60": 60%,
      "70": 70%,
      "80": 80%,
      "90": 90%,
      "100": 100%,
      "100vh": 100vh
    ),
    "properties": (height)
  ),
  "cursor":(
    "values": (
      "n": none,
      "p": pointer,
      "c": crosshair,
      "g": grab,
      "h": help,
      "d": default,
      "i": inherit
    ),
    "properties": (cursor)
  ),
  "border":(
    "values": ("0": 0),
    "properties": (border)
  ),
  "border-l":(
    "values": ("0": 0),
    "properties": (border-left)
  ),
  "border-r":(
    "values": ("0": 0),
    "properties": (border-right)
  ),
  "border-t":(
    "values": ("0": 0),
    "properties": (border-top)
  ),
  "border-b":(
    "values": ("0": 0),
    "properties": (border-bottom)
  ),
  "z-index": (
    "values": ("1": 1, "n1": -1, "0": 0, "auto": auto),
    "properties": (z-index)
  ),
  "obj-fit":(
    "values": ("cont": contain, "cov": cover, "fill": fill, "sca": scale-down),
    "properties": (object-fit)
  ),
  "overflow":(
    "values": ("auto": auto, "init": initial, "hidden": hidden, "visible": visible),
    "properties": (overflow)
  ),
  "overflow-x":(
    "values": ("auto": auto, "init": initial, "hidden": hidden, "visible": visible),
    "properties": (overflow-x)
  ),
  "overflow-y":(
    "values": ("auto": auto, "init": initial, "hidden": hidden, "visible": visible),
    "properties": (overflow-y)
  )
);
