add spacing mixins
This commit is contained in:
parent
7c39c15491
commit
1aa4e09998
|
@ -38,6 +38,11 @@
|
|||
@include pb($bottom);
|
||||
}
|
||||
|
||||
@mixin pad-h($left, $right: $left) {
|
||||
@include pl($left);
|
||||
@include pr($right);
|
||||
}
|
||||
|
||||
@mixin pad($amount-t, $amount-r: $amount-t, $amount-b: $amount-t, $amount-l: $amount-r) {
|
||||
padding: #{$amount-t * $line-height}rem
|
||||
#{$amount-r * $line-height}rem
|
||||
|
|
Loading…
Reference in New Issue