File tree Expand file tree Collapse file tree 2 files changed +19
-0
lines changed Expand file tree Collapse file tree 2 files changed +19
-0
lines changed Original file line number Diff line number Diff line change 1+ // Gap spacer utilities
2+ // stylelint-disable block-opening-brace-space-before
3+ // stylelint-disable declaration-colon-space-before
4+ // stylelint-disable comment-empty-line-before
5+ // stylelint-disable primer/spacing
6+
7+ // Loop through the breakpoint values
8+ @each $breakpoint , $variant in $responsive-variants {
9+ @include breakpoint ($breakpoint ) {
10+ // Loop through the spacer values
11+ @each $scale , $size in $spacer-map-extended {
12+ @if ($scale < length ($spacer-map )) {
13+ /* Set a $size gap at $breakpoint */
14+ .g#{$variant } -#{$scale } { gap : $size !important ; }
15+ }
16+ }
17+ }
18+ }
Original file line number Diff line number Diff line change 66@import ' ./colors.scss' ;
77@import ' ./details.scss' ;
88@import ' ./flexbox.scss' ;
9+ @import ' ./gap.scss' ;
910@import ' ./layout.scss' ;
1011@import ' ./margin.scss' ;
1112@import ' ./padding.scss' ;
You can’t perform that action at this time.
0 commit comments