@nuvoui/core 1.3.4 → 1.4.0

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.
Files changed (64) hide show
  1. package/LICENSE +21 -0
  2. package/dist/nuvoui.css +424 -342
  3. package/dist/nuvoui.css.map +1 -1
  4. package/dist/nuvoui.min.css +23 -1
  5. package/dist/nuvoui.min.css.map +1 -1
  6. package/package.json +1 -1
  7. package/src/styles/base/_base.scss +148 -147
  8. package/src/styles/base/_reset.scss +41 -49
  9. package/src/styles/build.scss +25 -1
  10. package/src/styles/components/_tooltips.scss +271 -0
  11. package/src/styles/config/_borders.scss +15 -0
  12. package/src/styles/config/_breakpoints.scss +11 -0
  13. package/src/styles/config/_colors.scss +192 -0
  14. package/src/styles/config/_constants.scss +1 -0
  15. package/src/styles/config/_container-queries.scss +1 -0
  16. package/src/styles/config/_feature-flags.scss +33 -0
  17. package/src/styles/config/_layouts.scss +13 -0
  18. package/src/styles/config/_shadows.scss +9 -0
  19. package/src/styles/config/_spacing.scss +41 -0
  20. package/src/styles/config/_theme-validation.scss +59 -0
  21. package/src/styles/config/_typography.scss +45 -0
  22. package/src/styles/functions/_breakpoints.scss +15 -0
  23. package/src/styles/functions/_colors.scss +280 -0
  24. package/src/styles/functions/_css-vars.scss +33 -0
  25. package/src/styles/functions/_feature-flags.scss +20 -0
  26. package/src/styles/functions/_math.scss +72 -0
  27. package/src/styles/functions/_strings.scss +68 -0
  28. package/src/styles/functions/_types.scss +104 -0
  29. package/src/styles/functions/_units.scss +83 -0
  30. package/src/styles/index.scss +26 -5
  31. package/src/styles/layouts/_container.scss +28 -27
  32. package/src/styles/layouts/_flex.scss +340 -341
  33. package/src/styles/layouts/_grid.scss +131 -128
  34. package/src/styles/mixins-map.json +484 -479
  35. package/src/styles/mixins-map.scss +1 -1
  36. package/src/styles/themes/_theme.scss +230 -211
  37. package/src/styles/tools/_accessibility.scss +50 -0
  38. package/src/styles/tools/_container-queries.scss +98 -0
  39. package/src/styles/tools/_feature-support.scss +46 -0
  40. package/src/styles/tools/_media-queries.scss +70 -0
  41. package/src/styles/tools/_modern-layout.scss +49 -0
  42. package/src/styles/utilities/_alignment.scss +35 -34
  43. package/src/styles/utilities/_animations.scss +312 -311
  44. package/src/styles/utilities/_backdrop-filters.scss +194 -193
  45. package/src/styles/utilities/_borders.scss +243 -237
  46. package/src/styles/utilities/_colors.scss +16 -136
  47. package/src/styles/utilities/_cursor.scss +10 -10
  48. package/src/styles/utilities/_display.scss +192 -191
  49. package/src/styles/utilities/_helpers.scss +106 -106
  50. package/src/styles/utilities/_opacity.scss +27 -25
  51. package/src/styles/utilities/_position.scss +124 -121
  52. package/src/styles/utilities/_shadows.scss +171 -169
  53. package/src/styles/utilities/_sizing.scss +197 -194
  54. package/src/styles/utilities/_spacing.scss +231 -224
  55. package/src/styles/utilities/_transforms.scss +235 -234
  56. package/src/styles/utilities/_transitions.scss +136 -135
  57. package/src/styles/utilities/_typography.scss +242 -239
  58. package/src/styles/utilities/_z-index.scss +69 -68
  59. package/src/styles/abstracts/_config.scss +0 -253
  60. package/src/styles/abstracts/_functions.scss +0 -626
  61. package/src/styles/themes/refactored_borders.ipynb +0 -37
  62. package/src/styles/utilities/_container-queries.scss +0 -95
  63. package/src/styles/utilities/_media-queries.scss +0 -189
  64. package/src/styles/utilities/_tooltips.scss +0 -258
