@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.
@@ -26,12 +26,12 @@ $_variants: (
26
26
  '6xl',
27
27
  );
28
28
  $_directions: (
29
- 't': top,
30
- 'l': left,
31
- 'b': bottom,
32
- 'r': right,
33
- 'x': (left, right),
34
- 'y': (top, bottom)
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
- @each $dimension in $_dimensions {
84
- @if list.index($utils-to-render, 'w') {
85
- // Width
86
- .w-#{$dimension} {
87
- width: pintig.primitive-token-get('width.#{$dimension}');
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
- @each $breakpoint in $_breakpoints {
104
- .\@#{$breakpoint}\:min-w-#{$dimension} {
105
- @include pintig.breakpoint-create($breakpoint) {
106
- min-width: pintig.primitive-token-get('width.#{$dimension}') !important;
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
- @each $breakpoint in $_breakpoints {
117
- .\@#{$breakpoint}\:max-w-#{$dimension} {
118
- @include pintig.breakpoint-create($breakpoint) {
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
- @if list.index($utils-to-render, 'h') {
126
- // Height
127
- .h-#{$dimension} {
128
- height: pintig.primitive-token-get('height.#{$dimension}');
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
- // Min Height
140
- .min-h-#{$dimension} {
141
- min-height: pintig.primitive-token-get('height.#{$dimension}');
142
- }
112
+ // Max Width
113
+ .max-w-#{$dimension} {
114
+ max-width: pintig.primitive-token-get('width.#{$dimension}');
115
+ }
143
116
 
144
- @each $breakpoint in $_breakpoints {
145
- .\@#{$breakpoint}\:min-h-#{$dimension} {
146
- @include pintig.breakpoint-create($breakpoint) {
147
- min-height: pintig.primitive-token-get('height.#{$dimension}') !important;
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
- // Max Height
153
- .max-h-#{$dimension} {
154
- max-height: pintig.primitive-token-get('height.#{$dimension}');
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
- @each $breakpoint in $_breakpoints {
158
- .\@#{$breakpoint}\:max-h-#{$dimension} {
159
- @include pintig.breakpoint-create($breakpoint) {
160
- max-height: pintig.primitive-token-get('height.#{$dimension}') !important;
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
- @each $variant in $_variants {
168
- @if list.index($utils-to-render, 'p') {
169
- // Padding
170
- .p-#{$variant} {
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
- @each $breakpoint in $_breakpoints {
175
- .\@#{$breakpoint}\:p-#{$variant} {
176
- @include pintig.breakpoint-create($breakpoint) {
177
- padding: pintig.primitive-token-get('padding.#{$variant}') !important;
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
- @each $direction, $direction-val in $_directions {
183
- .p#{$direction}-#{$variant} {
184
- @each $sub-direction in $direction-val {
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}\:p#{$direction}-#{$variant} {
159
+ .\@#{$breakpoint}\:max-h-#{$dimension} {
191
160
  @include pintig.breakpoint-create($breakpoint) {
192
- @each $sub-direction in $direction-val {
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
- @if list.index($utils-to-render, 'm') {
202
- // Margin
203
- .m-#{$variant} {
204
- margin: pintig.primitive-token-get('margin.#{$variant}');
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
- @each $breakpoint in $_breakpoints {
208
- .\@#{$breakpoint}\:m-#{$variant} {
209
- @include pintig.breakpoint-create($breakpoint) {
210
- margin: pintig.primitive-token-get('margin.#{$variant}') !important;
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
- @each $direction, $direction-val in $_directions {
216
- .m#{$direction}-#{$variant} {
217
- @each $sub-direction in $direction-val {
218
- margin-#{$sub-direction}: pintig.primitive-token-get('margin.#{$variant}');
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
- @each $breakpoint in $_breakpoints {
223
- .\@#{$breakpoint}\:m#{$direction}-#{$variant} {
224
- @include pintig.breakpoint-create($breakpoint) {
225
- @each $sub-direction in $direction-val {
226
- margin-#{$sub-direction}: pintig.primitive-token-get('margin.#{$variant}') !important;
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
- @if list.index($utils-to-render, 'r') {
235
- // Border Radius
236
- @if $variant == 'auto' {
237
- // Do nothing
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}\:r-#{$variant} {
209
+ .\@#{$breakpoint}\:m-#{$variant} {
245
210
  @include pintig.breakpoint-create($breakpoint) {
246
- border-radius: pintig.primitive-token-get('radius.#{$variant}') !important;
211
+ margin: pintig.primitive-token-get('margin.#{$variant}') !important;
247
212
  }
248
213
  }
249
214
  }
250
215
 
251
- @each $direction, $direction-val in $_r-directions {
252
- .r#{$direction}-#{$variant} {
216
+ @each $direction, $direction-val in $_directions {
217
+ .m#{$direction}-#{$variant} {
253
218
  @each $sub-direction in $direction-val {
254
- border-#{$sub-direction}-radius: pintig.primitive-token-get('radius.#{$variant}');
219
+ margin-#{$sub-direction}: pintig.primitive-token-get('margin.#{$variant}');
255
220
  }
256
221
  }
257
222
 
258
223
  @each $breakpoint in $_breakpoints {
259
- .\@#{$breakpoint}\:r#{$direction}-#{$variant} {
224
+ .\@#{$breakpoint}\:m#{$direction}-#{$variant} {
260
225
  @include pintig.breakpoint-create($breakpoint) {
261
226
  @each $sub-direction in $direction-val {
262
- border-#{$sub-direction}-radius: pintig.primitive-token-get('radius.#{$variant}') !important;
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
- @if list.index($utils-to-render, 'border-width') {
273
- @each $variant in $_stroke-size {
274
- // Border Width
275
- .border-#{$variant} {
276
- border-width: pintig.primitive-token-get('border.#{$variant}');
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
- @each $breakpoint in $_breakpoints {
280
- .\@#{$breakpoint}\:border-#{$variant} {
281
- @include pintig.breakpoint-create($breakpoint) {
282
- border-width: pintig.primitive-token-get('border.#{$variant}') !important;
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
- @if list.index($utils-to-render, 'border-style') {
290
- @each $variant in $_stroke-style {
291
- // Border Style
292
- .border-#{$variant} {
293
- border-style: string.unquote($variant);
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
- @each $breakpoint in $_breakpoints {
297
- .\@#{$breakpoint}\:border-#{$variant} {
298
- @include pintig.breakpoint-create($breakpoint) {
299
- border-style: string.unquote($variant) !important;
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
- @if list.index($utils-to-render, 'preset') {
68
- @each $preset, $values in $_presets {
69
- .#{$preset} {
70
- font-family: pintig.token-get('family-#{map.get($values, 'family')}');
71
- font-size: pintig.token-get('size-#{map.get($values, 'size')}');
72
- font-weight: pintig.token-switch('weight-#{map.get($values, 'weight')}', pintig.primitive-token-switch('weight.#{map.get($values, 'weight')}', $values));
73
- line-height: pintig.token-switch('line-height-#{map.get($values, 'weight')}', pintig.primitive-token-switch('line-height.#{map.get($values, 'line-height')}', $values));
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
- @each $breakpoint in $_breakpoints {
77
- .\@#{$breakpoint}\:#{$preset} {
78
- @include pintig.breakpoint-create($breakpoint) {
79
- font-family: pintig.token-get('family-#{map.get($values, 'family')}') !important;
80
- font-size: pintig.token-get('size-#{map.get($values, 'size')}') !important;
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));
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
- @if list.index($utils-to-render, 'family') {
90
- @each $preset, $values in $_presets {
91
- .family-#{$preset} {
92
- font-family: pintig.token-get('family-#{$preset}');
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
- @each $breakpoint in $_breakpoints {
96
- .\@#{$breakpoint}\:family-#{$preset} {
97
- @include pintig.breakpoint-create($breakpoint) {
98
- font-family: pintig.token-get('family-#{$preset}') !important;
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
- @if list.index($utils-to-render, 'size') {
106
- @each $size in $_sizes {
107
- .size-#{$size} {
108
- font-size: pintig.primitive-token-get('size.#{$size}');
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
- @each $breakpoint in $_breakpoints {
112
- .\@#{$breakpoint}\:size-#{$size} {
113
- @include pintig.breakpoint-create($breakpoint) {
114
- font-size: pintig.primitive-token-get('size.#{$size}') !important;
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
- @if list.index($utils-to-render, 'weight') {
122
- @each $weight in $_weights {
123
- .weight-#{$weight} {
124
- font-weight: pintig.primitive-token-get('weight.#{$weight}');
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
- @each $breakpoint in $_breakpoints {
128
- .\@#{$breakpoint}\:weight-#{$weight} {
129
- @include pintig.breakpoint-create($breakpoint) {
130
- font-weight: pintig.primitive-token-get('weight.#{$weight}') !important;
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
- @if list.index($utils-to-render, 'line-height') {
138
- @each $line-height in $_line-heights {
139
- .line-height-#{$line-height} {
140
- line-height: pintig.primitive-token-get('line-height.#{$line-height}');
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
- @each $breakpoint in $_breakpoints {
144
- .\@#{$breakpoint}\:line-height-#{$line-height} {
145
- @include pintig.breakpoint-create($breakpoint) {
146
- line-height: pintig.primitive-token-get('line-height.#{$line-height}') !important;
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
- @if list.index($utils-to-render, 'alignment') {
154
- @each $alignment in $_alignments {
155
- .align-#{$alignment} {
156
- text-align: string.unquote($alignment);
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
- @each $breakpoint in $_breakpoints {
160
- .\@#{$breakpoint}\:align-#{$alignment} {
161
- @include pintig.breakpoint-create($breakpoint) {
162
- text-align: string.unquote($alignment) !important;
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
  }