Skip to content

Commit e3bbe2f

Browse files
committed
refactor: add Spacing component styles for dynamic margin handling
1 parent fc5b568 commit e3bbe2f

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
@use "../../styles/variables";
2+
3+
.spacing {
4+
position: relative;
5+
}
6+
7+
@each $name, $size in variables.$sizes {
8+
.spacing--#{$name} {
9+
margin-bottom: $size;
10+
}
11+
}

0 commit comments

Comments
 (0)