Global spacing
This commit is contained in:
parent
1b57714c0e
commit
d1b681d3c7
61
components/02_Styles/spacing/_spacing.scss
Normal file
61
components/02_Styles/spacing/_spacing.scss
Normal file
@ -0,0 +1,61 @@
|
||||
@mixin RV-Spacing__Outer--small {
|
||||
margin: $-spacing-small;
|
||||
}
|
||||
|
||||
@mixin RV-Spacing__Outer--medium {
|
||||
margin: $-spacing-medium;
|
||||
}
|
||||
|
||||
@mixin RV-Spacing__Outer--large {
|
||||
margin: $-spacing-large;
|
||||
}
|
||||
|
||||
|
||||
@mixin RV-Spacing__Inner--small {
|
||||
padding: $-spacing-small;
|
||||
gap: $-spacing-small;
|
||||
}
|
||||
|
||||
@mixin RV-Spacing__Inner--medium {
|
||||
padding: $-spacing-medium;
|
||||
gap: $-spacing-medium;
|
||||
}
|
||||
|
||||
@mixin RV-Spacing__Inner--large {
|
||||
padding: $-spacing-large;
|
||||
gap: $-spacing-large;
|
||||
}
|
||||
|
||||
@mixin RV-Spacing {
|
||||
&__Outer{
|
||||
&--small {
|
||||
@include RV-Spacing__Outer--small;
|
||||
}
|
||||
|
||||
&--medium {
|
||||
@include RV-Spacing__Outer--medium;
|
||||
}
|
||||
|
||||
&--large {
|
||||
@include RV-Spacing__Outer--large;
|
||||
}
|
||||
}
|
||||
|
||||
&__Inner{
|
||||
&--small {
|
||||
@include RV-Spacing__Inner--small;
|
||||
}
|
||||
|
||||
&--medium {
|
||||
@include RV-Spacing__Inner--medium;
|
||||
}
|
||||
|
||||
&--large {
|
||||
@include RV-Spacing__Inner--large;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.RV-Spacing {
|
||||
@include RV-Spacing;
|
||||
}
|
5
components/02_Styles/spacing/spacing.config.json
Normal file
5
components/02_Styles/spacing/spacing.config.json
Normal file
@ -0,0 +1,5 @@
|
||||
{
|
||||
"context": {
|
||||
|
||||
}
|
||||
}
|
0
components/02_Styles/spacing/spacing.hbs
Normal file
0
components/02_Styles/spacing/spacing.hbs
Normal file
@ -1,2 +1,8 @@
|
||||
// Padding and Margin sizes
|
||||
|
||||
$-spacing-small: 10px;
|
||||
$-spacing-medium: 25px;
|
||||
$-spacing-large: 35px;
|
||||
|
||||
@import './pink.css';
|
||||
@import './components';
|
Loading…
Reference in New Issue
Block a user