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