2024-05-28 13:11:00 +02:00
|
|
|
$utilities: map-merge(
|
|
|
|
$utilities,
|
|
|
|
(
|
2024-06-12 19:31:18 +02:00
|
|
|
'display': (
|
|
|
|
responsive: true,
|
|
|
|
print: true,
|
|
|
|
property: display,
|
|
|
|
class: d,
|
|
|
|
values: inline inline-block block grid inline-grid table table-row table-cell contents flex
|
|
|
|
inline-flex none
|
|
|
|
),
|
2024-05-28 13:11:00 +02:00
|
|
|
'color':
|
|
|
|
map-merge(
|
|
|
|
map-get($utilities, 'color'),
|
|
|
|
(
|
|
|
|
values: map-merge(map-get(map-get($utilities, 'color'), 'values'), ($all-colors))
|
|
|
|
)
|
|
|
|
),
|
|
|
|
'text-wrap': (
|
|
|
|
property: 'text-wrap',
|
2024-06-12 19:31:18 +02:00
|
|
|
values: wrap nowrap pretty stable balance,
|
2024-05-28 13:11:00 +02:00
|
|
|
class: 'text-wrap'
|
|
|
|
),
|
|
|
|
'font-family': (
|
|
|
|
property: 'font-family',
|
|
|
|
values: (
|
|
|
|
'sans': $headings-font-family,
|
|
|
|
'serif': $font-family-base,
|
|
|
|
'serif-alt': $display-font-family,
|
|
|
|
'mono': $font-family-code
|
|
|
|
),
|
|
|
|
class: 'font-family'
|
|
|
|
),
|
2024-06-12 19:31:18 +02:00
|
|
|
'font-weight': (
|
|
|
|
property: font-weight,
|
|
|
|
class: fw,
|
|
|
|
values: (
|
|
|
|
light: $font-weight-light,
|
|
|
|
lighter: $font-weight-lighter,
|
|
|
|
normal: $font-weight-normal,
|
|
|
|
bold: $font-weight-bold,
|
|
|
|
bolder: $font-weight-bolder,
|
|
|
|
black: $font-weight-black
|
|
|
|
)
|
|
|
|
),
|
2024-05-28 13:11:00 +02:00
|
|
|
'width': (
|
|
|
|
property: width,
|
2024-06-12 19:31:18 +02:00
|
|
|
responsive: true,
|
2024-05-28 13:11:00 +02:00
|
|
|
class: w,
|
|
|
|
values: (
|
|
|
|
0: 0,
|
|
|
|
1: $spacer * 0.25,
|
|
|
|
2: $spacer * 0.5,
|
|
|
|
3: $spacer,
|
|
|
|
4: $spacer * 1.5,
|
|
|
|
5: $spacer * 3,
|
|
|
|
6: $spacer * 6,
|
|
|
|
25: 25%,
|
|
|
|
50: 50%,
|
|
|
|
75: 75%,
|
|
|
|
100: 100%,
|
|
|
|
auto: auto
|
|
|
|
)
|
|
|
|
),
|
|
|
|
'height': (
|
|
|
|
property: height,
|
2024-06-12 19:31:18 +02:00
|
|
|
responsive: true,
|
2024-05-28 13:11:00 +02:00
|
|
|
class: h,
|
|
|
|
values: (
|
|
|
|
0: 0,
|
|
|
|
1: $spacer * 0.25,
|
|
|
|
2: $spacer * 0.5,
|
|
|
|
3: $spacer,
|
|
|
|
4: $spacer * 1.5,
|
|
|
|
5: $spacer * 3,
|
|
|
|
6: $spacer * 6,
|
|
|
|
25: 25%,
|
|
|
|
50: 50%,
|
|
|
|
75: 75%,
|
|
|
|
100: 100%,
|
|
|
|
auto: auto
|
|
|
|
)
|
|
|
|
),
|
|
|
|
'inset': (
|
|
|
|
property: inset,
|
|
|
|
class: inset,
|
|
|
|
values: (
|
|
|
|
0: 0,
|
|
|
|
1: $spacer * 0.25,
|
|
|
|
2: $spacer * 0.5,
|
|
|
|
3: $spacer,
|
|
|
|
4: $spacer * 1.5,
|
|
|
|
5: $spacer * 3,
|
|
|
|
25: 25%,
|
|
|
|
50: 50%,
|
|
|
|
75: 75%,
|
|
|
|
100: 100%,
|
|
|
|
auto: auto
|
|
|
|
)
|
|
|
|
),
|
|
|
|
'rounded-tl': (
|
|
|
|
property: border-top-left-radius,
|
|
|
|
class: rounded-tl,
|
|
|
|
values: (
|
|
|
|
null: var(--#{$prefix}border-radius),
|
|
|
|
0: 0,
|
|
|
|
1: var(--#{$prefix}border-radius-sm),
|
|
|
|
2: var(--#{$prefix}border-radius),
|
|
|
|
3: var(--#{$prefix}border-radius-lg),
|
|
|
|
4: var(--#{$prefix}border-radius-xl),
|
|
|
|
5: var(--#{$prefix}border-radius-xxl),
|
|
|
|
circle: 50%,
|
|
|
|
pill: var(--#{$prefix}border-radius-pill)
|
|
|
|
)
|
|
|
|
),
|
|
|
|
'rounded-bl': (
|
|
|
|
property: border-bottom-left-radius,
|
|
|
|
class: rounded-bl,
|
|
|
|
values: (
|
|
|
|
null: var(--#{$prefix}border-radius),
|
|
|
|
0: 0,
|
|
|
|
1: var(--#{$prefix}border-radius-sm),
|
|
|
|
2: var(--#{$prefix}border-radius),
|
|
|
|
3: var(--#{$prefix}border-radius-lg),
|
|
|
|
4: var(--#{$prefix}border-radius-xl),
|
|
|
|
5: var(--#{$prefix}border-radius-xxl),
|
|
|
|
circle: 50%,
|
|
|
|
pill: var(--#{$prefix}border-radius-pill)
|
|
|
|
)
|
|
|
|
),
|
|
|
|
'rounded-tr': (
|
|
|
|
property: border-top-right-radius,
|
|
|
|
class: rounded-tr,
|
|
|
|
values: (
|
|
|
|
null: var(--#{$prefix}border-radius),
|
|
|
|
0: 0,
|
|
|
|
1: var(--#{$prefix}border-radius-sm),
|
|
|
|
2: var(--#{$prefix}border-radius),
|
|
|
|
3: var(--#{$prefix}border-radius-lg),
|
|
|
|
4: var(--#{$prefix}border-radius-xl),
|
|
|
|
5: var(--#{$prefix}border-radius-xxl),
|
|
|
|
circle: 50%,
|
|
|
|
pill: var(--#{$prefix}border-radius-pill)
|
|
|
|
)
|
|
|
|
),
|
|
|
|
'rounded-br': (
|
|
|
|
property: border-bottom-right-radius,
|
|
|
|
class: rounded-br,
|
|
|
|
values: (
|
|
|
|
null: var(--#{$prefix}border-radius),
|
|
|
|
0: 0,
|
|
|
|
1: var(--#{$prefix}border-radius-sm),
|
|
|
|
2: var(--#{$prefix}border-radius),
|
|
|
|
3: var(--#{$prefix}border-radius-lg),
|
|
|
|
4: var(--#{$prefix}border-radius-xl),
|
|
|
|
5: var(--#{$prefix}border-radius-xxl),
|
|
|
|
circle: 50%,
|
|
|
|
pill: var(--#{$prefix}border-radius-pill)
|
|
|
|
)
|
|
|
|
),
|
|
|
|
'overflow': (
|
|
|
|
class: overflow,
|
|
|
|
property: overflow,
|
|
|
|
responsive: true,
|
2024-06-12 19:31:18 +02:00
|
|
|
values: hidden visible clip scroll auto
|
2024-05-28 13:11:00 +02:00
|
|
|
),
|
|
|
|
'overflow-x': (
|
|
|
|
class: overflow-x,
|
|
|
|
property: overflow-x,
|
|
|
|
responsive: true,
|
2024-06-12 19:31:18 +02:00
|
|
|
values: hidden visible clip scroll auto
|
2024-05-28 13:11:00 +02:00
|
|
|
),
|
|
|
|
'overflow-y': (
|
|
|
|
class: overflow-y,
|
|
|
|
property: overflow-y,
|
|
|
|
responsive: true,
|
2024-06-12 19:31:18 +02:00
|
|
|
values: hidden visible clip scroll auto
|
2024-05-28 13:11:00 +02:00
|
|
|
),
|
|
|
|
'position': (
|
|
|
|
property: position,
|
|
|
|
responsive: true,
|
|
|
|
values: static relative absolute fixed sticky
|
|
|
|
),
|
|
|
|
'border': (
|
|
|
|
property: border,
|
|
|
|
responsive: true,
|
|
|
|
values: (
|
|
|
|
null: var(--#{$prefix}border-width) var(--#{$prefix}border-style)
|
|
|
|
var(--#{$prefix}border-color),
|
|
|
|
0: 0
|
|
|
|
)
|
|
|
|
),
|
|
|
|
'border-top': (
|
|
|
|
property: border-top,
|
|
|
|
responsive: true,
|
|
|
|
values: (
|
|
|
|
null: var(--#{$prefix}border-width) var(--#{$prefix}border-style)
|
|
|
|
var(--#{$prefix}border-color),
|
|
|
|
0: 0
|
|
|
|
)
|
|
|
|
),
|
|
|
|
'border-end': (
|
|
|
|
property: border-right,
|
|
|
|
responsive: true,
|
|
|
|
class: border-end,
|
|
|
|
values: (
|
|
|
|
null: var(--#{$prefix}border-width) var(--#{$prefix}border-style)
|
|
|
|
var(--#{$prefix}border-color),
|
|
|
|
0: 0
|
|
|
|
)
|
|
|
|
),
|
|
|
|
'border-bottom': (
|
|
|
|
property: border-bottom,
|
|
|
|
responsive: true,
|
|
|
|
values: (
|
|
|
|
null: var(--#{$prefix}border-width) var(--#{$prefix}border-style)
|
|
|
|
var(--#{$prefix}border-color),
|
|
|
|
0: 0
|
|
|
|
)
|
|
|
|
),
|
|
|
|
'border-start': (
|
|
|
|
property: border-left,
|
|
|
|
responsive: true,
|
|
|
|
class: border-start,
|
|
|
|
values: (
|
|
|
|
null: var(--#{$prefix}border-width) var(--#{$prefix}border-style)
|
|
|
|
var(--#{$prefix}border-color),
|
|
|
|
0: 0
|
|
|
|
)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
);
|