@@ -5,10 +5,12 @@
5
5
  @use "sass:meta";
6
6
 
7
7
  // Import variables
8
- @use "../abstracts/config" as VAR;
9
- @use "../abstracts/functions" as FN;
8
+ @use "../config/feature-flags" as config-flags;
9
+ @use "../config/breakpoints" as config-breakpoint;
10
+ @use "../config/typography" as config-typo;
11
+ @use "../functions/feature-flags" as fn-flags;
10
12
 
11
- // Typography Utilities
13
+ // config-typo Utilities
12
14
  // Classes:
13
15
  // - Font Size: .text-xs, .text-sm, .text-base, etc.
14
16
  // - Font Weight: .font-thin, .font-normal, .font-bold, etc.
@@ -26,415 +28,416 @@
26
28
  // Text size utility
27
29
  // @param {string} $size - The size of the text.
28
30
  @mixin text-size($size) {
29
- @if map.has-key(VAR.$font-sizes, $size) {
30
- font-size: map.get(VAR.$font-sizes, $size);
31
- } @else {
32
- font-size: $size;
33
- }
31
+ @if map.has-key(config-typo.$font-sizes, $size) {
32
+ font-size: map.get(config-typo.$font-sizes, $size);
33
+ } @else {
34
+ font-size: $size;
35
+ }
34
36
  }
35
37
 
36
38
  // Font weights
37
39
  @mixin font($weight) {
38
- @if map.has-key(VAR.$font-weights, #{$weight}) {
39
- font-weight: map.get(VAR.$font-weights, $weight);
40
- } @else if meta.type-of($weight) == number {
41
- font-weight: $weight;
42
- } @else {
43
- @warn "Unknown font weight: #{$weight} setting it to default.";
44
-
45
- font-weight: 400; // Default to normal weight
46
- }
40
+ @if map.has-key(config-typo.$font-weights, #{$weight}) {
41
+ font-weight: map.get(config-typo.$font-weights, $weight);
42
+ } @else if meta.type-of($weight) == "number" {
43
+ font-weight: $weight;
44
+ } @else {
45
+ @warn "Unknown font weight: #{$weight} setting it to default.";
46
+
47
+ font-weight: 400; // Default to normal weight
48
+ }
47
49
  }
48
50
 
49
51
  @mixin leading($value) {
50
- @if meta.type-of($value) == "number" {
51
- line-height: $value;
52
- } @else if $value == "none" {
53
- line-height: 1;
54
- } @else if $value == "tight" {
55
- line-height: 1.25;
56
- } @else if $value == "snug" {
57
- line-height: 1.375;
58
- } @else if $value == "normal" {
59
- line-height: 1.5;
60
- } @else if $value == "relaxed" {
61
- line-height: 1.625;
62
- } @else if $value == "loose" {
63
- line-height: 2;
64
- } @else {
65
- line-height: $value;
66
- }
52
+ @if meta.type-of($value) == "number" {
53
+ line-height: $value;
54
+ } @else if $value == "none" {
55
+ line-height: 1;
56
+ } @else if $value == "tight" {
57
+ line-height: 1.25;
58
+ } @else if $value == "snug" {
59
+ line-height: 1.375;
60
+ } @else if $value == "normal" {
61
+ line-height: 1.5;
62
+ } @else if $value == "relaxed" {
63
+ line-height: 1.625;
64
+ } @else if $value == "loose" {
65
+ line-height: 2;
66
+ } @else {
67
+ line-height: $value;
68
+ }
67
69
  }
68
70
 
69
71
  // Line heights
70
72
  @mixin leading-none {
71
- @include leading(none);
73
+ @include leading(none);
72
74
  }
73
75
 
74
76
  @mixin leading-tight {
75
- @include leading(tight);
77
+ @include leading(tight);
76
78
  }
