Move some styles fron zen to base. Add margin-top and margin bottom classes for all spacing levels. Add footer component.
This commit is contained in:
parent
881ab104d8
commit
1d6e50708a
1 changed files with 81 additions and 76 deletions
|
|
@ -1,8 +1,12 @@
|
|||
@mixin spacing($property, $spacing) {
|
||||
@mixin spacing($property, $spacing, $unit: 'rem') {
|
||||
$converted-list: ();
|
||||
|
||||
@each $x in $spacing {
|
||||
$spacing: #{$x * $base-line-height + 'rem'};
|
||||
@if $x == 0 {
|
||||
$unit: '';
|
||||
}
|
||||
|
||||
$spacing: #{$x * $base-line-height + $unit};
|
||||
$converted-list: join($converted-list, $spacing, $separator: space);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue