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

46 lines
1.1 KiB
Stylus

RV-Spacing__Outer--small()
+RV-Element__Modifier('small')
margin spacing-small
--outer-spacing spacing-small
RV-Spacing__Outer--medium()
+RV-Element__Modifier('medium')
margin spacing-medium
--outer-spacing spacing-medium
RV-Spacing__Outer--large()
+RV-Element__Modifier('large')
margin spacing-large
--outer-spacing spacing-large
RV-Spacing__Inner--small()
+RV-Element__Modifier('small')
padding spacing-small
gap spacing-small
column-gap spacing-small
--inner-spacing spacing-small
RV-Spacing__Inner--medium()
+RV-Element__Modifier('medium')
padding spacing-medium
gap spacing-medium
column-gap spacing-medium
--inner-spacing spacing-medium
RV-Spacing__Inner--large()
+RV-Element__Modifier('large')
padding spacing-large
gap spacing-large
column-gap spacing-large
--inner-spacing spacing-large
+RV-Block('RV-Spacing')
+RV-Element('Outer')
RV-Spacing__Outer--small()
RV-Spacing__Outer--medium()
RV-Spacing__Outer--large()
+RV-Element('Inner')
RV-Spacing__Inner--small()
RV-Spacing__Inner--medium()
RV-Spacing__Inner--large()