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