Deprecate sass spacing mixin, use css variables --spacing-x instead.

This commit is contained in:
Fredrik Jonsson 2025-03-27 14:59:46 +01:00
commit 73a555446b

View file

@ -20,8 +20,8 @@
.box,
%box {
// Add vertical rhythm margins.
@include margin-block(1);
@include padding(.5);
margin-block: var(--spacing-m);
padding: var(--spacing-xs);
border: 5px solid var(--color-border);
// Sass compiles this to the selector: .box__title, %box__title {}