77
79
 
78
80
  @mixin leading-snug {
79
- @include leading(snug);
81
+ @include leading(snug);
80
82
  }
81
83
 
82
84
  @mixin leading-normal {
83
- @include leading(normal);
85
+ @include leading(normal);
84
86
  }
85
87
 
86
88
  @mixin leading-relaxed {
87
- @include leading(relaxed);
89
+ @include leading(relaxed);
88
90
  }
89
91
 
90
92
  @mixin leading-loose {
91
- @include leading(loose);
93
+ @include leading(loose);
92
94
  }
93
95
 
94
96
  // Text alignment
95
97
  @mixin text-left {
96
- text-align: left;
98
+ text-align: left;
97
99
  }
98
100
 
99
101
  @mixin text-center {
100
- text-align: center;
102
+ text-align: center;
101
103
  }
102
104
 
103
105
  @mixin text-right {
104
- text-align: right;
106
+ text-align: right;
105
107
  }
106
108
 
107
109
  @mixin text-justify {
108
- text-align: justify;
110
+ text-align: justify;
109
111
  }
110
112
 
111
113
  // Text transform mixins
112
114
  @mixin uppercase {
113
- text-transform: uppercase;
115
+ text-transform: uppercase;
114
116
  }
115
117
 
116
118
  @mixin lowercase {
117
- text-transform: lowercase;
119
+ text-transform: lowercase;
118
120
  }
119
121
 
120
122
  @mixin capitalize {
121
- text-transform: capitalize;
123
+ text-transform: capitalize;
122
124
  }
123
125
 
124
126
  @mixin normal-case {
125
- text-transform: none;
127
+ text-transform: none;
126
128
  }
127
129
 
128
130
  // Font style mixins
129
131
  @mixin italic {
130
- font-style: italic;
132
+ font-style: italic;
131
133
  }
132
134
 
133
135
  @mixin not-italic {
134
- font-style: normal;
136
+ font-style: normal;
135
137
  }
136
138
 
137
139
  // Text decoration mixins
138
140
  @mixin underline {
139
- text-decoration: underline;
141
+ text-decoration: underline;
140
142
  }
141
143
 
142
144
  @mixin line-through {
143
- text-decoration: line-through;
145
+ text-decoration: line-through;
144
146
  }
145
147
 
146
148
  @mixin no-underline {
147
- text-decoration: none;
149
+ text-decoration: none;
148
150
  }
149
151
 
150
152
  // Text overflow mixin
151
153
  @mixin truncate {
152
- overflow: hidden;
153
- text-overflow: ellipsis;
154
- white-space: nowrap;
154
+ overflow: hidden;
155
+ text-overflow: ellipsis;
156
+ white-space: nowrap;
155
157
  }
156
158
 
159
+ // todo: doc missing
157
160
  @mixin overflow-label {
158
- white-space: nowrap;
159
- word-break: break-all;
160
- text-overflow: ellipsis;
161
- overflow: hidden;
162
- min-width: 0;
161
+ white-space: nowrap;
162
+ word-break: break-all;
163
+ text-overflow: ellipsis;
164
+ overflow: hidden;
165
+ min-width: 0;
163
166
  }
164
167
 
165
168
  @mixin truncate-lines($lines: 2) {
166
- display: -webkit-box;
167
- -webkit-line-clamp: $lines;
168
- -webkit-box-orient: vertical;
169
- overflow: hidden;
170
- text-overflow: ellipsis;
169
+ display: -webkit-box;
170
+ -webkit-line-clamp: $lines;
171
+ -webkit-box-orient: vertical;
172
+ overflow: hidden;
173
+ text-overflow: ellipsis;
171
174
  }
172
175
 
173
176
  @mixin break-normal {
174
- overflow-wrap: normal;
175
- word-break: normal;
177
+ overflow-wrap: normal;
178
+ word-break: normal;
176
179
  }
177
180
 
178
181
  @mixin break-words {
179
- overflow-wrap: break-word;
182
+ overflow-wrap: break-word;
180
183
  }
