Deprecate sass spacing mixin, use css variables --spacing-x instead.
This commit is contained in:
parent
c97db934af
commit
73a555446b
1 changed files with 41 additions and 33 deletions
|
|
@ -5,12 +5,12 @@
|
|||
.divider,
|
||||
%divider {
|
||||
// Add vertical rhythm margins.
|
||||
@include margin-block(1);
|
||||
margin-block: var(--spacing-m);
|
||||
border: 0;
|
||||
border-block-start: 1px solid var(--color-border);
|
||||
|
||||
// If used as a container, add a top margin to the first child.
|
||||
> :first-child {
|
||||
@include margin-top(1);
|
||||
margin-block-start: var(--spacing-m);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue