@nuvoui/core 1.1.8 → 1.2.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 (39) hide show
  1. package/README.md +90 -35
  2. package/dist/nuvoui.css +28531 -0
  3. package/dist/nuvoui.css.map +1 -0
  4. package/dist/nuvoui.min.css +2 -1
  5. package/dist/nuvoui.min.css.map +1 -0
  6. package/package.json +48 -27
  7. package/src/styles/abstracts/_config.scss +157 -0
  8. package/src/styles/abstracts/_functions.scss +81 -0
  9. package/src/styles/abstracts/_index.scss +2 -0
  10. package/src/styles/base/_base.scss +2 -2
  11. package/src/styles/base/_index.scss +2 -0
  12. package/src/styles/base/_reset.scss +8 -6
  13. package/src/styles/index.scss +11 -30
  14. package/src/styles/layouts/_container.scss +2 -21
  15. package/src/styles/layouts/_flex.scss +4 -3
  16. package/src/styles/layouts/_grid.scss +3 -35
  17. package/src/styles/layouts/_index.scss +3 -0
  18. package/src/styles/mixins-map.scss +875 -1477
  19. package/src/styles/themes/_index.scss +1 -0
  20. package/src/styles/themes/_theme.scss +175 -57
  21. package/src/styles/utilities/_alignment.scss +1 -1
  22. package/src/styles/utilities/_animations.scss +65 -61
  23. package/src/styles/utilities/_borders.scss +280 -16
  24. package/src/styles/utilities/_colors.scss +68 -49
  25. package/src/styles/utilities/_container-queries.scss +9 -10
  26. package/src/styles/utilities/_display.scss +2 -2
  27. package/src/styles/utilities/_helpers.scss +110 -108
  28. package/src/styles/utilities/_index.scss +19 -0
  29. package/src/styles/utilities/_media-queries.scss +48 -14
  30. package/src/styles/utilities/_opacity.scss +33 -15
  31. package/src/styles/utilities/_position.scss +7 -7
  32. package/src/styles/utilities/_shadows.scss +147 -95
  33. package/src/styles/utilities/_sizing.scss +22 -21
  34. package/src/styles/utilities/_spacing.scss +38 -22
  35. package/src/styles/utilities/_tooltips.scss +153 -105
  36. package/src/styles/utilities/_transitions.scss +1 -1
  37. package/src/styles/utilities/_typography.scss +4 -4
  38. package/src/styles/utilities/_functions.scss +0 -84
  39. package/src/styles/utilities/_variables.scss +0 -126
@@ -1,9 +1,15 @@
1
1
 
2
+ @use 'abstracts/config' as *;
3
+ @use 'abstracts/functions' as *;
4
+ @use 'abstracts/index' as *;
2
5
  @use 'base/base' as *;
6
+ @use 'base/index' as *;
3
7
  @use 'base/reset' as *;
4
8
  @use 'layouts/container' as *;
5
9
  @use 'layouts/flex' as *;
6
10
  @use 'layouts/grid' as *;
11
+ @use 'layouts/index' as *;
12
+ @use 'themes/index' as *;
7
13
  @use 'themes/theme' as *;
8
14
  @use 'utilities/alignment' as *;
9
15
  @use 'utilities/animations' as *;
@@ -11,8 +17,8 @@
11
17
  @use 'utilities/colors' as *;
12
18
  @use 'utilities/container-queries' as *;
13
19
  @use 'utilities/display' as *;
14
- @use 'utilities/functions' as *;
15
20
  @use 'utilities/helpers' as *;
21
+ @use 'utilities/index' as *;
16
22
  @use 'utilities/media-queries' as *;
17
23
  @use 'utilities/opacity' as *;
18
24
  @use 'utilities/position' as *;
@@ -22,1494 +28,886 @@
22
28
  @use 'utilities/tooltips' as *;
23
29
  @use 'utilities/transitions' as *;
24
30
  @use 'utilities/typography' as *;
25
- @use 'utilities/variables' as *;
26
-
27
31
  @use 'sass:string' as str;
32
+ @use 'sass:map';
33
+ @use 'sass:list';
34
+
35
+ @function str-trim($string) {
36
+ @while str.length($string) > 0 and str.slice($string, 1, 1) == " " {
37
+ $string: str.slice($string, 2);
38
+ }
39
+
40
+ @while str.length($string) > 0 and str.slice($string, -1) == " " {
41
+ $string: str.slice($string, 1, str.length($string) - 1);
42
+ }
43
+
44
+ @return $string;
45
+ }
46
+
47
+ @function split($string, $delimiter) {
48
+ $result: ();
49
+ $index: str.index($string, $delimiter);
50
+
51
+ @while $index != null {
52
+ $item: str.slice($string, 1, $index - 1);
53
+ $result: list.append($result, str-trim($item));
54
+ $string: str.slice($string, $index + str.length($delimiter));
55
+ $index: str.index($string, $delimiter);
56
+ }
57
+
58
+ @return list.append($result, str-trim($string));
59
+ }
60
+
61
+
28
62
 
29
63
  @mixin apply($mixins...) {
30
64
  @each $mixin in $mixins {
31
65
  $mixin-str: #{$mixin};
32
- $breakpoint: null;
33
66
 
34
- // Extract breakpoint if exists
35
- @if str.index($mixin-str, '_') {
36
- $breakpoint: str.slice($mixin-str, str.index($mixin-str, '_') + 1);
67
+ @if str.index($mixin-str, '(') {
68
+ $opening: str.index($mixin-str, '(');
69
+ $closing: null;
70
+ $depth: 1;
37
71
 
38
- // Handle parameters with breakpoints
39
- @if str.index($mixin-str, '(') {
40
- $start: str.index($mixin-str, '(') + 1;
41
- $end: str.index($mixin-str, '_') - 2;
42
- $value: str.slice($mixin-str, $start, $end);
43
- $mixin-name: str.slice($mixin-str, 1, $start - 1);
44
- $mixin-str: $mixin-name + $value;
45
- } @else {
46
- $mixin-str: str.slice($mixin-str, 1, str.index($mixin-str, '_') - 1);
72
+ @for $i from $opening + 1 through str.length($mixin-str) {
73
+ $char: str.slice($mixin-str, $i, $i);
74
+
75
+ @if $char == '(' {
76
+ $depth: $depth + 1;
77
+ } @else if $char == ')' {
78
+ $depth: $depth - 1;
79
+ @if $depth == 0 {
80
+ $closing: $i;
81
+ @break;
82
+ }
83
+ }
47
84
  }
48
- }
49
-
50
- // Wrap in media query if breakpoint exists
51
- @if $breakpoint {
52
- @include media-up($breakpoint) {
53
- @if $mixin-str == 'container-base' {
54
- @include container-base;
55
- } @else if $mixin-str == 'flex' {
56
- @include flex;
57
- } @else if $mixin-str == 'flex-inline' {
58
- @include flex-inline;
59
- } @else if $mixin-str == 'row' {
60
- @include row;
61
- } @else if $mixin-str == 'row-reverse' {
62
- @include row-reverse;
63
- } @else if $mixin-str == 'col' {
64
- @include col;
65
- } @else if $mixin-str == 'col-reverse' {
66
- @include col-reverse;
67
- } @else if $mixin-str == 'wrap' {
68
- @include wrap;
69
- } @else if $mixin-str == 'nowrap' {
70
- @include nowrap;
71
- } @else if $mixin-str == 'wrap-reverse' {
72
- @include wrap-reverse;
73
- } @else if $mixin-str == 'start' {
74
- @include start;
75
- } @else if $mixin-str == 'end' {
76
- @include end;
77
- } @else if $mixin-str == 'center' {
78
- @include center;
79
- } @else if $mixin-str == 'between' {
80
- @include between;
81
- } @else if $mixin-str == 'around' {
82
- @include around;
83
- } @else if $mixin-str == 'evenly' {
84
- @include evenly;
85
- } @else if $mixin-str == 'x-start' {
86
- @include x-start;
87
- } @else if $mixin-str == 'x-end' {
88
- @include x-end;
89
- } @else if $mixin-str == 'x-center' {
90
- @include x-center;
91
- } @else if $mixin-str == 'x-stretch' {
92
- @include x-stretch;
93
- } @else if $mixin-str == 'x-baseline' {
94
- @include x-baseline;
95
- } @else if $mixin-str == 'x-content-start' {
96
- @include x-content-start;
97
- } @else if $mixin-str == 'x-content-end' {
98
- @include x-content-end;
99
- } @else if $mixin-str == 'x-content-center' {
100
- @include x-content-center;
101
- } @else if $mixin-str == 'x-content-between' {
102
- @include x-content-between;
103
- } @else if $mixin-str == 'x-content-around' {
104
- @include x-content-around;
105
- } @else if $mixin-str == 'x-content-evenly' {
106
- @include x-content-evenly;
107
- } @else if $mixin-str == 'x-content-stretch' {
108
- @include x-content-stretch;
109
- } @else if $mixin-str == 'self-auto' {
110
- @include self-auto;
111
- } @else if $mixin-str == 'self-start' {
112
- @include self-start;
113
- } @else if $mixin-str == 'self-end' {
114
- @include self-end;
115
- } @else if $mixin-str == 'self-center' {
116
- @include self-center;
117
- } @else if $mixin-str == 'self-stretch' {
118
- @include self-stretch;
119
- } @else if $mixin-str == 'self-baseline' {
120
- @include self-baseline;
121
- } @else if $mixin-str == 'shrink' {
122
- @include shrink;
123
- } @else if $mixin-str == 'shrink-0' {
124
- @include shrink-0;
125
- } @else if $mixin-str == 'shrink-2' {
126
- @include shrink-2;
127
- } @else if $mixin-str == 'f-w-full' {
128
- @include f-w-full;
129
- } @else if $mixin-str == 'f-w-auto' {
130
- @include f-w-auto;
131
- } @else if $mixin-str == 'grow' {
132
- @include grow;
133
- } @else if $mixin-str == 'no-grow' {
134
- @include no-grow;
135
- } @else if $mixin-str == 'grid' {
136
- @include grid;
137
- } @else if $mixin-str == 'grid-inline' {
138
- @include grid-inline;
139
- } @else if $mixin-str == 'flow-in-row' {
140
- @include flow-in-row;
141
- } @else if $mixin-str == 'flow-in-col' {
142
- @include flow-in-col;
143
- } @else if $mixin-str == 'flow-dense-items' {
144
- @include flow-dense-items;
145
- } @else if $mixin-str == 'align-baseline' {
146
- @include align-baseline;
147
- } @else if $mixin-str == 'align-top' {
148
- @include align-top;
149
- } @else if $mixin-str == 'align-middle' {
150
- @include align-middle;
151
- } @else if $mixin-str == 'align-bottom' {
152
- @include align-bottom;
153
- } @else if $mixin-str == 'hide' {
154
- @include hide;
155
- } @else if $mixin-str == 'block' {
156
- @include block;
157
- } @else if $mixin-str == 'inline' {
158
- @include inline;
159
- } @else if $mixin-str == 'inline-block' {
160
- @include inline-block;
161
- } @else if $mixin-str == 'show' {
162
- @include show;
163
- } @else if $mixin-str == 'd-tbl' {
164
- @include d-tbl;
165
- } @else if $mixin-str == 'd-tbl-row' {
166
- @include d-tbl-row;
167
- } @else if $mixin-str == 'd-tbl-cell' {
168
- @include d-tbl-cell;
169
- } @else if $mixin-str == 'visible' {
170
- @include visible;
171
- } @else if $mixin-str == 'invisible' {
172
- @include invisible;
173
- } @else if $mixin-str == 'collapse' {
174
- @include collapse;
175
- } @else if $mixin-str == 'contents' {
176
- @include contents;
177
- } @else if $mixin-str == 'overflow-hidden' {
178
- @include overflow-hidden;
179
- } @else if $mixin-str == 'overflow-visible' {
180
- @include overflow-visible;
181
- } @else if $mixin-str == 'overflow-scroll' {
182
- @include overflow-scroll;
183
- } @else if $mixin-str == 'overflow-auto' {
184
- @include overflow-auto;
185
- } @else if $mixin-str == 'overflow-x-hidden' {
186
- @include overflow-x-hidden;
187
- } @else if $mixin-str == 'overflow-y-hidden' {
188
- @include overflow-y-hidden;
189
- } @else if $mixin-str == 'overflow-x-scroll' {
190
- @include overflow-x-scroll;
191
- } @else if $mixin-str == 'overflow-y-scroll' {
192
- @include overflow-y-scroll;
193
- } @else if $mixin-str == 'overflow-x-auto' {
194
- @include overflow-x-auto;
195
- } @else if $mixin-str == 'overflow-y-auto' {
196
- @include overflow-y-auto;
197
- } @else if $mixin-str == 'touch' {
198
- @include touch;
199
- } @else if $mixin-str == 'print' {
200
- @include print;
201
- } @else if $mixin-str == 'dark-mode' {
202
- @include dark-mode;
203
- } @else if $mixin-str == 'landscape' {
204
- @include landscape;
205
- } @else if $mixin-str == 'portrait' {
206
- @include portrait;
207
- } @else if $mixin-str == 'dvh' {
208
- @include dvh;
209
- } @else if $mixin-str == 'reduced-motion' {
210
- @include reduced-motion;
211
- } @else if $mixin-str == 'high-contrast' {
212
- @include high-contrast;
213
- } @else if $mixin-str == 'static' {
214
- @include static;
215
- } @else if $mixin-str == 'relative' {
216
- @include relative;
217
- } @else if $mixin-str == 'absolute' {
218
- @include absolute;
219
- } @else if $mixin-str == 'fixed' {
220
- @include fixed;
221
- } @else if $mixin-str == 'sticky' {
222
- @include sticky;
223
- } @else if $mixin-str == 'w-auto' {
224
- @include w-auto;
225
- } @else if $mixin-str == 'w-full' {
226
- @include w-full;
227
- } @else if $mixin-str == 'h-auto' {
228
- @include h-auto;
229
- } @else if $mixin-str == 'h-full' {
230
- @include h-full;
231
- } @else if $mixin-str == 'min-w-full' {
232
- @include min-w-full;
233
- } @else if $mixin-str == 'max-w-full' {
234
- @include max-w-full;
235
- } @else if $mixin-str == 'min-h-full' {
236
- @include min-h-full;
237
- } @else if $mixin-str == 'max-h-full' {
238
- @include max-h-full;
239
- } @else if $mixin-str == 'w-screen' {
240
- @include w-screen;
241
- } @else if $mixin-str == 'h-screen' {
242
- @include h-screen;
243
- } @else if $mixin-str == 'ml-auto' {
244
- @include ml-auto;
245
- } @else if $mixin-str == 'mr-auto' {
246
- @include mr-auto;
247
- } @else if $mixin-str == 'mx-auto' {
248
- @include mx-auto;
249
- } @else if $mixin-str == 'transition' {
250
- @include transition;
251
- } @else if $mixin-str == 'transition-none' {
252
- @include transition-none;
253
- } @else if $mixin-str == 'transition-all' {
254
- @include transition-all;
255
- } @else if $mixin-str == 'transition-colors' {
256
- @include transition-colors;
257
- } @else if $mixin-str == 'transition-opacity' {
258
- @include transition-opacity;
259
- } @else if $mixin-str == 'transition-shadow' {
260
- @include transition-shadow;
261
- } @else if $mixin-str == 'transition-transform' {
262
- @include transition-transform;
263
- } @else if $mixin-str == 'ease-linear' {
264
- @include ease-linear;
265
- } @else if $mixin-str == 'ease-in' {
266
- @include ease-in;
267
- } @else if $mixin-str == 'ease-out' {
268
- @include ease-out;
269
- } @else if $mixin-str == 'ease-in-out' {
270
- @include ease-in-out;
271
- } @else if $mixin-str == 'font-thin' {
272
- @include font-thin;
273
- } @else if $mixin-str == 'font-extralight' {
274
- @include font-extralight;
275
- } @else if $mixin-str == 'font-light' {
276
- @include font-light;
277
- } @else if $mixin-str == 'font-normal' {
278
- @include font-normal;
279
- } @else if $mixin-str == 'font-medium' {
280
- @include font-medium;
281
- } @else if $mixin-str == 'font-semibold' {
282
- @include font-semibold;
283
- } @else if $mixin-str == 'font-bold' {
284
- @include font-bold;
285
- } @else if $mixin-str == 'font-extrabold' {
286
- @include font-extrabold;
287
- } @else if $mixin-str == 'font-black' {
288
- @include font-black;
289
- } @else if $mixin-str == 'leading-none' {
290
- @include leading-none;
291
- } @else if $mixin-str == 'leading-tight' {
292
- @include leading-tight;
293
- } @else if $mixin-str == 'leading-snug' {
294
- @include leading-snug;
295
- } @else if $mixin-str == 'leading-normal' {
296
- @include leading-normal;
297
- } @else if $mixin-str == 'leading-relaxed' {
298
- @include leading-relaxed;
299
- } @else if $mixin-str == 'leading-loose' {
300
- @include leading-loose;
301
- } @else if $mixin-str == 'text-left' {
302
- @include text-left;
303
- } @else if $mixin-str == 'text-center' {
304
- @include text-center;
305
- } @else if $mixin-str == 'text-right' {
306
- @include text-right;
307
- } @else if $mixin-str == 'text-justify' {
308
- @include text-justify;
309
- } @else if $mixin-str == 'uppercase' {
310
- @include uppercase;
311
- } @else if $mixin-str == 'lowercase' {
312
- @include lowercase;
313
- } @else if $mixin-str == 'capitalize' {
314
- @include capitalize;
315
- } @else if $mixin-str == 'normal-case' {
316
- @include normal-case;
317
- } @else if $mixin-str == 'italic' {
318
- @include italic;
319
- } @else if $mixin-str == 'not-italic' {
320
- @include not-italic;
321
- } @else if $mixin-str == 'underline' {
322
- @include underline;
323
- } @else if $mixin-str == 'line-through' {
324
- @include line-through;
325
- } @else if $mixin-str == 'no-underline' {
326
- @include no-underline;
327
- } @else if $mixin-str == 'truncate' {
328
- @include truncate;
329
- } @else if $mixin-str == 'break-normal' {
330
- @include break-normal;
331
- } @else if $mixin-str == 'break-words' {
332
- @include break-words;
333
- } @else if $mixin-str == 'break-all' {
334
- @include break-all;
335
- } @else if $mixin-str == 'whitespace-normal' {
336
- @include whitespace-normal;
337
- } @else if $mixin-str == 'whitespace-nowrap' {
338
- @include whitespace-nowrap;
339
- } @else if $mixin-str == 'whitespace-pre' {
340
- @include whitespace-pre;
341
- } @else if $mixin-str == 'whitespace-pre-line' {
342
- @include whitespace-pre-line;
343
- } @else if $mixin-str == 'whitespace-pre-wrap' {
344
- @include whitespace-pre-wrap;
345
- } @else if str.index($mixin-str, 'container-padding(') == 1 {
346
- $start: str.index($mixin-str, '(') + 1;
347
- $end: str.length($mixin-str) - 1;
348
- $value: str.slice($mixin-str, $start, $end);
349
- @include container-padding(str.unquote($value));
350
- } @else if str.index($mixin-str, 'container(') == 1 {
351
- $start: str.index($mixin-str, '(') + 1;
352
- $end: str.length($mixin-str) - 1;
353
- $value: str.slice($mixin-str, $start, $end);
354
- @include container(str.unquote($value));
355
- } @else if str.index($mixin-str, 'w-col(') == 1 {
356
- $start: str.index($mixin-str, '(') + 1;
357
- $end: str.length($mixin-str) - 1;
358
- $value: str.slice($mixin-str, $start, $end);
359
- @include w-col(str.unquote($value));
360
- } @else if str.index($mixin-str, 'cols(') == 1 {
361
- $start: str.index($mixin-str, '(') + 1;
362
- $end: str.length($mixin-str) - 1;
363
- $value: str.slice($mixin-str, $start, $end);
364
- @include cols(str.unquote($value));
365
- } @else if str.index($mixin-str, 'rows(') == 1 {
366
- $start: str.index($mixin-str, '(') + 1;
367
- $end: str.length($mixin-str) - 1;
368
- $value: str.slice($mixin-str, $start, $end);
369
- @include rows(str.unquote($value));
370
- } @else if str.index($mixin-str, 'cols-custom(') == 1 {
371
- $start: str.index($mixin-str, '(') + 1;
372
- $end: str.length($mixin-str) - 1;
373
- $value: str.slice($mixin-str, $start, $end);
374
- @include cols-custom(str.unquote($value));
375
- } @else if str.index($mixin-str, 'auto-fit(') == 1 {
376
- $start: str.index($mixin-str, '(') + 1;
377
- $end: str.length($mixin-str) - 1;
378
- $value: str.slice($mixin-str, $start, $end);
379
- @include auto-fit(str.unquote($value));
380
- } @else if str.index($mixin-str, 'auto-fill(') == 1 {
381
- $start: str.index($mixin-str, '(') + 1;
382
- $end: str.length($mixin-str) - 1;
383
- $value: str.slice($mixin-str, $start, $end);
384
- @include auto-fill(str.unquote($value));
385
- } @else if str.index($mixin-str, 'justify-items(') == 1 {
386
- $start: str.index($mixin-str, '(') + 1;
387
- $end: str.length($mixin-str) - 1;
388
- $value: str.slice($mixin-str, $start, $end);
389
- @include justify-items(str.unquote($value));
390
- } @else if str.index($mixin-str, 'align-items(') == 1 {
391
- $start: str.index($mixin-str, '(') + 1;
392
- $end: str.length($mixin-str) - 1;
393
- $value: str.slice($mixin-str, $start, $end);
394
- @include align-items(str.unquote($value));
395
- } @else if str.index($mixin-str, 'place-items(') == 1 {
396
- $start: str.index($mixin-str, '(') + 1;
397
- $end: str.length($mixin-str) - 1;
398
- $value: str.slice($mixin-str, $start, $end);
399
- @include place-items(str.unquote($value));
400
- } @else if str.index($mixin-str, 'span-col(') == 1 {
401
- $start: str.index($mixin-str, '(') + 1;
402
- $end: str.length($mixin-str) - 1;
403
- $value: str.slice($mixin-str, $start, $end);
404
- @include span-col(str.unquote($value));
405
- } @else if str.index($mixin-str, 'span-row(') == 1 {
406
- $start: str.index($mixin-str, '(') + 1;
407
- $end: str.length($mixin-str) - 1;
408
- $value: str.slice($mixin-str, $start, $end);
409
- @include span-row(str.unquote($value));
410
- } @else if str.index($mixin-str, 'col-start(') == 1 {
411
- $start: str.index($mixin-str, '(') + 1;
412
- $end: str.length($mixin-str) - 1;
413
- $value: str.slice($mixin-str, $start, $end);
414
- @include col-start(str.unquote($value));
415
- } @else if str.index($mixin-str, 'col-end(') == 1 {
416
- $start: str.index($mixin-str, '(') + 1;
417
- $end: str.length($mixin-str) - 1;
418
- $value: str.slice($mixin-str, $start, $end);
419
- @include col-end(str.unquote($value));
420
- } @else if str.index($mixin-str, 'row-start(') == 1 {
421
- $start: str.index($mixin-str, '(') + 1;
422
- $end: str.length($mixin-str) - 1;
423
- $value: str.slice($mixin-str, $start, $end);
424
- @include row-start(str.unquote($value));
425
- } @else if str.index($mixin-str, 'row-end(') == 1 {
426
- $start: str.index($mixin-str, '(') + 1;
427
- $end: str.length($mixin-str) - 1;
428
- $value: str.slice($mixin-str, $start, $end);
429
- @include row-end(str.unquote($value));
430
- } @else if str.index($mixin-str, 'grid-position(') == 1 {
431
- $start: str.index($mixin-str, '(') + 1;
432
- $end: str.length($mixin-str) - 1;
433
- $value: str.slice($mixin-str, $start, $end);
434
- @include grid-position(str.unquote($value));
435
- } @else if str.index($mixin-str, 'position-col(') == 1 {
436
- $start: str.index($mixin-str, '(') + 1;
437
- $end: str.length($mixin-str) - 1;
438
- $value: str.slice($mixin-str, $start, $end);
439
- @include position-col(str.unquote($value));
440
- } @else if str.index($mixin-str, 'position-row(') == 1 {
441
- $start: str.index($mixin-str, '(') + 1;
442
- $end: str.length($mixin-str) - 1;
443
- $value: str.slice($mixin-str, $start, $end);
444
- @include position-row(str.unquote($value));
445
- } @else if str.index($mixin-str, 'grid-gap(') == 1 {
446
- $start: str.index($mixin-str, '(') + 1;
447
- $end: str.length($mixin-str) - 1;
448
- $value: str.slice($mixin-str, $start, $end);
449
- @include grid-gap(str.unquote($value));
450
- } @else if str.index($mixin-str, 'col-gap(') == 1 {
451
- $start: str.index($mixin-str, '(') + 1;
452
- $end: str.length($mixin-str) - 1;
453
- $value: str.slice($mixin-str, $start, $end);
454
- @include col-gap(str.unquote($value));
455
- } @else if str.index($mixin-str, 'row-gap(') == 1 {
456
- $start: str.index($mixin-str, '(') + 1;
457
- $end: str.length($mixin-str) - 1;
458
- $value: str.slice($mixin-str, $start, $end);
459
- @include row-gap(str.unquote($value));
460
- } @else if str.index($mixin-str, 'generate-bounce-keyframes(') == 1 {
461
- $start: str.index($mixin-str, '(') + 1;
462
- $end: str.length($mixin-str) - 1;
463
- $value: str.slice($mixin-str, $start, $end);
464
- @include generate-bounce-keyframes(str.unquote($value));
465
- } @else if str.index($mixin-str, 'animate-bounce(') == 1 {
466
- $start: str.index($mixin-str, '(') + 1;
467
- $end: str.length($mixin-str) - 1;
468
- $value: str.slice($mixin-str, $start, $end);
469
- @include animate-bounce(str.unquote($value));
470
- } @else if str.index($mixin-str, 'border(') == 1 {
471
- $start: str.index($mixin-str, '(') + 1;
472
- $end: str.length($mixin-str) - 1;
473
- $value: str.slice($mixin-str, $start, $end);
474
- @include border(str.unquote($value));
475
- } @else if str.index($mixin-str, 'rounded(') == 1 {
476
- $start: str.index($mixin-str, '(') + 1;
477
- $end: str.length($mixin-str) - 1;
478
- $value: str.slice($mixin-str, $start, $end);
479
- @include rounded(str.unquote($value));
480
- } @else if str.index($mixin-str, 'adaptive-contrast(') == 1 {
481
- $start: str.index($mixin-str, '(') + 1;
482
- $end: str.length($mixin-str) - 1;
483
- $value: str.slice($mixin-str, $start, $end);
484
- @include adaptive-contrast(str.unquote($value));
485
- } @else if str.index($mixin-str, 'backdrop-filter(') == 1 {
486
- $start: str.index($mixin-str, '(') + 1;
487
- $end: str.length($mixin-str) - 1;
488
- $value: str.slice($mixin-str, $start, $end);
489
- @include backdrop-filter(str.unquote($value));
490
- } @else if str.index($mixin-str, 'filter(') == 1 {
491
- $start: str.index($mixin-str, '(') + 1;
492
- $end: str.length($mixin-str) - 1;
493
- $value: str.slice($mixin-str, $start, $end);
494
- @include filter(str.unquote($value));
495
- } @else if str.index($mixin-str, 'container-up(') == 1 {
496
- $start: str.index($mixin-str, '(') + 1;
497
- $end: str.length($mixin-str) - 1;
498
- $value: str.slice($mixin-str, $start, $end);
499
- @include container-up(str.unquote($value));
500
- } @else if str.index($mixin-str, 'container-down(') == 1 {
501
- $start: str.index($mixin-str, '(') + 1;
502
- $end: str.length($mixin-str) - 1;
503
- $value: str.slice($mixin-str, $start, $end);
504
- @include container-down(str.unquote($value));
505
- } @else if str.index($mixin-str, 'container-between(') == 1 {
506
- $start: str.index($mixin-str, '(') + 1;
507
- $end: str.length($mixin-str) - 1;
508
- $value: str.slice($mixin-str, $start, $end);
509
- @include container-between(str.unquote($value));
510
- } @else if str.index($mixin-str, 'container-only(') == 1 {
511
- $start: str.index($mixin-str, '(') + 1;
512
- $end: str.length($mixin-str) - 1;
513
- $value: str.slice($mixin-str, $start, $end);
514
- @include container-only(str.unquote($value));
515
- } @else if str.index($mixin-str, 'container-query(') == 1 {
516
- $start: str.index($mixin-str, '(') + 1;
517
- $end: str.length($mixin-str) - 1;
518
- $value: str.slice($mixin-str, $start, $end);
519
- @include container-query(str.unquote($value));
520
- } @else if str.index($mixin-str, 'container-type(') == 1 {
521
- $start: str.index($mixin-str, '(') + 1;
522
- $end: str.length($mixin-str) - 1;
523
- $value: str.slice($mixin-str, $start, $end);
524
- @include container-type(str.unquote($value));
525
- } @else if str.index($mixin-str, 'container-name(') == 1 {
526
- $start: str.index($mixin-str, '(') + 1;
527
- $end: str.length($mixin-str) - 1;
528
- $value: str.slice($mixin-str, $start, $end);
529
- @include container-name(str.unquote($value));
530
- } @else if str.index($mixin-str, 'media-up(') == 1 {
531
- $start: str.index($mixin-str, '(') + 1;
532
- $end: str.length($mixin-str) - 1;
533
- $value: str.slice($mixin-str, $start, $end);
534
- @include media-up(str.unquote($value));
535
- } @else if str.index($mixin-str, 'media-down(') == 1 {
536
- $start: str.index($mixin-str, '(') + 1;
537
- $end: str.length($mixin-str) - 1;
538
- $value: str.slice($mixin-str, $start, $end);
539
- @include media-down(str.unquote($value));
540
- } @else if str.index($mixin-str, 'media-between(') == 1 {
541
- $start: str.index($mixin-str, '(') + 1;
542
- $end: str.length($mixin-str) - 1;
543
- $value: str.slice($mixin-str, $start, $end);
544
- @include media-between(str.unquote($value));
545
- } @else if str.index($mixin-str, 'media-only(') == 1 {
546
- $start: str.index($mixin-str, '(') + 1;
547
- $end: str.length($mixin-str) - 1;
548
- $value: str.slice($mixin-str, $start, $end);
549
- @include media-only(str.unquote($value));
550
- } @else if str.index($mixin-str, 'supports(') == 1 {
551
- $start: str.index($mixin-str, '(') + 1;
552
- $end: str.length($mixin-str) - 1;
553
- $value: str.slice($mixin-str, $start, $end);
554
- @include supports(str.unquote($value));
555
- } @else if str.index($mixin-str, 'aspect-ratio(') == 1 {
556
- $start: str.index($mixin-str, '(') + 1;
557
- $end: str.length($mixin-str) - 1;
558
- $value: str.slice($mixin-str, $start, $end);
559
- @include aspect-ratio(str.unquote($value));
560
- } @else if str.index($mixin-str, 'safe-area-inset(') == 1 {
561
- $start: str.index($mixin-str, '(') + 1;
562
- $end: str.length($mixin-str) - 1;
563
- $value: str.slice($mixin-str, $start, $end);
564
- @include safe-area-inset(str.unquote($value));
565
- } @else if str.index($mixin-str, 'top(') == 1 {
566
- $start: str.index($mixin-str, '(') + 1;
567
- $end: str.length($mixin-str) - 1;
568
- $value: str.slice($mixin-str, $start, $end);
569
- @include top(str.unquote($value));
570
- } @else if str.index($mixin-str, 'right(') == 1 {
571
- $start: str.index($mixin-str, '(') + 1;
572
- $end: str.length($mixin-str) - 1;
573
- $value: str.slice($mixin-str, $start, $end);
574
- @include right(str.unquote($value));
575
- } @else if str.index($mixin-str, 'bottom(') == 1 {
576
- $start: str.index($mixin-str, '(') + 1;
577
- $end: str.length($mixin-str) - 1;
578
- $value: str.slice($mixin-str, $start, $end);
579
- @include bottom(str.unquote($value));
580
- } @else if str.index($mixin-str, 'left(') == 1 {
581
- $start: str.index($mixin-str, '(') + 1;
582
- $end: str.length($mixin-str) - 1;
583
- $value: str.slice($mixin-str, $start, $end);
584
- @include left(str.unquote($value));
585
- } @else if str.index($mixin-str, 'shadow-base(') == 1 {
586
- $start: str.index($mixin-str, '(') + 1;
587
- $end: str.length($mixin-str) - 1;
588
- $value: str.slice($mixin-str, $start, $end);
589
- @include shadow-base(str.unquote($value));
590
- } @else if str.index($mixin-str, 'shadow(') == 1 {
591
- $start: str.index($mixin-str, '(') + 1;
592
- $end: str.length($mixin-str) - 1;
593
- $value: str.slice($mixin-str, $start, $end);
594
- @include shadow(str.unquote($value));
595
- } @else if str.index($mixin-str, 'shadow-inset(') == 1 {
596
- $start: str.index($mixin-str, '(') + 1;
597
- $end: str.length($mixin-str) - 1;
598
- $value: str.slice($mixin-str, $start, $end);
599
- @include shadow-inset(str.unquote($value));
600
- } @else if str.index($mixin-str, 'width(') == 1 {
601
- $start: str.index($mixin-str, '(') + 1;
602
- $end: str.length($mixin-str) - 1;
603
- $value: str.slice($mixin-str, $start, $end);
604
- @include width(str.unquote($value));
605
- } @else if str.index($mixin-str, 'height(') == 1 {
606
- $start: str.index($mixin-str, '(') + 1;
607
- $end: str.length($mixin-str) - 1;
608
- $value: str.slice($mixin-str, $start, $end);
609
- @include height(str.unquote($value));
610
- } @else if str.index($mixin-str, 'min-width(') == 1 {
611
- $start: str.index($mixin-str, '(') + 1;
612
- $end: str.length($mixin-str) - 1;
613
- $value: str.slice($mixin-str, $start, $end);
614
- @include min-width(str.unquote($value));
615
- } @else if str.index($mixin-str, 'min-height(') == 1 {
616
- $start: str.index($mixin-str, '(') + 1;
617
- $end: str.length($mixin-str) - 1;
618
- $value: str.slice($mixin-str, $start, $end);
619
- @include min-height(str.unquote($value));
620
- } @else if str.index($mixin-str, 'max-width(') == 1 {
621
- $start: str.index($mixin-str, '(') + 1;
622
- $end: str.length($mixin-str) - 1;
623
- $value: str.slice($mixin-str, $start, $end);
624
- @include max-width(str.unquote($value));
625
- } @else if str.index($mixin-str, 'max-height(') == 1 {
626
- $start: str.index($mixin-str, '(') + 1;
627
- $end: str.length($mixin-str) - 1;
628
- $value: str.slice($mixin-str, $start, $end);
629
- @include max-height(str.unquote($value));
630
- } @else if str.index($mixin-str, 'width-percent(') == 1 {
631
- $start: str.index($mixin-str, '(') + 1;
632
- $end: str.length($mixin-str) - 1;
633
- $value: str.slice($mixin-str, $start, $end);
634
- @include width-percent(str.unquote($value));
635
- } @else if str.index($mixin-str, 'height-percent(') == 1 {
636
- $start: str.index($mixin-str, '(') + 1;
637
- $end: str.length($mixin-str) - 1;
638
- $value: str.slice($mixin-str, $start, $end);
639
- @include height-percent(str.unquote($value));
640
- } @else if str.index($mixin-str, 'min-width-percent(') == 1 {
641
- $start: str.index($mixin-str, '(') + 1;
642
- $end: str.length($mixin-str) - 1;
643
- $value: str.slice($mixin-str, $start, $end);
644
- @include min-width-percent(str.unquote($value));
645
- } @else if str.index($mixin-str, 'min-height-percent(') == 1 {
646
- $start: str.index($mixin-str, '(') + 1;
647
- $end: str.length($mixin-str) - 1;
648
- $value: str.slice($mixin-str, $start, $end);
649
- @include min-height-percent(str.unquote($value));
650
- } @else if str.index($mixin-str, 'max-width-percent(') == 1 {
651
- $start: str.index($mixin-str, '(') + 1;
652
- $end: str.length($mixin-str) - 1;
653
- $value: str.slice($mixin-str, $start, $end);
654
- @include max-width-percent(str.unquote($value));
655
- } @else if str.index($mixin-str, 'max-height-percent(') == 1 {
656
- $start: str.index($mixin-str, '(') + 1;
657
- $end: str.length($mixin-str) - 1;
658
- $value: str.slice($mixin-str, $start, $end);
659
- @include max-height-percent(str.unquote($value));
660
- } @else if str.index($mixin-str, 'p(') == 1 {
661
- $start: str.index($mixin-str, '(') + 1;
662
- $end: str.length($mixin-str) - 1;
663
- $value: str.slice($mixin-str, $start, $end);
664
- @include p(str.unquote($value));
665
- } @else if str.index($mixin-str, 'px(') == 1 {
666
- $start: str.index($mixin-str, '(') + 1;
667
- $end: str.length($mixin-str) - 1;
668
- $value: str.slice($mixin-str, $start, $end);
669
- @include px(str.unquote($value));
670
- } @else if str.index($mixin-str, 'py(') == 1 {
671
- $start: str.index($mixin-str, '(') + 1;
672
- $end: str.length($mixin-str) - 1;
673
- $value: str.slice($mixin-str, $start, $end);
674
- @include py(str.unquote($value));
675
- } @else if str.index($mixin-str, 'pt(') == 1 {
676
- $start: str.index($mixin-str, '(') + 1;
677
- $end: str.length($mixin-str) - 1;
678
- $value: str.slice($mixin-str, $start, $end);
679
- @include pt(str.unquote($value));
680
- } @else if str.index($mixin-str, 'pr(') == 1 {
681
- $start: str.index($mixin-str, '(') + 1;
682
- $end: str.length($mixin-str) - 1;
683
- $value: str.slice($mixin-str, $start, $end);
684
- @include pr(str.unquote($value));
685
- } @else if str.index($mixin-str, 'pb(') == 1 {
686
- $start: str.index($mixin-str, '(') + 1;
687
- $end: str.length($mixin-str) - 1;
688
- $value: str.slice($mixin-str, $start, $end);
689
- @include pb(str.unquote($value));
690
- } @else if str.index($mixin-str, 'pl(') == 1 {
691
- $start: str.index($mixin-str, '(') + 1;
692
- $end: str.length($mixin-str) - 1;
693
- $value: str.slice($mixin-str, $start, $end);
694
- @include pl(str.unquote($value));
695
- } @else if str.index($mixin-str, 'm(') == 1 {
696
- $start: str.index($mixin-str, '(') + 1;
697
- $end: str.length($mixin-str) - 1;
698
- $value: str.slice($mixin-str, $start, $end);
699
- @include m(str.unquote($value));
700
- } @else if str.index($mixin-str, 'mx(') == 1 {
701
- $start: str.index($mixin-str, '(') + 1;
702
- $end: str.length($mixin-str) - 1;
703
- $value: str.slice($mixin-str, $start, $end);
704
- @include mx(str.unquote($value));
705
- } @else if str.index($mixin-str, 'my(') == 1 {
706
- $start: str.index($mixin-str, '(') + 1;
707
- $end: str.length($mixin-str) - 1;
708
- $value: str.slice($mixin-str, $start, $end);
709
- @include my(str.unquote($value));
710
- } @else if str.index($mixin-str, 'mt(') == 1 {
711
- $start: str.index($mixin-str, '(') + 1;
712
- $end: str.length($mixin-str) - 1;
713
- $value: str.slice($mixin-str, $start, $end);
714
- @include mt(str.unquote($value));
715
- } @else if str.index($mixin-str, 'mr(') == 1 {
716
- $start: str.index($mixin-str, '(') + 1;
717
- $end: str.length($mixin-str) - 1;
718
- $value: str.slice($mixin-str, $start, $end);
719
- @include mr(str.unquote($value));
720
- } @else if str.index($mixin-str, 'mb(') == 1 {
721
- $start: str.index($mixin-str, '(') + 1;
722
- $end: str.length($mixin-str) - 1;
723
- $value: str.slice($mixin-str, $start, $end);
724
- @include mb(str.unquote($value));
725
- } @else if str.index($mixin-str, 'ml(') == 1 {
726
- $start: str.index($mixin-str, '(') + 1;
727
- $end: str.length($mixin-str) - 1;
728
- $value: str.slice($mixin-str, $start, $end);
729
- @include ml(str.unquote($value));
730
- } @else if str.index($mixin-str, 'space-y(') == 1 {
731
- $start: str.index($mixin-str, '(') + 1;
732
- $end: str.length($mixin-str) - 1;
733
- $value: str.slice($mixin-str, $start, $end);
734
- @include space-y(str.unquote($value));
735
- } @else if str.index($mixin-str, 'space-x(') == 1 {
736
- $start: str.index($mixin-str, '(') + 1;
737
- $end: str.length($mixin-str) - 1;
738
- $value: str.slice($mixin-str, $start, $end);
739
- @include space-x(str.unquote($value));
740
- } @else if str.index($mixin-str, 'gap(') == 1 {
741
- $start: str.index($mixin-str, '(') + 1;
742
- $end: str.length($mixin-str) - 1;
743
- $value: str.slice($mixin-str, $start, $end);
744
- @include gap(str.unquote($value));
745
- } @else if str.index($mixin-str, 'gap-x(') == 1 {
746
- $start: str.index($mixin-str, '(') + 1;
747
- $end: str.length($mixin-str) - 1;
748
- $value: str.slice($mixin-str, $start, $end);
749
- @include gap-x(str.unquote($value));
750
- } @else if str.index($mixin-str, 'gap-y(') == 1 {
751
- $start: str.index($mixin-str, '(') + 1;
752
- $end: str.length($mixin-str) - 1;
753
- $value: str.slice($mixin-str, $start, $end);
754
- @include gap-y(str.unquote($value));
755
- } @else if str.index($mixin-str, 'duration(') == 1 {
756
- $start: str.index($mixin-str, '(') + 1;
757
- $end: str.length($mixin-str) - 1;
758
- $value: str.slice($mixin-str, $start, $end);
759
- @include duration(str.unquote($value));
760
- } @else if str.index($mixin-str, 'delay(') == 1 {
761
- $start: str.index($mixin-str, '(') + 1;
762
- $end: str.length($mixin-str) - 1;
763
- $value: str.slice($mixin-str, $start, $end);
764
- @include delay(str.unquote($value));
765
- } @else if str.index($mixin-str, 'text-size(') == 1 {
766
- $start: str.index($mixin-str, '(') + 1;
767
- $end: str.length($mixin-str) - 1;
768
- $value: str.slice($mixin-str, $start, $end);
769
- @include text-size(str.unquote($value));
770
- } @else if str.index($mixin-str, 'truncate-lines(') == 1 {
771
- $start: str.index($mixin-str, '(') + 1;
772
- $end: str.length($mixin-str) - 1;
773
- $value: str.slice($mixin-str, $start, $end);
774
- @include truncate-lines(str.unquote($value));
775
- } @else if str.index($mixin-str, 'responsive-typography(') == 1 {
776
- $start: str.index($mixin-str, '(') + 1;
777
- $end: str.length($mixin-str) - 1;
778
- $value: str.slice($mixin-str, $start, $end);
779
- @include responsive-typography(str.unquote($value));
85
+
86
+ @if $closing {
87
+ $mixin-name: str.slice($mixin-str, 1, $opening - 1);
88
+ $mixin-params: split(str.slice($mixin-str, $opening + 1, $closing - 1), ',');
89
+ $full-mixin-call: str.slice($mixin-str, 1, $closing);
90
+ $modifiers_text: "";
91
+ @if str.length($mixin-str) > $closing {
92
+ $modifiers_text: str.slice($mixin-str, $closing + 1);
93
+ @while str.slice($modifiers_text, 1, 1) == ' ' {
94
+ $modifiers_text: str.slice($modifiers_text, 2);
95
+ }
96
+ }
97
+ $breakpoint: null;
98
+ $state: null;
99
+
100
+ @if $modifiers_text != "" {
101
+ $modifier-list: str.split($modifiers_text, ' ');
102
+
103
+ @each $mod in $modifier-list {
104
+ @if map.has-key($breakpoints, $mod) {
105
+ $breakpoint: $mod;
106
+ } @else {
107
+ $state: $mod;
108
+ }
109
+ }
110
+ }
111
+ @if $state and $breakpoint {
112
+ @include media-up($breakpoint) {
113
+ &:#{$state} {
114
+ @include apply-single-mixin($full-mixin-call, $mixin-params);
115
+ }
116
+ }
117
+ } @else if $state {
118
+ &:#{$state} {
119
+ @include apply-single-mixin($full-mixin-call, $mixin-params);
120
+ }
121
+ } @else if $breakpoint {
122
+ @include media-up($breakpoint) {
123
+ @include apply-single-mixin($full-mixin-call, $mixin-params);
124
+ }
125
+ } @else {
126
+ @include apply-single-mixin($full-mixin-call, $mixin-params);
780
127
  }
781
128
  }
782
129
  } @else {
783
- @if $mixin-str == 'container-base' {
784
- @include container-base;
785
- } @else if $mixin-str == 'flex' {
786
- @include flex;
787
- } @else if $mixin-str == 'flex-inline' {
788
- @include flex-inline;
789
- } @else if $mixin-str == 'row' {
790
- @include row;
791
- } @else if $mixin-str == 'row-reverse' {
792
- @include row-reverse;
793
- } @else if $mixin-str == 'col' {
794
- @include col;
795
- } @else if $mixin-str == 'col-reverse' {
796
- @include col-reverse;
797
- } @else if $mixin-str == 'wrap' {
798
- @include wrap;
799
- } @else if $mixin-str == 'nowrap' {
800
- @include nowrap;
801
- } @else if $mixin-str == 'wrap-reverse' {
802
- @include wrap-reverse;
803
- } @else if $mixin-str == 'start' {
804
- @include start;
805
- } @else if $mixin-str == 'end' {
806
- @include end;
807
- } @else if $mixin-str == 'center' {
808
- @include center;
809
- } @else if $mixin-str == 'between' {
810
- @include between;
811
- } @else if $mixin-str == 'around' {
812
- @include around;
813
- } @else if $mixin-str == 'evenly' {
814
- @include evenly;
815
- } @else if $mixin-str == 'x-start' {
816
- @include x-start;
817
- } @else if $mixin-str == 'x-end' {
818
- @include x-end;
819
- } @else if $mixin-str == 'x-center' {
820
- @include x-center;
821
- } @else if $mixin-str == 'x-stretch' {
822
- @include x-stretch;
823
- } @else if $mixin-str == 'x-baseline' {
824
- @include x-baseline;
825
- } @else if $mixin-str == 'x-content-start' {
826
- @include x-content-start;
827
- } @else if $mixin-str == 'x-content-end' {
828
- @include x-content-end;
829
- } @else if $mixin-str == 'x-content-center' {
830
- @include x-content-center;
831
- } @else if $mixin-str == 'x-content-between' {
832
- @include x-content-between;
833
- } @else if $mixin-str == 'x-content-around' {
834
- @include x-content-around;
835
- } @else if $mixin-str == 'x-content-evenly' {
836
- @include x-content-evenly;
837
- } @else if $mixin-str == 'x-content-stretch' {
838
- @include x-content-stretch;
839
- } @else if $mixin-str == 'self-auto' {
840
- @include self-auto;
841
- } @else if $mixin-str == 'self-start' {
842
- @include self-start;
843
- } @else if $mixin-str == 'self-end' {
844
- @include self-end;
845
- } @else if $mixin-str == 'self-center' {
846
- @include self-center;
847
- } @else if $mixin-str == 'self-stretch' {
848
- @include self-stretch;
849
- } @else if $mixin-str == 'self-baseline' {
850
- @include self-baseline;
851
- } @else if $mixin-str == 'shrink' {
852
- @include shrink;
853
- } @else if $mixin-str == 'shrink-0' {
854
- @include shrink-0;
855
- } @else if $mixin-str == 'shrink-2' {
856
- @include shrink-2;
857
- } @else if $mixin-str == 'f-w-full' {
858
- @include f-w-full;
859
- } @else if $mixin-str == 'f-w-auto' {
860
- @include f-w-auto;
861
- } @else if $mixin-str == 'grow' {
862
- @include grow;
863
- } @else if $mixin-str == 'no-grow' {
864
- @include no-grow;
865
- } @else if $mixin-str == 'grid' {
866
- @include grid;
867
- } @else if $mixin-str == 'grid-inline' {
868
- @include grid-inline;
869
- } @else if $mixin-str == 'flow-in-row' {
870
- @include flow-in-row;
871
- } @else if $mixin-str == 'flow-in-col' {
872
- @include flow-in-col;
873
- } @else if $mixin-str == 'flow-dense-items' {
874
- @include flow-dense-items;
875
- } @else if $mixin-str == 'align-baseline' {
876
- @include align-baseline;
877
- } @else if $mixin-str == 'align-top' {
878
- @include align-top;
879
- } @else if $mixin-str == 'align-middle' {
880
- @include align-middle;
881
- } @else if $mixin-str == 'align-bottom' {
882
- @include align-bottom;
883
- } @else if $mixin-str == 'hide' {
884
- @include hide;
885
- } @else if $mixin-str == 'block' {
886
- @include block;
887
- } @else if $mixin-str == 'inline' {
888
- @include inline;
889
- } @else if $mixin-str == 'inline-block' {
890
- @include inline-block;
891
- } @else if $mixin-str == 'show' {
892
- @include show;
893
- } @else if $mixin-str == 'd-tbl' {
894
- @include d-tbl;
895
- } @else if $mixin-str == 'd-tbl-row' {
896
- @include d-tbl-row;
897
- } @else if $mixin-str == 'd-tbl-cell' {
898
- @include d-tbl-cell;
899
- } @else if $mixin-str == 'visible' {
900
- @include visible;
901
- } @else if $mixin-str == 'invisible' {
902
- @include invisible;
903
- } @else if $mixin-str == 'collapse' {
904
- @include collapse;
905
- } @else if $mixin-str == 'contents' {
906
- @include contents;
907
- } @else if $mixin-str == 'overflow-hidden' {
908
- @include overflow-hidden;
909
- } @else if $mixin-str == 'overflow-visible' {
910
- @include overflow-visible;
911
- } @else if $mixin-str == 'overflow-scroll' {
912
- @include overflow-scroll;
913
- } @else if $mixin-str == 'overflow-auto' {
914
- @include overflow-auto;
915
- } @else if $mixin-str == 'overflow-x-hidden' {
916
- @include overflow-x-hidden;
917
- } @else if $mixin-str == 'overflow-y-hidden' {
918
- @include overflow-y-hidden;
919
- } @else if $mixin-str == 'overflow-x-scroll' {
920
- @include overflow-x-scroll;
921
- } @else if $mixin-str == 'overflow-y-scroll' {
922
- @include overflow-y-scroll;
923
- } @else if $mixin-str == 'overflow-x-auto' {
924
- @include overflow-x-auto;
925
- } @else if $mixin-str == 'overflow-y-auto' {
926
- @include overflow-y-auto;
927
- } @else if $mixin-str == 'touch' {
928
- @include touch;
929
- } @else if $mixin-str == 'print' {
930
- @include print;
931
- } @else if $mixin-str == 'dark-mode' {
932
- @include dark-mode;
933
- } @else if $mixin-str == 'landscape' {
934
- @include landscape;
935
- } @else if $mixin-str == 'portrait' {
936
- @include portrait;
937
- } @else if $mixin-str == 'dvh' {
938
- @include dvh;
939
- } @else if $mixin-str == 'reduced-motion' {
940
- @include reduced-motion;
941
- } @else if $mixin-str == 'high-contrast' {
942
- @include high-contrast;
943
- } @else if $mixin-str == 'static' {
944
- @include static;
945
- } @else if $mixin-str == 'relative' {
946
- @include relative;
947
- } @else if $mixin-str == 'absolute' {
948
- @include absolute;
949
- } @else if $mixin-str == 'fixed' {
950
- @include fixed;
951
- } @else if $mixin-str == 'sticky' {
952
- @include sticky;
953
- } @else if $mixin-str == 'w-auto' {
954
- @include w-auto;
955
- } @else if $mixin-str == 'w-full' {
956
- @include w-full;
957
- } @else if $mixin-str == 'h-auto' {
958
- @include h-auto;
959
- } @else if $mixin-str == 'h-full' {
960
- @include h-full;
961
- } @else if $mixin-str == 'min-w-full' {
962
- @include min-w-full;
963
- } @else if $mixin-str == 'max-w-full' {
964
- @include max-w-full;
965
- } @else if $mixin-str == 'min-h-full' {
966
- @include min-h-full;
967
- } @else if $mixin-str == 'max-h-full' {
968
- @include max-h-full;
969
- } @else if $mixin-str == 'w-screen' {
970
- @include w-screen;
971
- } @else if $mixin-str == 'h-screen' {
972
- @include h-screen;
973
- } @else if $mixin-str == 'ml-auto' {
974
- @include ml-auto;
975
- } @else if $mixin-str == 'mr-auto' {
976
- @include mr-auto;
977
- } @else if $mixin-str == 'mx-auto' {
978
- @include mx-auto;
979
- } @else if $mixin-str == 'transition' {
980
- @include transition;
981
- } @else if $mixin-str == 'transition-none' {
982
- @include transition-none;
983
- } @else if $mixin-str == 'transition-all' {
984
- @include transition-all;
985
- } @else if $mixin-str == 'transition-colors' {
986
- @include transition-colors;
987
- } @else if $mixin-str == 'transition-opacity' {
988
- @include transition-opacity;
989
- } @else if $mixin-str == 'transition-shadow' {
990
- @include transition-shadow;
991
- } @else if $mixin-str == 'transition-transform' {
992
- @include transition-transform;
993
- } @else if $mixin-str == 'ease-linear' {
994
- @include ease-linear;
995
- } @else if $mixin-str == 'ease-in' {
996
- @include ease-in;
997
- } @else if $mixin-str == 'ease-out' {
998
- @include ease-out;
999
- } @else if $mixin-str == 'ease-in-out' {
1000
- @include ease-in-out;
1001
- } @else if $mixin-str == 'font-thin' {
1002
- @include font-thin;
1003
- } @else if $mixin-str == 'font-extralight' {
1004
- @include font-extralight;
1005
- } @else if $mixin-str == 'font-light' {
1006
- @include font-light;
1007
- } @else if $mixin-str == 'font-normal' {
1008
- @include font-normal;
1009
- } @else if $mixin-str == 'font-medium' {
1010
- @include font-medium;
1011
- } @else if $mixin-str == 'font-semibold' {
1012
- @include font-semibold;
1013
- } @else if $mixin-str == 'font-bold' {
1014
- @include font-bold;
1015
- } @else if $mixin-str == 'font-extrabold' {
1016
- @include font-extrabold;
1017
- } @else if $mixin-str == 'font-black' {
1018
- @include font-black;
1019
- } @else if $mixin-str == 'leading-none' {
1020
- @include leading-none;
1021
- } @else if $mixin-str == 'leading-tight' {
1022
- @include leading-tight;
1023
- } @else if $mixin-str == 'leading-snug' {
1024
- @include leading-snug;
1025
- } @else if $mixin-str == 'leading-normal' {
1026
- @include leading-normal;
1027
- } @else if $mixin-str == 'leading-relaxed' {
1028
- @include leading-relaxed;
1029
- } @else if $mixin-str == 'leading-loose' {
1030
- @include leading-loose;
1031
- } @else if $mixin-str == 'text-left' {
1032
- @include text-left;
1033
- } @else if $mixin-str == 'text-center' {
1034
- @include text-center;
1035
- } @else if $mixin-str == 'text-right' {
1036
- @include text-right;
1037
- } @else if $mixin-str == 'text-justify' {
1038
- @include text-justify;
1039
- } @else if $mixin-str == 'uppercase' {
1040
- @include uppercase;
1041
- } @else if $mixin-str == 'lowercase' {
1042
- @include lowercase;
1043
- } @else if $mixin-str == 'capitalize' {
1044
- @include capitalize;
1045
- } @else if $mixin-str == 'normal-case' {
1046
- @include normal-case;
1047
- } @else if $mixin-str == 'italic' {
1048
- @include italic;
1049
- } @else if $mixin-str == 'not-italic' {
1050
- @include not-italic;
1051
- } @else if $mixin-str == 'underline' {
1052
- @include underline;
1053
- } @else if $mixin-str == 'line-through' {
1054
- @include line-through;
1055
- } @else if $mixin-str == 'no-underline' {
1056
- @include no-underline;
1057
- } @else if $mixin-str == 'truncate' {
1058
- @include truncate;
1059
- } @else if $mixin-str == 'break-normal' {
1060
- @include break-normal;
1061
- } @else if $mixin-str == 'break-words' {
1062
- @include break-words;
1063
- } @else if $mixin-str == 'break-all' {
1064
- @include break-all;
1065
- } @else if $mixin-str == 'whitespace-normal' {
1066
- @include whitespace-normal;
1067
- } @else if $mixin-str == 'whitespace-nowrap' {
1068
- @include whitespace-nowrap;
1069
- } @else if $mixin-str == 'whitespace-pre' {
1070
- @include whitespace-pre;
1071
- } @else if $mixin-str == 'whitespace-pre-line' {
1072
- @include whitespace-pre-line;
1073
- } @else if $mixin-str == 'whitespace-pre-wrap' {
1074
- @include whitespace-pre-wrap;
1075
- } @else if str.index($mixin-str, 'container-padding(') == 1 {
1076
- $start: str.index($mixin-str, '(') + 1;
1077
- $end: str.length($mixin-str) - 1;
1078
- $value: str.slice($mixin-str, $start, $end);
1079
- @include container-padding(str.unquote($value));
1080
- } @else if str.index($mixin-str, 'container(') == 1 {
1081
- $start: str.index($mixin-str, '(') + 1;
1082
- $end: str.length($mixin-str) - 1;
1083
- $value: str.slice($mixin-str, $start, $end);
1084
- @include container(str.unquote($value));
1085
- } @else if str.index($mixin-str, 'w-col(') == 1 {
1086
- $start: str.index($mixin-str, '(') + 1;
1087
- $end: str.length($mixin-str) - 1;
1088
- $value: str.slice($mixin-str, $start, $end);
1089
- @include w-col(str.unquote($value));
1090
- } @else if str.index($mixin-str, 'cols(') == 1 {
1091
- $start: str.index($mixin-str, '(') + 1;
1092
- $end: str.length($mixin-str) - 1;
1093
- $value: str.slice($mixin-str, $start, $end);
1094
- @include cols(str.unquote($value));
1095
- } @else if str.index($mixin-str, 'rows(') == 1 {
1096
- $start: str.index($mixin-str, '(') + 1;
1097
- $end: str.length($mixin-str) - 1;
1098
- $value: str.slice($mixin-str, $start, $end);
1099
- @include rows(str.unquote($value));
1100
- } @else if str.index($mixin-str, 'cols-custom(') == 1 {
1101
- $start: str.index($mixin-str, '(') + 1;
1102
- $end: str.length($mixin-str) - 1;
1103
- $value: str.slice($mixin-str, $start, $end);
1104
- @include cols-custom(str.unquote($value));
1105
- } @else if str.index($mixin-str, 'auto-fit(') == 1 {
1106
- $start: str.index($mixin-str, '(') + 1;
1107
- $end: str.length($mixin-str) - 1;
1108
- $value: str.slice($mixin-str, $start, $end);
1109
- @include auto-fit(str.unquote($value));
1110
- } @else if str.index($mixin-str, 'auto-fill(') == 1 {
1111
- $start: str.index($mixin-str, '(') + 1;
1112
- $end: str.length($mixin-str) - 1;
1113
- $value: str.slice($mixin-str, $start, $end);
1114
- @include auto-fill(str.unquote($value));
1115
- } @else if str.index($mixin-str, 'justify-items(') == 1 {
1116
- $start: str.index($mixin-str, '(') + 1;
1117
- $end: str.length($mixin-str) - 1;
1118
- $value: str.slice($mixin-str, $start, $end);
1119
- @include justify-items(str.unquote($value));
1120
- } @else if str.index($mixin-str, 'align-items(') == 1 {
1121
- $start: str.index($mixin-str, '(') + 1;
1122
- $end: str.length($mixin-str) - 1;
1123
- $value: str.slice($mixin-str, $start, $end);
1124
- @include align-items(str.unquote($value));
1125
- } @else if str.index($mixin-str, 'place-items(') == 1 {
1126
- $start: str.index($mixin-str, '(') + 1;
1127
- $end: str.length($mixin-str) - 1;
1128
- $value: str.slice($mixin-str, $start, $end);
1129
- @include place-items(str.unquote($value));
1130
- } @else if str.index($mixin-str, 'span-col(') == 1 {
1131
- $start: str.index($mixin-str, '(') + 1;
1132
- $end: str.length($mixin-str) - 1;
1133
- $value: str.slice($mixin-str, $start, $end);
1134
- @include span-col(str.unquote($value));
1135
- } @else if str.index($mixin-str, 'span-row(') == 1 {
1136
- $start: str.index($mixin-str, '(') + 1;
1137
- $end: str.length($mixin-str) - 1;
1138
- $value: str.slice($mixin-str, $start, $end);
1139
- @include span-row(str.unquote($value));
1140
- } @else if str.index($mixin-str, 'col-start(') == 1 {
1141
- $start: str.index($mixin-str, '(') + 1;
1142
- $end: str.length($mixin-str) - 1;
1143
- $value: str.slice($mixin-str, $start, $end);
1144
- @include col-start(str.unquote($value));
1145
- } @else if str.index($mixin-str, 'col-end(') == 1 {
1146
- $start: str.index($mixin-str, '(') + 1;
1147
- $end: str.length($mixin-str) - 1;
1148
- $value: str.slice($mixin-str, $start, $end);
1149
- @include col-end(str.unquote($value));
1150
- } @else if str.index($mixin-str, 'row-start(') == 1 {
1151
- $start: str.index($mixin-str, '(') + 1;
1152
- $end: str.length($mixin-str) - 1;
1153
- $value: str.slice($mixin-str, $start, $end);
1154
- @include row-start(str.unquote($value));
1155
- } @else if str.index($mixin-str, 'row-end(') == 1 {
1156
- $start: str.index($mixin-str, '(') + 1;
1157
- $end: str.length($mixin-str) - 1;
1158
- $value: str.slice($mixin-str, $start, $end);
1159
- @include row-end(str.unquote($value));
1160
- } @else if str.index($mixin-str, 'grid-position(') == 1 {
1161
- $start: str.index($mixin-str, '(') + 1;
1162
- $end: str.length($mixin-str) - 1;
1163
- $value: str.slice($mixin-str, $start, $end);
1164
- @include grid-position(str.unquote($value));
1165
- } @else if str.index($mixin-str, 'position-col(') == 1 {
1166
- $start: str.index($mixin-str, '(') + 1;
1167
- $end: str.length($mixin-str) - 1;
1168
- $value: str.slice($mixin-str, $start, $end);
1169
- @include position-col(str.unquote($value));
1170
- } @else if str.index($mixin-str, 'position-row(') == 1 {
1171
- $start: str.index($mixin-str, '(') + 1;
1172
- $end: str.length($mixin-str) - 1;
1173
- $value: str.slice($mixin-str, $start, $end);
1174
- @include position-row(str.unquote($value));
1175
- } @else if str.index($mixin-str, 'grid-gap(') == 1 {
1176
- $start: str.index($mixin-str, '(') + 1;
1177
- $end: str.length($mixin-str) - 1;
1178
- $value: str.slice($mixin-str, $start, $end);
1179
- @include grid-gap(str.unquote($value));
1180
- } @else if str.index($mixin-str, 'col-gap(') == 1 {
1181
- $start: str.index($mixin-str, '(') + 1;
1182
- $end: str.length($mixin-str) - 1;
1183
- $value: str.slice($mixin-str, $start, $end);
1184
- @include col-gap(str.unquote($value));
1185
- } @else if str.index($mixin-str, 'row-gap(') == 1 {
1186
- $start: str.index($mixin-str, '(') + 1;
1187
- $end: str.length($mixin-str) - 1;
1188
- $value: str.slice($mixin-str, $start, $end);
1189
- @include row-gap(str.unquote($value));
1190
- } @else if str.index($mixin-str, 'generate-bounce-keyframes(') == 1 {
1191
- $start: str.index($mixin-str, '(') + 1;
1192
- $end: str.length($mixin-str) - 1;
1193
- $value: str.slice($mixin-str, $start, $end);
1194
- @include generate-bounce-keyframes(str.unquote($value));
1195
- } @else if str.index($mixin-str, 'animate-bounce(') == 1 {
1196
- $start: str.index($mixin-str, '(') + 1;
1197
- $end: str.length($mixin-str) - 1;
1198
- $value: str.slice($mixin-str, $start, $end);
1199
- @include animate-bounce(str.unquote($value));
1200
- } @else if str.index($mixin-str, 'border(') == 1 {
1201
- $start: str.index($mixin-str, '(') + 1;
1202
- $end: str.length($mixin-str) - 1;
1203
- $value: str.slice($mixin-str, $start, $end);
1204
- @include border(str.unquote($value));
1205
- } @else if str.index($mixin-str, 'rounded(') == 1 {
1206
- $start: str.index($mixin-str, '(') + 1;
1207
- $end: str.length($mixin-str) - 1;
1208
- $value: str.slice($mixin-str, $start, $end);
1209
- @include rounded(str.unquote($value));
1210
- } @else if str.index($mixin-str, 'adaptive-contrast(') == 1 {
1211
- $start: str.index($mixin-str, '(') + 1;
1212
- $end: str.length($mixin-str) - 1;
1213
- $value: str.slice($mixin-str, $start, $end);
1214
- @include adaptive-contrast(str.unquote($value));
1215
- } @else if str.index($mixin-str, 'backdrop-filter(') == 1 {
1216
- $start: str.index($mixin-str, '(') + 1;
1217
- $end: str.length($mixin-str) - 1;
1218
- $value: str.slice($mixin-str, $start, $end);
1219
- @include backdrop-filter(str.unquote($value));
1220
- } @else if str.index($mixin-str, 'filter(') == 1 {
1221
- $start: str.index($mixin-str, '(') + 1;
1222
- $end: str.length($mixin-str) - 1;
1223
- $value: str.slice($mixin-str, $start, $end);
1224
- @include filter(str.unquote($value));
1225
- } @else if str.index($mixin-str, 'container-up(') == 1 {
1226
- $start: str.index($mixin-str, '(') + 1;
1227
- $end: str.length($mixin-str) - 1;
1228
- $value: str.slice($mixin-str, $start, $end);
1229
- @include container-up(str.unquote($value));
1230
- } @else if str.index($mixin-str, 'container-down(') == 1 {
1231
- $start: str.index($mixin-str, '(') + 1;
1232
- $end: str.length($mixin-str) - 1;
1233
- $value: str.slice($mixin-str, $start, $end);
1234
- @include container-down(str.unquote($value));
1235
- } @else if str.index($mixin-str, 'container-between(') == 1 {
1236
- $start: str.index($mixin-str, '(') + 1;
1237
- $end: str.length($mixin-str) - 1;
1238
- $value: str.slice($mixin-str, $start, $end);
1239
- @include container-between(str.unquote($value));
1240
- } @else if str.index($mixin-str, 'container-only(') == 1 {
1241
- $start: str.index($mixin-str, '(') + 1;
1242
- $end: str.length($mixin-str) - 1;
1243
- $value: str.slice($mixin-str, $start, $end);
1244
- @include container-only(str.unquote($value));
1245
- } @else if str.index($mixin-str, 'container-query(') == 1 {
1246
- $start: str.index($mixin-str, '(') + 1;
1247
- $end: str.length($mixin-str) - 1;
1248
- $value: str.slice($mixin-str, $start, $end);
1249
- @include container-query(str.unquote($value));
1250
- } @else if str.index($mixin-str, 'container-type(') == 1 {
1251
- $start: str.index($mixin-str, '(') + 1;
1252
- $end: str.length($mixin-str) - 1;
1253
- $value: str.slice($mixin-str, $start, $end);
1254
- @include container-type(str.unquote($value));
1255
- } @else if str.index($mixin-str, 'container-name(') == 1 {
1256
- $start: str.index($mixin-str, '(') + 1;
1257
- $end: str.length($mixin-str) - 1;
1258
- $value: str.slice($mixin-str, $start, $end);
1259
- @include container-name(str.unquote($value));
1260
- } @else if str.index($mixin-str, 'media-up(') == 1 {
1261
- $start: str.index($mixin-str, '(') + 1;
1262
- $end: str.length($mixin-str) - 1;
1263
- $value: str.slice($mixin-str, $start, $end);
1264
- @include media-up(str.unquote($value));
1265
- } @else if str.index($mixin-str, 'media-down(') == 1 {
1266
- $start: str.index($mixin-str, '(') + 1;
1267
- $end: str.length($mixin-str) - 1;
1268
- $value: str.slice($mixin-str, $start, $end);
1269
- @include media-down(str.unquote($value));
1270
- } @else if str.index($mixin-str, 'media-between(') == 1 {
1271
- $start: str.index($mixin-str, '(') + 1;
1272
- $end: str.length($mixin-str) - 1;
1273
- $value: str.slice($mixin-str, $start, $end);
1274
- @include media-between(str.unquote($value));
1275
- } @else if str.index($mixin-str, 'media-only(') == 1 {
1276
- $start: str.index($mixin-str, '(') + 1;
1277
- $end: str.length($mixin-str) - 1;
1278
- $value: str.slice($mixin-str, $start, $end);
1279
- @include media-only(str.unquote($value));
1280
- } @else if str.index($mixin-str, 'supports(') == 1 {
1281
- $start: str.index($mixin-str, '(') + 1;
1282
- $end: str.length($mixin-str) - 1;
1283
- $value: str.slice($mixin-str, $start, $end);
1284
- @include supports(str.unquote($value));
1285
- } @else if str.index($mixin-str, 'aspect-ratio(') == 1 {
1286
- $start: str.index($mixin-str, '(') + 1;
1287
- $end: str.length($mixin-str) - 1;
1288
- $value: str.slice($mixin-str, $start, $end);
1289
- @include aspect-ratio(str.unquote($value));
1290
- } @else if str.index($mixin-str, 'safe-area-inset(') == 1 {
1291
- $start: str.index($mixin-str, '(') + 1;
1292
- $end: str.length($mixin-str) - 1;
1293
- $value: str.slice($mixin-str, $start, $end);
1294
- @include safe-area-inset(str.unquote($value));
1295
- } @else if str.index($mixin-str, 'top(') == 1 {
1296
- $start: str.index($mixin-str, '(') + 1;
1297
- $end: str.length($mixin-str) - 1;
1298
- $value: str.slice($mixin-str, $start, $end);
1299
- @include top(str.unquote($value));
1300
- } @else if str.index($mixin-str, 'right(') == 1 {
1301
- $start: str.index($mixin-str, '(') + 1;
1302
- $end: str.length($mixin-str) - 1;
1303
- $value: str.slice($mixin-str, $start, $end);
1304
- @include right(str.unquote($value));
1305
- } @else if str.index($mixin-str, 'bottom(') == 1 {
1306
- $start: str.index($mixin-str, '(') + 1;
1307
- $end: str.length($mixin-str) - 1;
1308
- $value: str.slice($mixin-str, $start, $end);
1309
- @include bottom(str.unquote($value));
1310
- } @else if str.index($mixin-str, 'left(') == 1 {
1311
- $start: str.index($mixin-str, '(') + 1;
1312
- $end: str.length($mixin-str) - 1;
1313
- $value: str.slice($mixin-str, $start, $end);
1314
- @include left(str.unquote($value));
1315
- } @else if str.index($mixin-str, 'shadow-base(') == 1 {
1316
- $start: str.index($mixin-str, '(') + 1;
1317
- $end: str.length($mixin-str) - 1;
1318
- $value: str.slice($mixin-str, $start, $end);
1319
- @include shadow-base(str.unquote($value));
1320
- } @else if str.index($mixin-str, 'shadow(') == 1 {
1321
- $start: str.index($mixin-str, '(') + 1;
1322
- $end: str.length($mixin-str) - 1;
1323
- $value: str.slice($mixin-str, $start, $end);
1324
- @include shadow(str.unquote($value));
1325
- } @else if str.index($mixin-str, 'shadow-inset(') == 1 {
1326
- $start: str.index($mixin-str, '(') + 1;
1327
- $end: str.length($mixin-str) - 1;
1328
- $value: str.slice($mixin-str, $start, $end);
1329
- @include shadow-inset(str.unquote($value));
1330
- } @else if str.index($mixin-str, 'width(') == 1 {
1331
- $start: str.index($mixin-str, '(') + 1;
1332
- $end: str.length($mixin-str) - 1;
1333
- $value: str.slice($mixin-str, $start, $end);
1334
- @include width(str.unquote($value));
1335
- } @else if str.index($mixin-str, 'height(') == 1 {
1336
- $start: str.index($mixin-str, '(') + 1;
1337
- $end: str.length($mixin-str) - 1;
1338
- $value: str.slice($mixin-str, $start, $end);
1339
- @include height(str.unquote($value));
1340
- } @else if str.index($mixin-str, 'min-width(') == 1 {
1341
- $start: str.index($mixin-str, '(') + 1;
1342
- $end: str.length($mixin-str) - 1;
1343
- $value: str.slice($mixin-str, $start, $end);
1344
- @include min-width(str.unquote($value));
1345
- } @else if str.index($mixin-str, 'min-height(') == 1 {
1346
- $start: str.index($mixin-str, '(') + 1;
1347
- $end: str.length($mixin-str) - 1;
1348
- $value: str.slice($mixin-str, $start, $end);
1349
- @include min-height(str.unquote($value));
1350
- } @else if str.index($mixin-str, 'max-width(') == 1 {
1351
- $start: str.index($mixin-str, '(') + 1;
1352
- $end: str.length($mixin-str) - 1;
1353
- $value: str.slice($mixin-str, $start, $end);
1354
- @include max-width(str.unquote($value));
1355
- } @else if str.index($mixin-str, 'max-height(') == 1 {
1356
- $start: str.index($mixin-str, '(') + 1;
1357
- $end: str.length($mixin-str) - 1;
1358
- $value: str.slice($mixin-str, $start, $end);
1359
- @include max-height(str.unquote($value));
1360
- } @else if str.index($mixin-str, 'width-percent(') == 1 {
1361
- $start: str.index($mixin-str, '(') + 1;
1362
- $end: str.length($mixin-str) - 1;
1363
- $value: str.slice($mixin-str, $start, $end);
1364
- @include width-percent(str.unquote($value));
1365
- } @else if str.index($mixin-str, 'height-percent(') == 1 {
1366
- $start: str.index($mixin-str, '(') + 1;
1367
- $end: str.length($mixin-str) - 1;
1368
- $value: str.slice($mixin-str, $start, $end);
1369
- @include height-percent(str.unquote($value));
1370
- } @else if str.index($mixin-str, 'min-width-percent(') == 1 {
1371
- $start: str.index($mixin-str, '(') + 1;
1372
- $end: str.length($mixin-str) - 1;
1373
- $value: str.slice($mixin-str, $start, $end);
1374
- @include min-width-percent(str.unquote($value));
1375
- } @else if str.index($mixin-str, 'min-height-percent(') == 1 {
1376
- $start: str.index($mixin-str, '(') + 1;
1377
- $end: str.length($mixin-str) - 1;
1378
- $value: str.slice($mixin-str, $start, $end);
1379
- @include min-height-percent(str.unquote($value));
1380
- } @else if str.index($mixin-str, 'max-width-percent(') == 1 {
1381
- $start: str.index($mixin-str, '(') + 1;
1382
- $end: str.length($mixin-str) - 1;
1383
- $value: str.slice($mixin-str, $start, $end);
1384
- @include max-width-percent(str.unquote($value));
1385
- } @else if str.index($mixin-str, 'max-height-percent(') == 1 {
1386
- $start: str.index($mixin-str, '(') + 1;
1387
- $end: str.length($mixin-str) - 1;
1388
- $value: str.slice($mixin-str, $start, $end);
1389
- @include max-height-percent(str.unquote($value));
1390
- } @else if str.index($mixin-str, 'p(') == 1 {
1391
- $start: str.index($mixin-str, '(') + 1;
1392
- $end: str.length($mixin-str) - 1;
1393
- $value: str.slice($mixin-str, $start, $end);
1394
- @include p(str.unquote($value));
1395
- } @else if str.index($mixin-str, 'px(') == 1 {
1396
- $start: str.index($mixin-str, '(') + 1;
1397
- $end: str.length($mixin-str) - 1;
1398
- $value: str.slice($mixin-str, $start, $end);
1399
- @include px(str.unquote($value));
1400
- } @else if str.index($mixin-str, 'py(') == 1 {
1401
- $start: str.index($mixin-str, '(') + 1;
1402
- $end: str.length($mixin-str) - 1;
1403
- $value: str.slice($mixin-str, $start, $end);
1404
- @include py(str.unquote($value));
1405
- } @else if str.index($mixin-str, 'pt(') == 1 {
1406
- $start: str.index($mixin-str, '(') + 1;
1407
- $end: str.length($mixin-str) - 1;
1408
- $value: str.slice($mixin-str, $start, $end);
1409
- @include pt(str.unquote($value));
1410
- } @else if str.index($mixin-str, 'pr(') == 1 {
1411
- $start: str.index($mixin-str, '(') + 1;
1412
- $end: str.length($mixin-str) - 1;
1413
- $value: str.slice($mixin-str, $start, $end);
1414
- @include pr(str.unquote($value));
1415
- } @else if str.index($mixin-str, 'pb(') == 1 {
1416
- $start: str.index($mixin-str, '(') + 1;
1417
- $end: str.length($mixin-str) - 1;
1418
- $value: str.slice($mixin-str, $start, $end);
1419
- @include pb(str.unquote($value));
1420
- } @else if str.index($mixin-str, 'pl(') == 1 {
1421
- $start: str.index($mixin-str, '(') + 1;
1422
- $end: str.length($mixin-str) - 1;
1423
- $value: str.slice($mixin-str, $start, $end);
1424
- @include pl(str.unquote($value));
1425
- } @else if str.index($mixin-str, 'm(') == 1 {
1426
- $start: str.index($mixin-str, '(') + 1;
1427
- $end: str.length($mixin-str) - 1;
1428
- $value: str.slice($mixin-str, $start, $end);
1429
- @include m(str.unquote($value));
1430
- } @else if str.index($mixin-str, 'mx(') == 1 {
1431
- $start: str.index($mixin-str, '(') + 1;
1432
- $end: str.length($mixin-str) - 1;
1433
- $value: str.slice($mixin-str, $start, $end);
1434
- @include mx(str.unquote($value));
1435
- } @else if str.index($mixin-str, 'my(') == 1 {
1436
- $start: str.index($mixin-str, '(') + 1;
1437
- $end: str.length($mixin-str) - 1;
1438
- $value: str.slice($mixin-str, $start, $end);
1439
- @include my(str.unquote($value));
1440
- } @else if str.index($mixin-str, 'mt(') == 1 {
1441
- $start: str.index($mixin-str, '(') + 1;
1442
- $end: str.length($mixin-str) - 1;
1443
- $value: str.slice($mixin-str, $start, $end);
1444
- @include mt(str.unquote($value));
1445
- } @else if str.index($mixin-str, 'mr(') == 1 {
1446
- $start: str.index($mixin-str, '(') + 1;
1447
- $end: str.length($mixin-str) - 1;
1448
- $value: str.slice($mixin-str, $start, $end);
1449
- @include mr(str.unquote($value));
1450
- } @else if str.index($mixin-str, 'mb(') == 1 {
1451
- $start: str.index($mixin-str, '(') + 1;
1452
- $end: str.length($mixin-str) - 1;
1453
- $value: str.slice($mixin-str, $start, $end);
1454
- @include mb(str.unquote($value));
1455
- } @else if str.index($mixin-str, 'ml(') == 1 {
1456
- $start: str.index($mixin-str, '(') + 1;
1457
- $end: str.length($mixin-str) - 1;
1458
- $value: str.slice($mixin-str, $start, $end);
1459
- @include ml(str.unquote($value));
1460
- } @else if str.index($mixin-str, 'space-y(') == 1 {
1461
- $start: str.index($mixin-str, '(') + 1;
1462
- $end: str.length($mixin-str) - 1;
1463
- $value: str.slice($mixin-str, $start, $end);
1464
- @include space-y(str.unquote($value));
1465
- } @else if str.index($mixin-str, 'space-x(') == 1 {
1466
- $start: str.index($mixin-str, '(') + 1;
1467
- $end: str.length($mixin-str) - 1;
1468
- $value: str.slice($mixin-str, $start, $end);
1469
- @include space-x(str.unquote($value));
1470
- } @else if str.index($mixin-str, 'gap(') == 1 {
1471
- $start: str.index($mixin-str, '(') + 1;
1472
- $end: str.length($mixin-str) - 1;
1473
- $value: str.slice($mixin-str, $start, $end);
1474
- @include gap(str.unquote($value));
1475
- } @else if str.index($mixin-str, 'gap-x(') == 1 {
1476
- $start: str.index($mixin-str, '(') + 1;
1477
- $end: str.length($mixin-str) - 1;
1478
- $value: str.slice($mixin-str, $start, $end);
1479
- @include gap-x(str.unquote($value));
1480
- } @else if str.index($mixin-str, 'gap-y(') == 1 {
1481
- $start: str.index($mixin-str, '(') + 1;
1482
- $end: str.length($mixin-str) - 1;
1483
- $value: str.slice($mixin-str, $start, $end);
1484
- @include gap-y(str.unquote($value));
1485
- } @else if str.index($mixin-str, 'duration(') == 1 {
1486
- $start: str.index($mixin-str, '(') + 1;
1487
- $end: str.length($mixin-str) - 1;
1488
- $value: str.slice($mixin-str, $start, $end);
1489
- @include duration(str.unquote($value));
1490
- } @else if str.index($mixin-str, 'delay(') == 1 {
1491
- $start: str.index($mixin-str, '(') + 1;
1492
- $end: str.length($mixin-str) - 1;
1493
- $value: str.slice($mixin-str, $start, $end);
1494
- @include delay(str.unquote($value));
1495
- } @else if str.index($mixin-str, 'text-size(') == 1 {
1496
- $start: str.index($mixin-str, '(') + 1;
1497
- $end: str.length($mixin-str) - 1;
1498
- $value: str.slice($mixin-str, $start, $end);
1499
- @include text-size(str.unquote($value));
1500
- } @else if str.index($mixin-str, 'truncate-lines(') == 1 {
1501
- $start: str.index($mixin-str, '(') + 1;
1502
- $end: str.length($mixin-str) - 1;
1503
- $value: str.slice($mixin-str, $start, $end);
1504
- @include truncate-lines(str.unquote($value));
1505
- } @else if str.index($mixin-str, 'responsive-typography(') == 1 {
1506
- $start: str.index($mixin-str, '(') + 1;
1507
- $end: str.length($mixin-str) - 1;
1508
- $value: str.slice($mixin-str, $start, $end);
1509
- @include responsive-typography(str.unquote($value));
1510
- } @else {
1511
- @warn "Mixin '#{$mixin}' is not defined.";
130
+ $parts: str.split($mixin-str, ' ');
131
+ $base-mixin: list.nth($parts, 1);
132
+
133
+ $breakpoint: null;
134
+ $state: null;
135
+
136
+ @if list.length($parts) > 1 {
137
+ @for $i from 2 through list.length($parts) {
138
+ $mod: list.nth($parts, $i);
139
+ @if map.has-key($breakpoints, $mod) {
140
+ $breakpoint: $mod;
141
+ } @else {
142
+ $state: $mod;
143
+ }
144
+ }
145
+ }
146
+
147
+ @if $state and $breakpoint {
148
+ @include media-up($breakpoint) {
149
+ &:#{$state} {
150
+ @include apply-single-mixin($base-mixin);
151
+ }
152
+ }
153
+ } @else if $state {
154
+ &:#{$state} {
155
+ @include apply-single-mixin($base-mixin);
1512
156
  }
157
+ } @else if $breakpoint {
158
+ @include media-up($breakpoint) {
159
+ @include apply-single-mixin($base-mixin);
160
+ }
161
+ } @else {
162
+ @include apply-single-mixin($base-mixin);
163
+ }
1513
164
  }
165
+ }
166
+ }
167
+
168
+ @mixin apply-single-mixin($mixin-str, $params: null) {
169
+ @if $mixin-str == 'container-base' {
170
+ @include container-base;
171
+ } @else if str.index($mixin-str, 'container-padding(') == 1 {
172
+ $param1: list.nth($params, 1);
173
+ @include container-padding($param1);
174
+ } @else if str.index($mixin-str, 'container(') == 1 {
175
+ $param1: list.nth($params, 1);
176
+ @include container($param1);
177
+ } @else if $mixin-str == 'flex' {
178
+ @include flex;
179
+ } @else if $mixin-str == 'flex-inline' {
180
+ @include flex-inline;
181
+ } @else if $mixin-str == 'row' {
182
+ @include row;
183
+ } @else if $mixin-str == 'row-reverse' {
184
+ @include row-reverse;
185
+ } @else if $mixin-str == 'col' {
186
+ @include col;
187
+ } @else if $mixin-str == 'col-reverse' {
188
+ @include col-reverse;
189
+ } @else if $mixin-str == 'wrap' {
190
+ @include wrap;
191
+ } @else if $mixin-str == 'nowrap' {
192
+ @include nowrap;
193
+ } @else if $mixin-str == 'wrap-reverse' {
194
+ @include wrap-reverse;
195
+ } @else if $mixin-str == 'start' {
196
+ @include start;
197
+ } @else if $mixin-str == 'end' {
198
+ @include end;
199
+ } @else if $mixin-str == 'center' {
200
+ @include center;
201
+ } @else if $mixin-str == 'between' {
202
+ @include between;
203
+ } @else if $mixin-str == 'around' {
204
+ @include around;
205
+ } @else if $mixin-str == 'evenly' {
206
+ @include evenly;
207
+ } @else if $mixin-str == 'x-start' {
208
+ @include x-start;
209
+ } @else if $mixin-str == 'x-end' {
210
+ @include x-end;
211
+ } @else if $mixin-str == 'x-center' {
212
+ @include x-center;
213
+ } @else if $mixin-str == 'x-stretch' {
214
+ @include x-stretch;
215
+ } @else if $mixin-str == 'x-baseline' {
216
+ @include x-baseline;
217
+ } @else if $mixin-str == 'x-content-start' {
218
+ @include x-content-start;
219
+ } @else if $mixin-str == 'x-content-end' {
220
+ @include x-content-end;
221
+ } @else if $mixin-str == 'x-content-center' {
222
+ @include x-content-center;
223
+ } @else if $mixin-str == 'x-content-between' {
224
+ @include x-content-between;
225
+ } @else if $mixin-str == 'x-content-around' {
226
+ @include x-content-around;
227
+ } @else if $mixin-str == 'x-content-evenly' {
228
+ @include x-content-evenly;
229
+ } @else if $mixin-str == 'x-content-stretch' {
230
+ @include x-content-stretch;
231
+ } @else if $mixin-str == 'self-auto' {
232
+ @include self-auto;
233
+ } @else if $mixin-str == 'self-start' {
234
+ @include self-start;
235
+ } @else if $mixin-str == 'self-end' {
236
+ @include self-end;
237
+ } @else if $mixin-str == 'self-center' {
238
+ @include self-center;
239
+ } @else if $mixin-str == 'self-stretch' {
240
+ @include self-stretch;
241
+ } @else if $mixin-str == 'self-baseline' {
242
+ @include self-baseline;
243
+ } @else if $mixin-str == 'shrink' {
244
+ @include shrink;
245
+ } @else if $mixin-str == 'shrink-0' {
246
+ @include shrink-0;
247
+ } @else if $mixin-str == 'shrink-2' {
248
+ @include shrink-2;
249
+ } @else if $mixin-str == 'f-w-full' {
250
+ @include f-w-full;
251
+ } @else if $mixin-str == 'f-w-auto' {
252
+ @include f-w-auto;
253
+ } @else if $mixin-str == 'grow' {
254
+ @include grow;
255
+ } @else if $mixin-str == 'no-grow' {
256
+ @include no-grow;
257
+ } @else if str.index($mixin-str, 'w-col(') == 1 {
258
+ $param1: list.nth($params, 1);
259
+ @include w-col($param1);
260
+ } @else if $mixin-str == 'grid' {
261
+ @include grid;
262
+ } @else if $mixin-str == 'grid-inline' {
263
+ @include grid-inline;
264
+ } @else if str.index($mixin-str, 'cols(') == 1 {
265
+ $param1: list.nth($params, 1);
266
+ @include cols($param1);
267
+ } @else if str.index($mixin-str, 'rows(') == 1 {
268
+ $param1: list.nth($params, 1);
269
+ @include rows($param1);
270
+ } @else if str.index($mixin-str, 'cols-custom(') == 1 {
271
+ $param1: list.nth($params, 1);
272
+ @include cols-custom($param1);
273
+ } @else if str.index($mixin-str, 'auto-fit(') == 1 {
274
+ $param1: list.nth($params, 1);
275
+ @include auto-fit($param1);
276
+ } @else if str.index($mixin-str, 'auto-fill(') == 1 {
277
+ $param1: list.nth($params, 1);
278
+ @include auto-fill($param1);
279
+ } @else if $mixin-str == 'flow-in-row' {
280
+ @include flow-in-row;
281
+ } @else if $mixin-str == 'flow-in-col' {
282
+ @include flow-in-col;
283
+ } @else if $mixin-str == 'flow-dense-items' {
284
+ @include flow-dense-items;
285
+ } @else if str.index($mixin-str, 'justify-items(') == 1 {
286
+ $param1: list.nth($params, 1);
287
+ @include justify-items($param1);
288
+ } @else if str.index($mixin-str, 'align-items(') == 1 {
289
+ $param1: list.nth($params, 1);
290
+ @include align-items($param1);
291
+ } @else if str.index($mixin-str, 'place-items(') == 1 {
292
+ $param1: list.nth($params, 1);
293
+ @include place-items($param1);
294
+ } @else if str.index($mixin-str, 'span-col(') == 1 {
295
+ $param1: list.nth($params, 1);
296
+ @include span-col($param1);
297
+ } @else if str.index($mixin-str, 'span-row(') == 1 {
298
+ $param1: list.nth($params, 1);
299
+ @include span-row($param1);
300
+ } @else if str.index($mixin-str, 'col-start(') == 1 {
301
+ $param1: list.nth($params, 1);
302
+ @include col-start($param1);
303
+ } @else if str.index($mixin-str, 'col-end(') == 1 {
304
+ $param1: list.nth($params, 1);
305
+ @include col-end($param1);
306
+ } @else if str.index($mixin-str, 'row-start(') == 1 {
307
+ $param1: list.nth($params, 1);
308
+ @include row-start($param1);
309
+ } @else if str.index($mixin-str, 'row-end(') == 1 {
310
+ $param1: list.nth($params, 1);
311
+ @include row-end($param1);
312
+ } @else if str.index($mixin-str, 'grid-position(') == 1 {
313
+ @if (list.length($params) == 1) {
314
+ $param1: list.nth($params, 1);
315
+ @include grid-position($param1);
316
+ }
317
+ @else if (list.length($params) == 2) {
318
+ $param1: list.nth($params, 1);
319
+ $param2: list.nth($params, 2);
320
+ @include grid-position($param1, $param2);
321
+ }
322
+ } @else if str.index($mixin-str, 'position-col(') == 1 {
323
+ $param1: list.nth($params, 1);
324
+ @include position-col($param1);
325
+ } @else if str.index($mixin-str, 'position-row(') == 1 {
326
+ $param1: list.nth($params, 1);
327
+ @include position-row($param1);
328
+ } @else if $mixin-str == 'align-baseline' {
329
+ @include align-baseline;
330
+ } @else if $mixin-str == 'align-top' {
331
+ @include align-top;
332
+ } @else if $mixin-str == 'align-middle' {
333
+ @include align-middle;
334
+ } @else if $mixin-str == 'align-bottom' {
335
+ @include align-bottom;
336
+ } @else if str.index($mixin-str, 'generate-bounce-keyframes(') == 1 {
337
+ @if (list.length($params) == 1) {
338
+ $param1: list.nth($params, 1);
339
+ @include generate-bounce-keyframes($param1);
340
+ }
341
+ @else if (list.length($params) == 2) {
342
+ $param1: list.nth($params, 1);
343
+ $param2: list.nth($params, 2);
344
+ @include generate-bounce-keyframes($param1, $param2);
345
+ }
346
+ @else if (list.length($params) == 3) {
347
+ $param1: list.nth($params, 1);
348
+ $param2: list.nth($params, 2);
349
+ $param3: list.nth($params, 3);
350
+ @include generate-bounce-keyframes($param1, $param2, $param3);
351
+ }
352
+ } @else if str.index($mixin-str, 'animate-bounce(') == 1 {
353
+ $param1: list.nth($params, 1);
354
+ @include animate-bounce($param1);
355
+ } @else if $mixin-str == 'hover-ready' {
356
+ @include hover-ready;
357
+ } @else if str.index($mixin-str, 'border(') == 1 {
358
+ $param1: list.nth($params, 1);
359
+ @include border($param1);
360
+ } @else if str.index($mixin-str, 'border-top(') == 1 {
361
+ $param1: list.nth($params, 1);
362
+ @include border-top($param1);
363
+ } @else if str.index($mixin-str, 'border-right(') == 1 {
364
+ $param1: list.nth($params, 1);
365
+ @include border-right($param1);
366
+ } @else if str.index($mixin-str, 'border-bottom(') == 1 {
367
+ $param1: list.nth($params, 1);
368
+ @include border-bottom($param1);
369
+ } @else if str.index($mixin-str, 'border-left(') == 1 {
370
+ $param1: list.nth($params, 1);
371
+ @include border-left($param1);
372
+ } @else if str.index($mixin-str, 'rounded-t(') == 1 {
373
+ $param1: list.nth($params, 1);
374
+ @include rounded-t($param1);
375
+ } @else if str.index($mixin-str, 'rounded-r(') == 1 {
376
+ $param1: list.nth($params, 1);
377
+ @include rounded-r($param1);
378
+ } @else if str.index($mixin-str, 'rounded-b(') == 1 {
379
+ $param1: list.nth($params, 1);
380
+ @include rounded-b($param1);
381
+ } @else if str.index($mixin-str, 'rounded-l(') == 1 {
382
+ $param1: list.nth($params, 1);
383
+ @include rounded-l($param1);
384
+ } @else if str.index($mixin-str, 'rounded-tl(') == 1 {
385
+ $param1: list.nth($params, 1);
386
+ @include rounded-tl($param1);
387
+ } @else if str.index($mixin-str, 'rounded-tr(') == 1 {
388
+ $param1: list.nth($params, 1);
389
+ @include rounded-tr($param1);
390
+ } @else if str.index($mixin-str, 'rounded-br(') == 1 {
391
+ $param1: list.nth($params, 1);
392
+ @include rounded-br($param1);
393
+ } @else if str.index($mixin-str, 'rounded-bl(') == 1 {
394
+ $param1: list.nth($params, 1);
395
+ @include rounded-bl($param1);
396
+ } @else if str.index($mixin-str, 'border-style(') == 1 {
397
+ $param1: list.nth($params, 1);
398
+ @include border-style($param1);
399
+ } @else if str.index($mixin-str, 'border-color(') == 1 {
400
+ $param1: list.nth($params, 1);
401
+ @include border-color($param1);
402
+ } @else if str.index($mixin-str, 'border-all(') == 1 {
403
+ @if (list.length($params) == 1) {
404
+ $param1: list.nth($params, 1);
405
+ @include border-all($param1);
406
+ }
407
+ @else if (list.length($params) == 2) {
408
+ $param1: list.nth($params, 1);
409
+ $param2: list.nth($params, 2);
410
+ @include border-all($param1, $param2);
411
+ }
412
+ @else if (list.length($params) == 3) {
413
+ $param1: list.nth($params, 1);
414
+ $param2: list.nth($params, 2);
415
+ $param3: list.nth($params, 3);
416
+ @include border-all($param1, $param2, $param3);
417
+ }
418
+ } @else if str.index($mixin-str, 'adaptive-contrast(') == 1 {
419
+ $param1: list.nth($params, 1);
420
+ @include adaptive-contrast($param1);
421
+ } @else if str.index($mixin-str, 'bg(') == 1 {
422
+ $param1: list.nth($params, 1);
423
+ @include bg($param1);
424
+ } @else if str.index($mixin-str, 'color(') == 1 {
425
+ $param1: list.nth($params, 1);
426
+ @include color($param1);
427
+ } @else if str.index($mixin-str, 'gradient(') == 1 {
428
+ @if (list.length($params) == 1) {
429
+ $param1: list.nth($params, 1);
430
+ @include gradient($param1);
431
+ }
432
+ @else if (list.length($params) == 2) {
433
+ $param1: list.nth($params, 1);
434
+ $param2: list.nth($params, 2);
435
+ @include gradient($param1, $param2);
436
+ }
437
+ } @else if str.index($mixin-str, 'backdrop-filter(') == 1 {
438
+ $param1: list.nth($params, 1);
439
+ @include backdrop-filter($param1);
440
+ } @else if str.index($mixin-str, 'filter(') == 1 {
441
+ $param1: list.nth($params, 1);
442
+ @include filter($param1);
443
+ } @else if str.index($mixin-str, 'container-up(') == 1 {
444
+ @if (list.length($params) == 1) {
445
+ $param1: list.nth($params, 1);
446
+ @include container-up($param1);
447
+ }
448
+ @else if (list.length($params) == 2) {
449
+ $param1: list.nth($params, 1);
450
+ $param2: list.nth($params, 2);
451
+ @include container-up($param1, $param2);
452
+ }
453
+ } @else if str.index($mixin-str, 'container-down(') == 1 {
454
+ @if (list.length($params) == 1) {
455
+ $param1: list.nth($params, 1);
456
+ @include container-down($param1);
457
+ }
458
+ @else if (list.length($params) == 2) {
459
+ $param1: list.nth($params, 1);
460
+ $param2: list.nth($params, 2);
461
+ @include container-down($param1, $param2);
462
+ }
463
+ } @else if str.index($mixin-str, 'container-between(') == 1 {
464
+ @if (list.length($params) == 1) {
465
+ $param1: list.nth($params, 1);
466
+ @include container-between($param1);
467
+ }
468
+ @else if (list.length($params) == 2) {
469
+ $param1: list.nth($params, 1);
470
+ $param2: list.nth($params, 2);
471
+ @include container-between($param1, $param2);
472
+ }
473
+ @else if (list.length($params) == 3) {
474
+ $param1: list.nth($params, 1);
475
+ $param2: list.nth($params, 2);
476
+ $param3: list.nth($params, 3);
477
+ @include container-between($param1, $param2, $param3);
478
+ }
479
+ } @else if str.index($mixin-str, 'container-only(') == 1 {
480
+ @if (list.length($params) == 1) {
481
+ $param1: list.nth($params, 1);
482
+ @include container-only($param1);
483
+ }
484
+ @else if (list.length($params) == 2) {
485
+ $param1: list.nth($params, 1);
486
+ $param2: list.nth($params, 2);
487
+ @include container-only($param1, $param2);
488
+ }
489
+ } @else if str.index($mixin-str, 'container-query(') == 1 {
490
+ @if (list.length($params) == 1) {
491
+ $param1: list.nth($params, 1);
492
+ @include container-query($param1);
493
+ }
494
+ @else if (list.length($params) == 2) {
495
+ $param1: list.nth($params, 1);
496
+ $param2: list.nth($params, 2);
497
+ @include container-query($param1, $param2);
498
+ }
499
+ } @else if str.index($mixin-str, 'container-type(') == 1 {
500
+ $param1: list.nth($params, 1);
501
+ @include container-type($param1);
502
+ } @else if str.index($mixin-str, 'container-name(') == 1 {
503
+ $param1: list.nth($params, 1);
504
+ @include container-name($param1);
505
+ } @else if $mixin-str == 'hide' {
506
+ @include hide;
507
+ } @else if $mixin-str == 'block' {
508
+ @include block;
509
+ } @else if $mixin-str == 'inline' {
510
+ @include inline;
511
+ } @else if $mixin-str == 'inline-block' {
512
+ @include inline-block;
513
+ } @else if $mixin-str == 'show' {
514
+ @include show;
515
+ } @else if $mixin-str == 'd-tbl' {
516
+ @include d-tbl;
517
+ } @else if $mixin-str == 'd-tbl-row' {
518
+ @include d-tbl-row;
519
+ } @else if $mixin-str == 'd-tbl-cell' {
520
+ @include d-tbl-cell;
521
+ } @else if $mixin-str == 'visible' {
522
+ @include visible;
523
+ } @else if $mixin-str == 'invisible' {
524
+ @include invisible;
525
+ } @else if $mixin-str == 'collapse' {
526
+ @include collapse;
527
+ } @else if $mixin-str == 'contents' {
528
+ @include contents;
529
+ } @else if $mixin-str == 'overflow-hidden' {
530
+ @include overflow-hidden;
531
+ } @else if $mixin-str == 'overflow-visible' {
532
+ @include overflow-visible;
533
+ } @else if $mixin-str == 'overflow-scroll' {
534
+ @include overflow-scroll;
535
+ } @else if $mixin-str == 'overflow-auto' {
536
+ @include overflow-auto;
537
+ } @else if $mixin-str == 'overflow-x-hidden' {
538
+ @include overflow-x-hidden;
539
+ } @else if $mixin-str == 'overflow-y-hidden' {
540
+ @include overflow-y-hidden;
541
+ } @else if $mixin-str == 'overflow-x-scroll' {
542
+ @include overflow-x-scroll;
543
+ } @else if $mixin-str == 'overflow-y-scroll' {
544
+ @include overflow-y-scroll;
545
+ } @else if $mixin-str == 'overflow-x-auto' {
546
+ @include overflow-x-auto;
547
+ } @else if $mixin-str == 'overflow-y-auto' {
548
+ @include overflow-y-auto;
549
+ } @else if str.index($mixin-str, 'media-up(') == 1 {
550
+ $param1: list.nth($params, 1);
551
+ @include media-up($param1);
552
+ } @else if str.index($mixin-str, 'media-down(') == 1 {
553
+ $param1: list.nth($params, 1);
554
+ @include media-down($param1);
555
+ } @else if str.index($mixin-str, 'media-between(') == 1 {
556
+ @if (list.length($params) == 1) {
557
+ $param1: list.nth($params, 1);
558
+ @include media-between($param1);
559
+ }
560
+ @else if (list.length($params) == 2) {
561
+ $param1: list.nth($params, 1);
562
+ $param2: list.nth($params, 2);
563
+ @include media-between($param1, $param2);
564
+ }
565
+ } @else if str.index($mixin-str, 'media-only(') == 1 {
566
+ $param1: list.nth($params, 1);
567
+ @include media-only($param1);
568
+ } @else if $mixin-str == 'touch' {
569
+ @include touch;
570
+ } @else if $mixin-str == 'print' {
571
+ @include print;
572
+ } @else if str.index($mixin-str, 'supports(') == 1 {
573
+ $param1: list.nth($params, 1);
574
+ @include supports($param1);
575
+ } @else if $mixin-str == 'prefers-dark' {
576
+ @include prefers-dark;
577
+ } @else if $mixin-str == 'dark-mode' {
578
+ @include dark-mode;
579
+ } @else if $mixin-str == 'landscape' {
580
+ @include landscape;
581
+ } @else if $mixin-str == 'portrait' {
582
+ @include portrait;
583
+ } @else if str.index($mixin-str, 'aspect-ratio(') == 1 {
584
+ $param1: list.nth($params, 1);
585
+ @include aspect-ratio($param1);
586
+ } @else if $mixin-str == 'dvh' {
587
+ @include dvh;
588
+ } @else if str.index($mixin-str, 'safe-area-inset(') == 1 {
589
+ @if (list.length($params) == 1) {
590
+ $param1: list.nth($params, 1);
591
+ @include safe-area-inset($param1);
592
+ }
593
+ @else if (list.length($params) == 2) {
594
+ $param1: list.nth($params, 1);
595
+ $param2: list.nth($params, 2);
596
+ @include safe-area-inset($param1, $param2);
597
+ }
598
+ } @else if $mixin-str == 'reduced-motion' {
599
+ @include reduced-motion;
600
+ } @else if $mixin-str == 'save-data' {
601
+ @include save-data;
602
+ } @else if $mixin-str == 'fine-pointer' {
603
+ @include fine-pointer;
604
+ } @else if str.index($mixin-str, 'display-mode(') == 1 {
605
+ $param1: list.nth($params, 1);
606
+ @include display-mode($param1);
607
+ } @else if $mixin-str == 'high-contrast' {
608
+ @include high-contrast;
609
+ } @else if $mixin-str == 'static' {
610
+ @include static;
611
+ } @else if $mixin-str == 'relative' {
612
+ @include relative;
613
+ } @else if $mixin-str == 'absolute' {
614
+ @include absolute;
615
+ } @else if $mixin-str == 'fixed' {
616
+ @include fixed;
617
+ } @else if $mixin-str == 'sticky' {
618
+ @include sticky;
619
+ } @else if str.index($mixin-str, 'top(') == 1 {
620
+ $param1: list.nth($params, 1);
621
+ @include top($param1);
622
+ } @else if str.index($mixin-str, 'right(') == 1 {
623
+ $param1: list.nth($params, 1);
624
+ @include right($param1);
625
+ } @else if str.index($mixin-str, 'bottom(') == 1 {
626
+ $param1: list.nth($params, 1);
627
+ @include bottom($param1);
628
+ } @else if str.index($mixin-str, 'left(') == 1 {
629
+ $param1: list.nth($params, 1);
630
+ @include left($param1);
631
+ } @else if str.index($mixin-str, 'shadow-base(') == 1 {
632
+ @if (list.length($params) == 1) {
633
+ $param1: list.nth($params, 1);
634
+ @include shadow-base($param1);
635
+ }
636
+ @else if (list.length($params) == 2) {
637
+ $param1: list.nth($params, 1);
638
+ $param2: list.nth($params, 2);
639
+ @include shadow-base($param1, $param2);
640
+ }
641
+ @else if (list.length($params) == 3) {
642
+ $param1: list.nth($params, 1);
643
+ $param2: list.nth($params, 2);
644
+ $param3: list.nth($params, 3);
645
+ @include shadow-base($param1, $param2, $param3);
646
+ }
647
+ @else if (list.length($params) == 4) {
648
+ $param1: list.nth($params, 1);
649
+ $param2: list.nth($params, 2);
650
+ $param3: list.nth($params, 3);
651
+ $param4: list.nth($params, 4);
652
+ @include shadow-base($param1, $param2, $param3, $param4);
653
+ }
654
+ @else if (list.length($params) == 5) {
655
+ $param1: list.nth($params, 1);
656
+ $param2: list.nth($params, 2);
657
+ $param3: list.nth($params, 3);
658
+ $param4: list.nth($params, 4);
659
+ $param5: list.nth($params, 5);
660
+ @include shadow-base($param1, $param2, $param3, $param4, $param5);
661
+ }
662
+ } @else if str.index($mixin-str, 'shadow(') == 1 {
663
+ @if (list.length($params) == 1) {
664
+ $param1: list.nth($params, 1);
665
+ @include shadow($param1);
666
+ }
667
+ @else if (list.length($params) == 2) {
668
+ $param1: list.nth($params, 1);
669
+ $param2: list.nth($params, 2);
670
+ @include shadow($param1, $param2);
671
+ }
672
+ } @else if str.index($mixin-str, 'shadow-inset(') == 1 {
673
+ @if (list.length($params) == 1) {
674
+ $param1: list.nth($params, 1);
675
+ @include shadow-inset($param1);
676
+ }
677
+ @else if (list.length($params) == 2) {
678
+ $param1: list.nth($params, 1);
679
+ $param2: list.nth($params, 2);
680
+ @include shadow-inset($param1, $param2);
1514
681
  }
682
+ } @else if str.index($mixin-str, 'width(') == 1 {
683
+ $param1: list.nth($params, 1);
684
+ @include width($param1);
685
+ } @else if str.index($mixin-str, 'height(') == 1 {
686
+ $param1: list.nth($params, 1);
687
+ @include height($param1);
688
+ } @else if str.index($mixin-str, 'min-width(') == 1 {
689
+ $param1: list.nth($params, 1);
690
+ @include min-width($param1);
691
+ } @else if str.index($mixin-str, 'min-height(') == 1 {
692
+ $param1: list.nth($params, 1);
693
+ @include min-height($param1);
694
+ } @else if str.index($mixin-str, 'max-width(') == 1 {
695
+ $param1: list.nth($params, 1);
696
+ @include max-width($param1);
697
+ } @else if str.index($mixin-str, 'max-height(') == 1 {
698
+ $param1: list.nth($params, 1);
699
+ @include max-height($param1);
700
+ } @else if str.index($mixin-str, 'width-percent(') == 1 {
701
+ $param1: list.nth($params, 1);
702
+ @include width-percent($param1);
703
+ } @else if str.index($mixin-str, 'height-percent(') == 1 {
704
+ $param1: list.nth($params, 1);
705
+ @include height-percent($param1);
706
+ } @else if str.index($mixin-str, 'min-width-percent(') == 1 {
707
+ $param1: list.nth($params, 1);
708
+ @include min-width-percent($param1);
709
+ } @else if str.index($mixin-str, 'min-height-percent(') == 1 {
710
+ $param1: list.nth($params, 1);
711
+ @include min-height-percent($param1);
712
+ } @else if str.index($mixin-str, 'max-width-percent(') == 1 {
713
+ $param1: list.nth($params, 1);
714
+ @include max-width-percent($param1);
715
+ } @else if str.index($mixin-str, 'max-height-percent(') == 1 {
716
+ $param1: list.nth($params, 1);
717
+ @include max-height-percent($param1);
718
+ } @else if $mixin-str == 'w-auto' {
719
+ @include w-auto;
720
+ } @else if $mixin-str == 'w-full' {
721
+ @include w-full;
722
+ } @else if $mixin-str == 'h-auto' {
723
+ @include h-auto;
724
+ } @else if $mixin-str == 'h-full' {
725
+ @include h-full;
726
+ } @else if $mixin-str == 'min-w-full' {
727
+ @include min-w-full;
728
+ } @else if $mixin-str == 'max-w-full' {
729
+ @include max-w-full;
730
+ } @else if $mixin-str == 'min-h-full' {
731
+ @include min-h-full;
732
+ } @else if $mixin-str == 'max-h-full' {
733
+ @include max-h-full;
734
+ } @else if $mixin-str == 'w-screen' {
735
+ @include w-screen;
736
+ } @else if $mixin-str == 'h-screen' {
737
+ @include h-screen;
738
+ } @else if str.index($mixin-str, 'p(') == 1 {
739
+ $param1: list.nth($params, 1);
740
+ @include p($param1);
741
+ } @else if str.index($mixin-str, 'px(') == 1 {
742
+ $param1: list.nth($params, 1);
743
+ @include px($param1);
744
+ } @else if str.index($mixin-str, 'py(') == 1 {
745
+ $param1: list.nth($params, 1);
746
+ @include py($param1);
747
+ } @else if str.index($mixin-str, 'pt(') == 1 {
748
+ $param1: list.nth($params, 1);
749
+ @include pt($param1);
750
+ } @else if str.index($mixin-str, 'pr(') == 1 {
751
+ $param1: list.nth($params, 1);
752
+ @include pr($param1);
753
+ } @else if str.index($mixin-str, 'pb(') == 1 {
754
+ $param1: list.nth($params, 1);
755
+ @include pb($param1);
756
+ } @else if str.index($mixin-str, 'pl(') == 1 {
757
+ $param1: list.nth($params, 1);
758
+ @include pl($param1);
759
+ } @else if str.index($mixin-str, 'm(') == 1 {
760
+ $param1: list.nth($params, 1);
761
+ @include m($param1);
762
+ } @else if str.index($mixin-str, 'mx(') == 1 {
763
+ $param1: list.nth($params, 1);
764
+ @include mx($param1);
765
+ } @else if str.index($mixin-str, 'my(') == 1 {
766
+ $param1: list.nth($params, 1);
767
+ @include my($param1);
768
+ } @else if str.index($mixin-str, 'mt(') == 1 {
769
+ $param1: list.nth($params, 1);
770
+ @include mt($param1);
771
+ } @else if str.index($mixin-str, 'mr(') == 1 {
772
+ $param1: list.nth($params, 1);
773
+ @include mr($param1);
774
+ } @else if str.index($mixin-str, 'mb(') == 1 {
775
+ $param1: list.nth($params, 1);
776
+ @include mb($param1);
777
+ } @else if str.index($mixin-str, 'ml(') == 1 {
778
+ $param1: list.nth($params, 1);
779
+ @include ml($param1);
780
+ } @else if $mixin-str == 'ml-auto' {
781
+ @include ml-auto;
782
+ } @else if $mixin-str == 'mr-auto' {
783
+ @include mr-auto;
784
+ } @else if $mixin-str == 'mx-auto' {
785
+ @include mx-auto;
786
+ } @else if str.index($mixin-str, 'space-y(') == 1 {
787
+ $param1: list.nth($params, 1);
788
+ @include space-y($param1);
789
+ } @else if str.index($mixin-str, 'space-x(') == 1 {
790
+ $param1: list.nth($params, 1);
791
+ @include space-x($param1);
792
+ } @else if str.index($mixin-str, 'gap(') == 1 {
793
+ $param1: list.nth($params, 1);
794
+ @include gap($param1);
795
+ } @else if str.index($mixin-str, 'gap-x(') == 1 {
796
+ $param1: list.nth($params, 1);
797
+ @include gap-x($param1);
798
+ } @else if str.index($mixin-str, 'gap-y(') == 1 {
799
+ $param1: list.nth($params, 1);
800
+ @include gap-y($param1);
801
+ } @else if $mixin-str == 'transition' {
802
+ @include transition;
803
+ } @else if $mixin-str == 'transition-none' {
804
+ @include transition-none;
805
+ } @else if $mixin-str == 'transition-all' {
806
+ @include transition-all;
807
+ } @else if $mixin-str == 'transition-colors' {
808
+ @include transition-colors;
809
+ } @else if $mixin-str == 'transition-opacity' {
810
+ @include transition-opacity;
811
+ } @else if $mixin-str == 'transition-shadow' {
812
+ @include transition-shadow;
813
+ } @else if $mixin-str == 'transition-transform' {
814
+ @include transition-transform;
815
+ } @else if str.index($mixin-str, 'duration(') == 1 {
816
+ $param1: list.nth($params, 1);
817
+ @include duration($param1);
818
+ } @else if $mixin-str == 'ease-linear' {
819
+ @include ease-linear;
820
+ } @else if $mixin-str == 'ease-in' {
821
+ @include ease-in;
822
+ } @else if $mixin-str == 'ease-out' {
823
+ @include ease-out;
824
+ } @else if $mixin-str == 'ease-in-out' {
825
+ @include ease-in-out;
826
+ } @else if str.index($mixin-str, 'delay(') == 1 {
827
+ $param1: list.nth($params, 1);
828
+ @include delay($param1);
829
+ } @else if str.index($mixin-str, 'text-size(') == 1 {
830
+ $param1: list.nth($params, 1);
831
+ @include text-size($param1);
832
+ } @else if $mixin-str == 'font-thin' {
833
+ @include font-thin;
834
+ } @else if $mixin-str == 'font-extralight' {
835
+ @include font-extralight;
836
+ } @else if $mixin-str == 'font-light' {
837
+ @include font-light;
838
+ } @else if $mixin-str == 'font-normal' {
839
+ @include font-normal;
840
+ } @else if $mixin-str == 'font-medium' {
841
+ @include font-medium;
842
+ } @else if $mixin-str == 'font-semibold' {
843
+ @include font-semibold;
844
+ } @else if $mixin-str == 'font-bold' {
845
+ @include font-bold;
846
+ } @else if $mixin-str == 'font-extrabold' {
847
+ @include font-extrabold;
848
+ } @else if $mixin-str == 'font-black' {
849
+ @include font-black;
850
+ } @else if $mixin-str == 'leading-none' {
851
+ @include leading-none;
852
+ } @else if $mixin-str == 'leading-tight' {
853
+ @include leading-tight;
854
+ } @else if $mixin-str == 'leading-snug' {
855
+ @include leading-snug;
856
+ } @else if $mixin-str == 'leading-normal' {
857
+ @include leading-normal;
858
+ } @else if $mixin-str == 'leading-relaxed' {
859
+ @include leading-relaxed;
860
+ } @else if $mixin-str == 'leading-loose' {
861
+ @include leading-loose;
862
+ } @else if $mixin-str == 'text-left' {
863
+ @include text-left;
864
+ } @else if $mixin-str == 'text-center' {
865
+ @include text-center;
866
+ } @else if $mixin-str == 'text-right' {
867
+ @include text-right;
868
+ } @else if $mixin-str == 'text-justify' {
869
+ @include text-justify;
870
+ } @else if $mixin-str == 'uppercase' {
871
+ @include uppercase;
872
+ } @else if $mixin-str == 'lowercase' {
873
+ @include lowercase;
874
+ } @else if $mixin-str == 'capitalize' {
875
+ @include capitalize;
876
+ } @else if $mixin-str == 'normal-case' {
877
+ @include normal-case;
878
+ } @else if $mixin-str == 'italic' {
879
+ @include italic;
880
+ } @else if $mixin-str == 'not-italic' {
881
+ @include not-italic;
882
+ } @else if $mixin-str == 'underline' {
883
+ @include underline;
884
+ } @else if $mixin-str == 'line-through' {
885
+ @include line-through;
886
+ } @else if $mixin-str == 'no-underline' {
887
+ @include no-underline;
888
+ } @else if $mixin-str == 'truncate' {
889
+ @include truncate;
890
+ } @else if str.index($mixin-str, 'truncate-lines(') == 1 {
891
+ $param1: list.nth($params, 1);
892
+ @include truncate-lines($param1);
893
+ } @else if $mixin-str == 'break-normal' {
894
+ @include break-normal;
895
+ } @else if $mixin-str == 'break-words' {
896
+ @include break-words;
897
+ } @else if $mixin-str == 'break-all' {
898
+ @include break-all;
899
+ } @else if $mixin-str == 'whitespace-normal' {
900
+ @include whitespace-normal;
901
+ } @else if $mixin-str == 'whitespace-nowrap' {
902
+ @include whitespace-nowrap;
903
+ } @else if $mixin-str == 'whitespace-pre' {
904
+ @include whitespace-pre;
905
+ } @else if $mixin-str == 'whitespace-pre-line' {
906
+ @include whitespace-pre-line;
907
+ } @else if $mixin-str == 'whitespace-pre-wrap' {
908
+ @include whitespace-pre-wrap;
909
+ } @else if str.index($mixin-str, 'responsive-typography(') == 1 {
910
+ $param1: list.nth($params, 1);
911
+ @include responsive-typography($param1);
912
+ }
1515
913
  }