181
184
 
182
185
  @mixin break-all {
183
- word-break: break-all;
186
+ word-break: break-all;
184
187
  }
185
188
 
186
189
  @mixin whitespace-normal {
187
- white-space: normal;
190
+ white-space: normal;
188
191
  }
189
192
 
190
193
  @mixin whitespace-nowrap {
191
- white-space: nowrap;
194
+ white-space: nowrap;
192
195
  }
193
196
 
194
197
  @mixin whitespace-pre {
195
- white-space: pre;
198
+ white-space: pre;
196
199
  }
197
200
 
198
201
  @mixin whitespace-pre-line {
199
- white-space: pre-line;
202
+ white-space: pre-line;
200
203
  }
201
204
 
202
205
  @mixin whitespace-pre-wrap {
203
- white-space: pre-wrap;
206
+ white-space: pre-wrap;
204
207
  }
205
208
 
206
209
  // Custom letter spacing mixin with value
207
210
  @mixin tracking($value) {
208
- @if meta.type-of($value) == "number" {
209
- letter-spacing: $value;
210
- } @else if $value == "tighter" {
211
- letter-spacing: -0.05em;
212
- } @else if $value == "tight" {
213
- letter-spacing: -0.025em;
214
- } @else if $value == "normal" {
215
- letter-spacing: 0;
216
- } @else if $value == "wide" {
217
- letter-spacing: 0.025em;
218
- } @else if $value == "wider" {
219
- letter-spacing: 0.05em;
220
- } @else if $value == "widest" {
221
- letter-spacing: 0.1em;
222
- } @else {
223
- letter-spacing: $value;
224
- }
211
+ @if meta.type-of($value) == "number" {
212
+ letter-spacing: $value;
213
+ } @else if $value == "tighter" {
214
+ letter-spacing: -0.05em;
215
+ } @else if $value == "tight" {
216
+ letter-spacing: -0.025em;
217
+ } @else if $value == "normal" {
218
+ letter-spacing: 0;
219
+ } @else if $value == "wide" {
220
+ letter-spacing: 0.025em;
221
+ } @else if $value == "wider" {
222
+ letter-spacing: 0.05em;
223
+ } @else if $value == "widest" {
224
+ letter-spacing: 0.1em;
225
+ } @else {
226
+ letter-spacing: $value;
227
+ }
225
228
  }
226
229
 
227
230
  @mixin tracking-tighter {
228
- @include tracking(tighter);
231
+ @include tracking(tighter);
229
232
  }
230
233
 
231
234
  @mixin tracking-tight {
232
- @include tracking(tight);
235
+ @include tracking(tight);
233
236
  }
234
237
 
235
238
  @mixin tracking-normal {
236
- @include tracking(normal);
239
+ @include tracking(normal);
237
240
  }
238
241
 
239
242
  @mixin tracking-wide {
240
- @include tracking(wide);
243
+ @include tracking(wide);
241
244
  }
242
245
 
243
246
  @mixin tracking-wider {
244
- @include tracking(wider);
247
+ @include tracking(wider);
245
248
  }
246
249
 
247
250
  @mixin tracking-widest {
248
- @include tracking(widest);
251
+ @include tracking(widest);
249
252
  }
250
253
 
251
- @mixin responsive-typography($breakpoint: null) {
252
- $suffix: if($breakpoint, "\\@#{$breakpoint}", "");
254
+ @mixin responsive-config-typo($breakpoint: null) {
255
+ $suffix: if($breakpoint, "\\@#{$breakpoint}", "");
253
256
 
254
- @each $size, $val in VAR.$font-sizes {
255
- #{VAR.$parent-selector} .text-#{$size}#{$suffix} {
256
- @include text-size($size);
257
+ @each $size, $val in config-typo.$font-sizes {
258
+ #{config-flags.$parent-selector} .text-#{$size}#{$suffix} {
259
+ @include text-size($size);
260
+ }
257
261
  }
258
- }
259
262
 
260
- // Generate font weight utilities
261
- @each $size, $val in VAR.$font-weights {
262
- #{VAR.$parent-selector} .font-#{$size}#{$suffix} {
263
- @include font($size);
263
+ // Generate font weight utilities
264
+ @each $size, $val in config-typo.$font-weights {
265
+ #{config-flags.$parent-selector} .font-#{$size}#{$suffix} {
266
+ @include font($size);
267
+ }
264
268
  }
265
- }
266
269
 
