This commit is contained in:
Viet An
2026-06-23 14:06:29 +07:00
parent e9fcfbe610
commit 059f232283
10 changed files with 441 additions and 118 deletions

View File

@@ -135,9 +135,9 @@ $class-types: (
),
);
// ─── Numeric: w-0 → w-96, h-0 → h-96, size-0 → size-96 ───────────────────
// ─── Numeric: w-0 → w-400, h-0 → h-400, size-0 → size-400 ───────────────────
@each $prefix, $props in $class-types {
@for $i from 0 through 96 {
@for $i from 0 through 400 {
.#{$prefix}-#{$i} {
@include set-props($props, calc(var(--spacing) * #{$i}));
}
@@ -361,9 +361,9 @@ $inset-types: (
),
);
// ─── Numeric: 0 → 96, using the same --spacing scale ──────────────────────
// ─── Numeric: 0 → 400, using the same --spacing scale ──────────────────────
@each $prefix, $props in $inset-types {
@for $i from 0 through 96 {
@for $i from 0 through 400 {
.#{$prefix}-#{$i} {
@include set-props($props, calc(var(--spacing) * #{$i}));
}
@@ -412,9 +412,9 @@ $minmax-types: (
),
);
// ─── Numeric: 0 → 96, using --spacing scale ───────────────────────────────
// ─── Numeric: 0 → 400, using --spacing scale ───────────────────────────────
@each $prefix, $props in $minmax-types {
@for $i from 0 through 96 {
@for $i from 0 through 400 {
.#{$prefix}-#{$i} {
@include set-props($props, calc(var(--spacing) * #{$i}));
}