scss-library/components/02_Styles/spacing/_spacing.styl

56 lines
964 B
Stylus

RV-Spacing__Outer--small()
margin spacing-small
RV-Spacing__Outer--medium()
margin spacing-medium
RV-Spacing__Outer--large()
margin spacing-large
RV-Spacing__Inner--small()
padding spacing-small
gap spacing-small
column-gap spacing-small
RV-Utils__Hook--catch('masonry_grid', spacing-small)
RV-Spacing__Inner--medium()
padding spacing-medium
gap spacing-medium
column-gap spacing-medium
RV-Utils__Hook--catch('masonry_grid', spacing-medium)
RV-Spacing__Inner--large()
padding spacing-large
gap spacing-large
column-gap spacing-large
RV-Utils__Hook--catch('masonry_grid', spacing-large)
RV-Spacing(prefix='&')
{prefix}__Outer
&--small
RV-Spacing__Outer--small()
&--medium
RV-Spacing__Outer--medium()
&--large
RV-Spacing__Outer--large()
{prefix}__Inner
&--small
RV-Spacing__Inner--small()
&--medium
RV-Spacing__Inner--medium()
&--large
RV-Spacing__Inner--large()
.RV-Spacing
RV-Spacing()
test()