267
- // Generate line height utilities
268
- #{VAR.$parent-selector} .leading-none#{$suffix} {
269
- @include leading-none;
270
- }
270
+ // Generate line height utilities
271
+ #{config-flags.$parent-selector} .leading-none#{$suffix} {
272
+ @include leading-none;
273
+ }
271
274
 
272
- #{VAR.$parent-selector} .leading-tight#{$suffix} {
273
- @include leading-tight;
274
- }
275
+ #{config-flags.$parent-selector} .leading-tight#{$suffix} {
276
+ @include leading-tight;
277
+ }
275
278
 
276
- #{VAR.$parent-selector} .leading-snug#{$suffix} {
277
- @include leading-snug;
278
- }
279
+ #{config-flags.$parent-selector} .leading-snug#{$suffix} {
280
+ @include leading-snug;
281
+ }
279
282
 
280
- #{VAR.$parent-selector} .leading-normal#{$suffix} {
281
- @include leading-normal;
282
- }
283
+ #{config-flags.$parent-selector} .leading-normal#{$suffix} {
284
+ @include leading-normal;
285
+ }
283
286
 
284
- #{VAR.$parent-selector} .leading-relaxed#{$suffix} {
285
- @include leading-relaxed;
286
- }
287
+ #{config-flags.$parent-selector} .leading-relaxed#{$suffix} {
288
+ @include leading-relaxed;
289
+ }
287
290
 
288
- #{VAR.$parent-selector} .leading-loose#{$suffix} {
289
- @include leading-loose;
290
- }
291
+ #{config-flags.$parent-selector} .leading-loose#{$suffix} {
292
+ @include leading-loose;
293
+ }
291
294
 
292
- // Generate text alignment utilities
293
- #{VAR.$parent-selector} .text-left#{$suffix} {
294
- @include text-left;
295
- }
295
+ // Generate text alignment utilities
296
+ #{config-flags.$parent-selector} .text-left#{$suffix} {
297
+ @include text-left;
298
+ }
296
299
 
297
- #{VAR.$parent-selector} .text-center#{$suffix} {
298
- @include text-center;
299
- }
300
+ #{config-flags.$parent-selector} .text-center#{$suffix} {
301
+ @include text-center;
302
+ }
300
303
 
301
- #{VAR.$parent-selector} .text-right#{$suffix} {
302
- @include text-right;
303
- }
304
+ #{config-flags.$parent-selector} .text-right#{$suffix} {
305
+ @include text-right;
306
+ }
304
307
 
305
- #{VAR.$parent-selector} .text-justify#{$suffix} {
306
- @include text-justify;
307
- }
308
+ #{config-flags.$parent-selector} .text-justify#{$suffix} {
309
+ @include text-justify;
310
+ }
308
311
 
309
- // Classes using mixins
310
- #{VAR.$parent-selector} .uppercase#{$suffix} {
311
- @include uppercase;
312
- }
312
+ // Classes using mixins
313
+ #{config-flags.$parent-selector} .uppercase#{$suffix} {
314
+ @include uppercase;
315
+ }
313
316
 
314
- #{VAR.$parent-selector} .lowercase#{$suffix} {
315
- @include lowercase;
316
- }
317
+ #{config-flags.$parent-selector} .lowercase#{$suffix} {
318
+ @include lowercase;
319
+ }
317
320
 
318
- #{VAR.$parent-selector} .capitalize#{$suffix} {
319
- @include capitalize;
320
- }
321
+ #{config-flags.$parent-selector} .capitalize#{$suffix} {
322
+ @include capitalize;
323
+ }
321
324
 
