1
1
mirror of https://github.com/primer/css.git synced 2024-12-14 23:12:03 +03:00

Generate all spacers

This commit is contained in:
simurai 2019-12-20 15:33:26 +09:00
parent 3f72b945d6
commit 9f68433717
2 changed files with 2 additions and 2 deletions

View File

@ -3,7 +3,7 @@
@each $breakpoint, $variant in $responsive-variants {
@include breakpoint($breakpoint) {
@each $scale, $size in $marketing-spacers {
@each $scale, $size in $marketing-all-spacers {
.mt#{$variant}-#{$scale} { margin-top: $size !important; }
.mb#{$variant}-#{$scale} { margin-bottom: $size !important; }

View File

@ -3,7 +3,7 @@
@each $breakpoint, $variant in $responsive-variants {
@include breakpoint($breakpoint) {
@each $scale, $size in $marketing-spacers {
@each $scale, $size in $marketing-all-spacers {
// Set a #{$size} padding for all sides
.p#{$variant}-#{$scale} { padding: #{$size} !important; }
// Set a #{$size} padding to the top