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