Sha256: d32c123c80ddbb1f7a74003c50f28000f26790efd31136dc3c5f18d77556a3db
Contents?: true
Size: 836 Bytes
Versions: 200
Compression:
Stored size: 836 Bytes
Contents
@import "../tokens/spacing"; $space_classes: ( xs: $space_xs, sm: $space_sm, md: $space_md, lg: $space_lg, xl: $space_xl, none: 0 ); $positions: ( m: "margin", mr: "margin-right", ml: "margin-left", mt: "margin-top", mb: "margin-bottom", mx: ("margin-left", "margin-right"), my: ("margin-top", "margin-bottom"), p: "padding", pr: "padding-right", pl: "padding-left", pt: "padding-top", pb: "padding-bottom", px: ("padding-left", "padding-right"), py: ("padding-top", "padding-bottom") ); @each $position_name, $position in $positions { @each $space_name, $space in $space_classes { .#{$position_name}_#{$space_name} { @if type-of($position)=="list" { @each $coordinate in $position { #{$coordinate}: #{$space} !important; } } @else { #{$position}: #{$space} !important; } } } }
Version data entries
200 entries across 200 versions & 1 rubygems