Revert change to spacing class names.

This commit is contained in:
Fredrik Jonsson 2025-03-26 09:18:14 +01:00
commit c3c6aaef94
2 changed files with 15 additions and 15 deletions

View file

@ -51,8 +51,8 @@ $breakpoints: (
);
// Spacing
// Generates mt-m (mt = margin-top), mb-m (mb = margin-bottom) and
// mtb-m (mtb = margin-block) classes.
// Generates mt--m (mt = margin-top), mb--m (mb = margin-bottom) and
// mx--m (mx = margin-block) classes.
$spacing: (
xxl: 3,
xl: 2,

View file

@ -1,13 +1,13 @@
@each $name, $space in $spacing {
.mt-#{$name} {
.mt--#{$name} {
@include margin-block-start($space);
}
.mb-#{$name} {
.mb--#{$name} {
@include margin-block-end($space);
}
.mx-#{$name} {
.mx--#{$name} {
@include margin-block($space);
}
}