322
- #{VAR.$parent-selector} .normal-case#{$suffix} {
323
- @include normal-case;
324
- }
325
+ #{config-flags.$parent-selector} .normal-case#{$suffix} {
326
+ @include normal-case;
327
+ }
325
328
 
326
- #{VAR.$parent-selector} .italic#{$suffix} {
327
- @include italic;
328
- }
329
+ #{config-flags.$parent-selector} .italic#{$suffix} {
330
+ @include italic;
331
+ }
329
332
 
330
- #{VAR.$parent-selector} .not-italic#{$suffix} {
331
- @include not-italic;
332
- }
333
+ #{config-flags.$parent-selector} .not-italic#{$suffix} {
334
+ @include not-italic;
335
+ }
333
336
 
334
- #{VAR.$parent-selector} .underline#{$suffix} {
335
- @include underline;
336
- }
337
+ #{config-flags.$parent-selector} .underline#{$suffix} {
338
+ @include underline;
339
+ }
337
340
 
338
- #{VAR.$parent-selector} .line-through#{$suffix} {
339
- @include line-through;
340
- }
341
+ #{config-flags.$parent-selector} .line-through#{$suffix} {
342
+ @include line-through;
343
+ }
341
344
 
342
- #{VAR.$parent-selector} .no-underline#{$suffix} {
343
- @include no-underline;
344
- }
345
+ #{config-flags.$parent-selector} .no-underline#{$suffix} {
346
+ @include no-underline;
347
+ }
345
348
 
346
- #{VAR.$parent-selector} .truncate#{$suffix} {
347
- @include truncate;
348
- }
349
+ #{config-flags.$parent-selector} .truncate#{$suffix} {
350
+ @include truncate;
351
+ }
349
352
 
350
- #{VAR.$parent-selector} .truncate-2#{$suffix} {
351
- @include truncate-lines(2);
352
- }
353
+ #{config-flags.$parent-selector} .truncate-2#{$suffix} {
354
+ @include truncate-lines(2);
355
+ }
353
356
 
354
- #{VAR.$parent-selector} .truncate-3#{$suffix} {
355
- @include truncate-lines(3);
356
- }
357
+ #{config-flags.$parent-selector} .truncate-3#{$suffix} {
358
+ @include truncate-lines(3);
359
+ }
357
360
 
358
- #{VAR.$parent-selector} .truncate-4#{$suffix} {
359
- @include truncate-lines(4);
360
- }
361
+ #{config-flags.$parent-selector} .truncate-4#{$suffix} {
362
+ @include truncate-lines(4);
363
+ }
361
364
 
362
- #{VAR.$parent-selector} .truncate-5#{$suffix} {
363
- @include truncate-lines(5);
364
- }
365
+ #{config-flags.$parent-selector} .truncate-5#{$suffix} {
366
+ @include truncate-lines(5);
367
+ }
365
368
 
366
- #{VAR.$parent-selector} .tracking-tighter#{$suffix} {
367
- @include tracking(tighter);
368
- }
369
+ #{config-flags.$parent-selector} .tracking-tighter#{$suffix} {
370
+ @include tracking(tighter);
371
+ }
369
372
 
370
- #{VAR.$parent-selector} .tracking-tight#{$suffix} {
371
- @include tracking(tight);
372
- }
373
+ #{config-flags.$parent-selector} .tracking-tight#{$suffix} {
374
+ @include tracking(tight);
375
+ }
373
376
 
374
- #{VAR.$parent-selector} .tracking-normal#{$suffix} {
375
- @include tracking(normal);
376
- }
377
+ #{config-flags.$parent-selector} .tracking-normal#{$suffix} {
378
+ @include tracking(normal);
379
+ }
377
380
 
378
- #{VAR.$parent-selector} .tracking-wide#{$suffix} {
379
- @include tracking(wide);
380
- }
381
+ #{config-flags.$parent-selector} .tracking-wide#{$suffix} {
382
+ @include tracking(wide);
383
+ }
381
384
 
