@matteusan/himig 1.7.4 → 1.8.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.yarn/cache/{@matteusan-pintig-npm-1.8.0-fbcf4469f0-f83672ea90.zip → @matteusan-pintig-npm-1.9.0-c7e5b3fb64-9c9493bbb5.zip} +0 -0
- package/.yarn/install-state.gz +0 -0
- package/_index.scss +126 -106
- package/_init-font-pack.scss +1 -1
- package/ms-badge/_badge-styles.scss +12 -10
- package/ms-button/_button-base.scss +1 -1
- package/ms-button/_button-mixins.scss +16 -23
- package/ms-button/_button-styles.scss +121 -117
- package/ms-button/_button-theme.scss +2 -2
- package/ms-card/_card-base.scss +180 -138
- package/ms-card/_card-styles.scss +48 -29
- package/ms-card/_card-theme.scss +13 -8
- package/ms-form-field/_form-field-base.scss +4 -4
- package/ms-form-field/_form-field-styles.scss +75 -136
- package/ms-form-field/_form-field-theme.scss +7 -7
- package/ms-link/_link-styles.scss +29 -27
- package/ms-link/_link-theme.scss +3 -3
- package/ms-list/_list-base.scss +1 -1
- package/ms-list/_list-styles.scss +36 -34
- package/ms-select-field/_select-field-base.scss +5 -4
- package/ms-select-field/_select-field-styles.scss +85 -118
- package/ms-select-field/_select-field-theme.scss +7 -7
- package/ms-tick-field/_tick-field-base.scss +2 -2
- package/ms-tick-field/_tick-field-styles.scss +58 -56
- package/ms-tick-field/_tick-field-theme.scss +6 -6
- package/ms-utils/_color-utils.scss +37 -35
- package/ms-utils/_layout-utils.scss +154 -152
- package/ms-utils/_struct-utils.scss +150 -148
- package/ms-utils/_typography-utils.scss +100 -72
- package/package.json +29 -5
|
@@ -26,12 +26,12 @@ $_variants: (
|
|
|
26
26
|
'6xl',
|
|
27
27
|
);
|
|
28
28
|
$_directions: (
|
|
29
|
-
't':
|
|
30
|
-
'l':
|
|
31
|
-
'b':
|
|
32
|
-
'r':
|
|
33
|
-
'x':
|
|
34
|
-
'y':
|
|
29
|
+
't': block-start,
|
|
30
|
+
'l': inline-start,
|
|
31
|
+
'b': block-end,
|
|
32
|
+
'r': inline-end,
|
|
33
|
+
'x': inline,
|
|
34
|
+
'y': block
|
|
35
35
|
);
|
|
36
36
|
$_r-directions: (
|
|
37
37
|
'tl': top-left,
|
|
@@ -80,223 +80,225 @@ $_stroke-style: (
|
|
|
80
80
|
'border-style'
|
|
81
81
|
), $include, $exclude);
|
|
82
82
|
|
|
83
|
-
@
|
|
84
|
-
@
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
@each $breakpoint in $_breakpoints {
|
|
91
|
-
.\@#{$breakpoint}\:w-#{$dimension} {
|
|
92
|
-
@include pintig.breakpoint-create($breakpoint) {
|
|
93
|
-
width: pintig.primitive-token-get('width.#{$dimension}') !important;
|
|
94
|
-
}
|
|
83
|
+
@layer utils {
|
|
84
|
+
@each $dimension in $_dimensions {
|
|
85
|
+
@if list.index($utils-to-render, 'w') {
|
|
86
|
+
// Width
|
|
87
|
+
.w-#{$dimension} {
|
|
88
|
+
width: pintig.primitive-token-get('width.#{$dimension}');
|
|
95
89
|
}
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
// Min Width
|
|
99
|
-
.min-w-#{$dimension} {
|
|
100
|
-
min-width: pintig.primitive-token-get('width.#{$dimension}');
|
|
101
|
-
}
|
|
102
90
|
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
91
|
+
@each $breakpoint in $_breakpoints {
|
|
92
|
+
.\@#{$breakpoint}\:w-#{$dimension} {
|
|
93
|
+
@include pintig.breakpoint-create($breakpoint) {
|
|
94
|
+
width: pintig.primitive-token-get('width.#{$dimension}') !important;
|
|
95
|
+
}
|
|
107
96
|
}
|
|
108
97
|
}
|
|
109
|
-
}
|
|
110
|
-
|
|
111
|
-
// Max Width
|
|
112
|
-
.max-w-#{$dimension} {
|
|
113
|
-
max-width: pintig.primitive-token-get('width.#{$dimension}');
|
|
114
|
-
}
|
|
115
98
|
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
max-width: pintig.primitive-token-get('width.#{$dimension}') !important;
|
|
120
|
-
}
|
|
99
|
+
// Min Width
|
|
100
|
+
.min-w-#{$dimension} {
|
|
101
|
+
min-width: pintig.primitive-token-get('width.#{$dimension}');
|
|
121
102
|
}
|
|
122
|
-
}
|
|
123
|
-
}
|
|
124
103
|
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
@each $breakpoint in $_breakpoints {
|
|
132
|
-
.\@#{$breakpoint}\:h-#{$dimension} {
|
|
133
|
-
@include pintig.breakpoint-create($breakpoint) {
|
|
134
|
-
height: pintig.primitive-token-get('height.#{$dimension}') !important;
|
|
104
|
+
@each $breakpoint in $_breakpoints {
|
|
105
|
+
.\@#{$breakpoint}\:min-w-#{$dimension} {
|
|
106
|
+
@include pintig.breakpoint-create($breakpoint) {
|
|
107
|
+
min-width: pintig.primitive-token-get('width.#{$dimension}') !important;
|
|
108
|
+
}
|
|
135
109
|
}
|
|
136
110
|
}
|
|
137
|
-
}
|
|
138
111
|
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
112
|
+
// Max Width
|
|
113
|
+
.max-w-#{$dimension} {
|
|
114
|
+
max-width: pintig.primitive-token-get('width.#{$dimension}');
|
|
115
|
+
}
|
|
143
116
|
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
117
|
+
@each $breakpoint in $_breakpoints {
|
|
118
|
+
.\@#{$breakpoint}\:max-w-#{$dimension} {
|
|
119
|
+
@include pintig.breakpoint-create($breakpoint) {
|
|
120
|
+
max-width: pintig.primitive-token-get('width.#{$dimension}') !important;
|
|
121
|
+
}
|
|
148
122
|
}
|
|
149
123
|
}
|
|
150
124
|
}
|
|
151
125
|
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
126
|
+
@if list.index($utils-to-render, 'h') {
|
|
127
|
+
// Height
|
|
128
|
+
.h-#{$dimension} {
|
|
129
|
+
height: pintig.primitive-token-get('height.#{$dimension}');
|
|
130
|
+
}
|
|
156
131
|
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
132
|
+
@each $breakpoint in $_breakpoints {
|
|
133
|
+
.\@#{$breakpoint}\:h-#{$dimension} {
|
|
134
|
+
@include pintig.breakpoint-create($breakpoint) {
|
|
135
|
+
height: pintig.primitive-token-get('height.#{$dimension}') !important;
|
|
136
|
+
}
|
|
161
137
|
}
|
|
162
138
|
}
|
|
163
|
-
}
|
|
164
|
-
}
|
|
165
|
-
}
|
|
166
139
|
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
padding: pintig.primitive-token-get('padding.#{$variant}');
|
|
172
|
-
}
|
|
140
|
+
// Min Height
|
|
141
|
+
.min-h-#{$dimension} {
|
|
142
|
+
min-height: pintig.primitive-token-get('height.#{$dimension}');
|
|
143
|
+
}
|
|
173
144
|
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
145
|
+
@each $breakpoint in $_breakpoints {
|
|
146
|
+
.\@#{$breakpoint}\:min-h-#{$dimension} {
|
|
147
|
+
@include pintig.breakpoint-create($breakpoint) {
|
|
148
|
+
min-height: pintig.primitive-token-get('height.#{$dimension}') !important;
|
|
149
|
+
}
|
|
178
150
|
}
|
|
179
151
|
}
|
|
180
|
-
}
|
|
181
152
|
|
|
182
|
-
|
|
183
|
-
.
|
|
184
|
-
|
|
185
|
-
padding-#{$sub-direction}: pintig.primitive-token-get('padding.#{$variant}');
|
|
186
|
-
}
|
|
153
|
+
// Max Height
|
|
154
|
+
.max-h-#{$dimension} {
|
|
155
|
+
max-height: pintig.primitive-token-get('height.#{$dimension}');
|
|
187
156
|
}
|
|
188
157
|
|
|
189
158
|
@each $breakpoint in $_breakpoints {
|
|
190
|
-
.\@#{$breakpoint}\:
|
|
159
|
+
.\@#{$breakpoint}\:max-h-#{$dimension} {
|
|
191
160
|
@include pintig.breakpoint-create($breakpoint) {
|
|
192
|
-
|
|
193
|
-
padding-#{$sub-direction}: pintig.primitive-token-get('padding.#{$variant}') !important;
|
|
194
|
-
}
|
|
161
|
+
max-height: pintig.primitive-token-get('height.#{$dimension}') !important;
|
|
195
162
|
}
|
|
196
163
|
}
|
|
197
164
|
}
|
|
198
165
|
}
|
|
199
166
|
}
|
|
200
167
|
|
|
201
|
-
@
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
168
|
+
@each $variant in $_variants {
|
|
169
|
+
@if list.index($utils-to-render, 'p') {
|
|
170
|
+
// Padding
|
|
171
|
+
.p-#{$variant} {
|
|
172
|
+
padding: pintig.primitive-token-get('padding.#{$variant}');
|
|
173
|
+
}
|
|
206
174
|
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
175
|
+
@each $breakpoint in $_breakpoints {
|
|
176
|
+
.\@#{$breakpoint}\:p-#{$variant} {
|
|
177
|
+
@include pintig.breakpoint-create($breakpoint) {
|
|
178
|
+
padding: pintig.primitive-token-get('padding.#{$variant}') !important;
|
|
179
|
+
}
|
|
211
180
|
}
|
|
212
181
|
}
|
|
213
|
-
}
|
|
214
182
|
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
183
|
+
@each $direction, $direction-val in $_directions {
|
|
184
|
+
.p#{$direction}-#{$variant} {
|
|
185
|
+
@each $sub-direction in $direction-val {
|
|
186
|
+
padding-#{$sub-direction}: pintig.primitive-token-get('padding.#{$variant}');
|
|
187
|
+
}
|
|
219
188
|
}
|
|
220
|
-
}
|
|
221
189
|
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
190
|
+
@each $breakpoint in $_breakpoints {
|
|
191
|
+
.\@#{$breakpoint}\:p#{$direction}-#{$variant} {
|
|
192
|
+
@include pintig.breakpoint-create($breakpoint) {
|
|
193
|
+
@each $sub-direction in $direction-val {
|
|
194
|
+
padding-#{$sub-direction}: pintig.primitive-token-get('padding.#{$variant}') !important;
|
|
195
|
+
}
|
|
227
196
|
}
|
|
228
197
|
}
|
|
229
198
|
}
|
|
230
199
|
}
|
|
231
200
|
}
|
|
232
|
-
}
|
|
233
201
|
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
} @else {
|
|
239
|
-
.r-#{$variant} {
|
|
240
|
-
border-radius: pintig.primitive-token-get('radius.#{$variant}');
|
|
202
|
+
@if list.index($utils-to-render, 'm') {
|
|
203
|
+
// Margin
|
|
204
|
+
.m-#{$variant} {
|
|
205
|
+
margin: pintig.primitive-token-get('margin.#{$variant}');
|
|
241
206
|
}
|
|
242
207
|
|
|
243
208
|
@each $breakpoint in $_breakpoints {
|
|
244
|
-
.\@#{$breakpoint}\:
|
|
209
|
+
.\@#{$breakpoint}\:m-#{$variant} {
|
|
245
210
|
@include pintig.breakpoint-create($breakpoint) {
|
|
246
|
-
|
|
211
|
+
margin: pintig.primitive-token-get('margin.#{$variant}') !important;
|
|
247
212
|
}
|
|
248
213
|
}
|
|
249
214
|
}
|
|
250
215
|
|
|
251
|
-
@each $direction, $direction-val in $
|
|
252
|
-
.
|
|
216
|
+
@each $direction, $direction-val in $_directions {
|
|
217
|
+
.m#{$direction}-#{$variant} {
|
|
253
218
|
@each $sub-direction in $direction-val {
|
|
254
|
-
|
|
219
|
+
margin-#{$sub-direction}: pintig.primitive-token-get('margin.#{$variant}');
|
|
255
220
|
}
|
|
256
221
|
}
|
|
257
222
|
|
|
258
223
|
@each $breakpoint in $_breakpoints {
|
|
259
|
-
.\@#{$breakpoint}\:
|
|
224
|
+
.\@#{$breakpoint}\:m#{$direction}-#{$variant} {
|
|
260
225
|
@include pintig.breakpoint-create($breakpoint) {
|
|
261
226
|
@each $sub-direction in $direction-val {
|
|
262
|
-
|
|
227
|
+
margin-#{$sub-direction}: pintig.primitive-token-get('margin.#{$variant}') !important;
|
|
263
228
|
}
|
|
264
229
|
}
|
|
265
230
|
}
|
|
266
231
|
}
|
|
267
232
|
}
|
|
268
233
|
}
|
|
269
|
-
}
|
|
270
|
-
}
|
|
271
234
|
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
235
|
+
@if list.index($utils-to-render, 'r') {
|
|
236
|
+
// Border Radius
|
|
237
|
+
@if $variant == 'auto' {
|
|
238
|
+
// Do nothing
|
|
239
|
+
} @else {
|
|
240
|
+
.r-#{$variant} {
|
|
241
|
+
border-radius: pintig.primitive-token-get('radius.#{$variant}');
|
|
242
|
+
}
|
|
278
243
|
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
244
|
+
@each $breakpoint in $_breakpoints {
|
|
245
|
+
.\@#{$breakpoint}\:r-#{$variant} {
|
|
246
|
+
@include pintig.breakpoint-create($breakpoint) {
|
|
247
|
+
border-radius: pintig.primitive-token-get('radius.#{$variant}') !important;
|
|
248
|
+
}
|
|
249
|
+
}
|
|
250
|
+
}
|
|
251
|
+
|
|
252
|
+
@each $direction, $direction-val in $_r-directions {
|
|
253
|
+
.r#{$direction}-#{$variant} {
|
|
254
|
+
@each $sub-direction in $direction-val {
|
|
255
|
+
border-#{$sub-direction}-radius: pintig.primitive-token-get('radius.#{$variant}');
|
|
256
|
+
}
|
|
257
|
+
}
|
|
258
|
+
|
|
259
|
+
@each $breakpoint in $_breakpoints {
|
|
260
|
+
.\@#{$breakpoint}\:r#{$direction}-#{$variant} {
|
|
261
|
+
@include pintig.breakpoint-create($breakpoint) {
|
|
262
|
+
@each $sub-direction in $direction-val {
|
|
263
|
+
border-#{$sub-direction}-radius: pintig.primitive-token-get('radius.#{$variant}') !important;
|
|
264
|
+
}
|
|
265
|
+
}
|
|
266
|
+
}
|
|
267
|
+
}
|
|
283
268
|
}
|
|
284
269
|
}
|
|
285
270
|
}
|
|
286
271
|
}
|
|
287
|
-
}
|
|
288
272
|
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
273
|
+
@if list.index($utils-to-render, 'border-width') {
|
|
274
|
+
@each $variant in $_stroke-size {
|
|
275
|
+
// Border Width
|
|
276
|
+
.border-#{$variant} {
|
|
277
|
+
border-width: pintig.primitive-token-get('border.#{$variant}');
|
|
278
|
+
}
|
|
279
|
+
|
|
280
|
+
@each $breakpoint in $_breakpoints {
|
|
281
|
+
.\@#{$breakpoint}\:border-#{$variant} {
|
|
282
|
+
@include pintig.breakpoint-create($breakpoint) {
|
|
283
|
+
border-width: pintig.primitive-token-get('border.#{$variant}') !important;
|
|
284
|
+
}
|
|
285
|
+
}
|
|
286
|
+
}
|
|
294
287
|
}
|
|
288
|
+
}
|
|
295
289
|
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
290
|
+
@if list.index($utils-to-render, 'border-style') {
|
|
291
|
+
@each $variant in $_stroke-style {
|
|
292
|
+
// Border Style
|
|
293
|
+
.border-#{$variant} {
|
|
294
|
+
border-style: string.unquote($variant);
|
|
295
|
+
}
|
|
296
|
+
|
|
297
|
+
@each $breakpoint in $_breakpoints {
|
|
298
|
+
.\@#{$breakpoint}\:border-#{$variant} {
|
|
299
|
+
@include pintig.breakpoint-create($breakpoint) {
|
|
300
|
+
border-style: string.unquote($variant) !important;
|
|
301
|
+
}
|
|
300
302
|
}
|
|
301
303
|
}
|
|
302
304
|
}
|
|
@@ -16,43 +16,50 @@ $_presets: (
|
|
|
16
16
|
family: 'supertitle',
|
|
17
17
|
size: 'supertitle',
|
|
18
18
|
weight: 'supertitle',
|
|
19
|
-
line-height: 'supertitle'
|
|
19
|
+
line-height: 'supertitle',
|
|
20
|
+
squeeze: 'supertitle'
|
|
20
21
|
),
|
|
21
22
|
'title': (
|
|
22
23
|
family: 'title',
|
|
23
24
|
size: 'title',
|
|
24
25
|
weight: 'title',
|
|
25
|
-
line-height: 'title'
|
|
26
|
+
line-height: 'title',
|
|
27
|
+
squeeze: 'title'
|
|
26
28
|
),
|
|
27
29
|
'subtitle': (
|
|
28
30
|
family: 'subtitle',
|
|
29
31
|
size: 'subtitle',
|
|
30
32
|
weight: 'subtitle',
|
|
31
|
-
line-height: 'subtitle'
|
|
33
|
+
line-height: 'subtitle',
|
|
34
|
+
squeeze: 'subtitle'
|
|
32
35
|
),
|
|
33
36
|
'body': (
|
|
34
37
|
family: 'body',
|
|
35
38
|
size: 'body',
|
|
36
39
|
weight: 'body',
|
|
37
|
-
line-height: 'body'
|
|
40
|
+
line-height: 'body',
|
|
41
|
+
squeeze: 'body'
|
|
38
42
|
),
|
|
39
43
|
'mono': (
|
|
40
44
|
family: 'mono',
|
|
41
45
|
size: 'mono',
|
|
42
46
|
weight: 'mono',
|
|
43
|
-
line-height: 'mono'
|
|
47
|
+
line-height: 'mono',
|
|
48
|
+
squeeze: 'mono'
|
|
44
49
|
),
|
|
45
50
|
'small': (
|
|
46
51
|
family: 'small',
|
|
47
52
|
size: 'small',
|
|
48
53
|
weight: 'small',
|
|
49
|
-
line-height: 'small'
|
|
54
|
+
line-height: 'small',
|
|
55
|
+
squeeze: 'small'
|
|
50
56
|
)
|
|
51
57
|
);
|
|
52
58
|
$_sizes: ('xs', 'sm', 'md', 'lg', 'xl', '2xl', '3xl', '4xl', '5xl', '6xl');
|
|
53
59
|
$_weights: ('black', 'bold', 'normal', 'light');
|
|
54
|
-
$_line-heights: ('broad', 'normal', 'condensed');
|
|
60
|
+
$_line-heights: ('broad', 'normal', 'condensed', 'tall', 'short');
|
|
55
61
|
$_alignments: ('center', 'left', 'right', 'justify', 'justify-all');
|
|
62
|
+
$_squeezes: ('tight', 'normal', 'loose');
|
|
56
63
|
|
|
57
64
|
@mixin typography($include: (), $exclude: ()) {
|
|
58
65
|
$utils-to-render: helpers.handle-include-exclude((
|
|
@@ -61,105 +68,126 @@ $_alignments: ('center', 'left', 'right', 'justify', 'justify-all');
|
|
|
61
68
|
'size',
|
|
62
69
|
'weight',
|
|
63
70
|
'line-height',
|
|
64
|
-
'alignment'
|
|
71
|
+
'alignment',
|
|
72
|
+
'squeeze'
|
|
65
73
|
), $include, $exclude);
|
|
66
74
|
|
|
67
|
-
@
|
|
68
|
-
@
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
+
@layer utils {
|
|
76
|
+
@if list.index($utils-to-render, 'preset') {
|
|
77
|
+
@each $preset, $values in $_presets {
|
|
78
|
+
.#{$preset} {
|
|
79
|
+
font-family: pintig.token-get('family-#{map.get($values, 'family')}');
|
|
80
|
+
font-size: pintig.token-get('size-#{map.get($values, 'size')}');
|
|
81
|
+
font-weight: pintig.token-switch('weight-#{map.get($values, 'weight')}', pintig.primitive-token-switch('weight.#{map.get($values, 'weight')}', $values));
|
|
82
|
+
line-height: pintig.token-switch('line-height-#{map.get($values, 'weight')}', pintig.primitive-token-switch('line-height.#{map.get($values, 'line-height')}', $values));
|
|
83
|
+
letter-spacing: pintig.token-switch('squeeze-#{map.get($values, 'squeeze')}', pintig.primitive-token-switch('squeeze.#{map.get($values, 'squeeze')}', $values));
|
|
84
|
+
}
|
|
75
85
|
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
86
|
+
@each $breakpoint in $_breakpoints {
|
|
87
|
+
.\@#{$breakpoint}\:#{$preset} {
|
|
88
|
+
@include pintig.breakpoint-create($breakpoint) {
|
|
89
|
+
font-family: pintig.token-get('family-#{map.get($values, 'family')}') !important;
|
|
90
|
+
font-size: pintig.token-get('size-#{map.get($values, 'size')}') !important;
|
|
91
|
+
font-weight: pintig.token-switch('weight-#{map.get($values, 'weight')}', pintig.primitive-token-switch('weight.#{map.get($values, 'weight')}', $values));
|
|
92
|
+
line-height: pintig.token-switch('line-height-#{map.get($values, 'weight')}', pintig.primitive-token-switch('line-height.#{map.get($values, 'line-height')}', $values));
|
|
93
|
+
letter-spacing: pintig.token-switch('squeeze-#{map.get($values, 'squeeze')}', pintig.primitive-token-switch('squeeze.#{map.get($values, 'squeeze')}', $values));
|
|
94
|
+
}
|
|
83
95
|
}
|
|
84
96
|
}
|
|
85
97
|
}
|
|
86
98
|
}
|
|
87
|
-
}
|
|
88
99
|
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
100
|
+
@if list.index($utils-to-render, 'family') {
|
|
101
|
+
@each $preset, $values in $_presets {
|
|
102
|
+
.family-#{$preset} {
|
|
103
|
+
font-family: pintig.token-get('family-#{$preset}');
|
|
104
|
+
}
|
|
94
105
|
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
106
|
+
@each $breakpoint in $_breakpoints {
|
|
107
|
+
.\@#{$breakpoint}\:family-#{$preset} {
|
|
108
|
+
@include pintig.breakpoint-create($breakpoint) {
|
|
109
|
+
font-family: pintig.token-get('family-#{$preset}') !important;
|
|
110
|
+
}
|
|
99
111
|
}
|
|
100
112
|
}
|
|
101
113
|
}
|
|
102
114
|
}
|
|
103
|
-
}
|
|
104
115
|
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
116
|
+
@if list.index($utils-to-render, 'size') {
|
|
117
|
+
@each $size in $_sizes {
|
|
118
|
+
.size-#{$size} {
|
|
119
|
+
font-size: pintig.primitive-token-get('size.#{$size}');
|
|
120
|
+
}
|
|
110
121
|
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
122
|
+
@each $breakpoint in $_breakpoints {
|
|
123
|
+
.\@#{$breakpoint}\:size-#{$size} {
|
|
124
|
+
@include pintig.breakpoint-create($breakpoint) {
|
|
125
|
+
font-size: pintig.primitive-token-get('size.#{$size}') !important;
|
|
126
|
+
}
|
|
115
127
|
}
|
|
116
128
|
}
|
|
117
129
|
}
|
|
118
130
|
}
|
|
119
|
-
}
|
|
120
131
|
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
132
|
+
@if list.index($utils-to-render, 'weight') {
|
|
133
|
+
@each $weight in $_weights {
|
|
134
|
+
.weight-#{$weight} {
|
|
135
|
+
font-weight: pintig.primitive-token-get('weight.#{$weight}');
|
|
136
|
+
}
|
|
126
137
|
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
138
|
+
@each $breakpoint in $_breakpoints {
|
|
139
|
+
.\@#{$breakpoint}\:weight-#{$weight} {
|
|
140
|
+
@include pintig.breakpoint-create($breakpoint) {
|
|
141
|
+
font-weight: pintig.primitive-token-get('weight.#{$weight}') !important;
|
|
142
|
+
}
|
|
131
143
|
}
|
|
132
144
|
}
|
|
133
145
|
}
|
|
134
146
|
}
|
|
135
|
-
}
|
|
136
147
|
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
148
|
+
@if list.index($utils-to-render, 'line-height') {
|
|
149
|
+
@each $line-height in $_line-heights {
|
|
150
|
+
.line-height-#{$line-height} {
|
|
151
|
+
line-height: pintig.primitive-token-get('line-height.#{$line-height}');
|
|
152
|
+
}
|
|
142
153
|
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
154
|
+
@each $breakpoint in $_breakpoints {
|
|
155
|
+
.\@#{$breakpoint}\:line-height-#{$line-height} {
|
|
156
|
+
@include pintig.breakpoint-create($breakpoint) {
|
|
157
|
+
line-height: pintig.primitive-token-get('line-height.#{$line-height}') !important;
|
|
158
|
+
}
|
|
147
159
|
}
|
|
148
160
|
}
|
|
149
161
|
}
|
|
150
162
|
}
|
|
151
|
-
}
|
|
152
163
|
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
164
|
+
@if list.index($utils-to-render, 'alignment') {
|
|
165
|
+
@each $alignment in $_alignments {
|
|
166
|
+
.align-#{$alignment} {
|
|
167
|
+
text-align: string.unquote($alignment);
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
@each $breakpoint in $_breakpoints {
|
|
171
|
+
.\@#{$breakpoint}\:align-#{$alignment} {
|
|
172
|
+
@include pintig.breakpoint-create($breakpoint) {
|
|
173
|
+
text-align: string.unquote($alignment) !important;
|
|
174
|
+
}
|
|
175
|
+
}
|
|
176
|
+
}
|
|
157
177
|
}
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
@if list.index($utils-to-render, 'squeeze') {
|
|
181
|
+
@each $squeeze in $_squeezes {
|
|
182
|
+
.squeeze-#{$squeeze} {
|
|
183
|
+
letter-spacing: pintig.primitive-token-get('squeeze.#{$squeeze}');
|
|
184
|
+
}
|
|
158
185
|
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
186
|
+
@each $breakpoint in $_breakpoints {
|
|
187
|
+
.\@#{$breakpoint}\:squeeze-#{$squeeze} {
|
|
188
|
+
@include pintig.breakpoint-create($breakpoint) {
|
|
189
|
+
letter-spacing: pintig.primitive-token-get('squeeze.#{$squeeze}') !important;
|
|
190
|
+
}
|
|
163
191
|
}
|
|
164
192
|
}
|
|
165
193
|
}
|