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:
parent
3f72b945d6
commit
9f68433717
@ -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; }
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user