382
- #{VAR.$parent-selector} .tracking-wider#{$suffix} {
383
- @include tracking(wider);
384
- }
385
+ #{config-flags.$parent-selector} .tracking-wider#{$suffix} {
386
+ @include tracking(wider);
387
+ }
385
388
 
386
- #{VAR.$parent-selector} .tracking-widest#{$suffix} {
387
- @include tracking(widest);
388
- }
389
+ #{config-flags.$parent-selector} .tracking-widest#{$suffix} {
390
+ @include tracking(widest);
391
+ }
389
392
 
390
- #{VAR.$parent-selector} .overflow-label#{$suffix} {
391
- @include overflow-label;
392
- }
393
+ #{config-flags.$parent-selector} .overflow-label#{$suffix} {
394
+ @include overflow-label;
395
+ }
393
396
  }
394
397
 
395
- @if FN.feature-enabled("typography") {
396
- @include responsive-typography;
398
+ @if fn-flags.feature-enabled("config-typo") {
399
+ @include responsive-config-typo;
397
400
 
398
- #{VAR.$parent-selector} .break-normal {
399
- @include break-normal;
400
- }
401
+ #{config-flags.$parent-selector} .break-normal {
402
+ @include break-normal;
403
+ }
401
404
 
402
- #{VAR.$parent-selector} .break-words {
403
- @include break-words;
404
- }
405
+ #{config-flags.$parent-selector} .break-words {
406
+ @include break-words;
407
+ }
405
408
 
406
- #{VAR.$parent-selector} .break-all {
407
- @include break-all;
408
- }
409
+ #{config-flags.$parent-selector} .break-all {
410
+ @include break-all;
411
+ }
409
412
 
410
- #{VAR.$parent-selector} .whitespace-normal {
411
- @include whitespace-normal;
412
- }
413
+ #{config-flags.$parent-selector} .whitespace-normal {
414
+ @include whitespace-normal;
415
+ }
413
416
 
414
- #{VAR.$parent-selector} .whitespace-nowrap {
415
- @include whitespace-nowrap;
416
- }
417
+ #{config-flags.$parent-selector} .whitespace-nowrap {
418
+ @include whitespace-nowrap;
419
+ }
417
420
 
418
- #{VAR.$parent-selector} .whitespace-pre {
419
- @include whitespace-pre;
420
- }
421
+ #{config-flags.$parent-selector} .whitespace-pre {
422
+ @include whitespace-pre;
423
+ }
421
424
 
422
- #{VAR.$parent-selector} .whitespace-pre-line {
423
- @include whitespace-pre-line;
424
- }
425
+ #{config-flags.$parent-selector} .whitespace-pre-line {
426
+ @include whitespace-pre-line;
427
+ }
425
428
 
426
- #{VAR.$parent-selector} .whitespace-pre-wrap {
427
- @include whitespace-pre-wrap;
428
- }
429
+ #{config-flags.$parent-selector} .whitespace-pre-wrap {
430
+ @include whitespace-pre-wrap;
431
+ }
429
432
 
430
- @each $breakpoint, $width in VAR.$breakpoints {
431
- @media (min-width: #{$width}) {
432
- @each $size, $val in VAR.$font-sizes {
433
- #{VAR.$parent-selector} .text-#{$size}\@#{$breakpoint} {
434
- @include text-size($size);
433
+ @each $breakpoint, $width in config-breakpoint.$breakpoints {
434
+ @media (min-width: #{$width}) {
435
+ @each $size, $val in config-typo.$font-sizes {
436
+ #{config-flags.$parent-selector} .text-#{$size}\@#{$breakpoint} {
437
+ @include text-size($size);
438
+ }
439
+ }
440
+ @include responsive-config-typo($breakpoint);
435
441
  }
436
- }
437
- @include responsive-typography($breakpoint);
438
442
  }
439
- }
440
443
  }