@nuvoui/core 0.3.1 → 1.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/nuvoui.css +1 -0
- package/package.json +14 -7
- package/src/styles/base/_base.scss +26 -2
- package/src/styles/base/_reset.scss +5 -2
- package/src/styles/index.scss +6 -11
- package/src/styles/layouts/_container.scss +1 -0
- package/src/styles/layouts/_flex.scss +26 -7
- package/src/styles/layouts/_grid.scss +6 -8
- package/src/styles/mixins-map.scss +1175 -0
- package/src/styles/themes/_theme.scss +1 -2
- package/src/styles/utilities/_animations.scss +10 -64
- package/src/styles/utilities/_borders.scss +36 -0
- package/src/styles/utilities/_colors.scss +23 -19
- package/src/styles/utilities/_display.scss +13 -15
- package/src/styles/utilities/{_responsive.scss → _media-queries.scss} +16 -53
- package/src/styles/utilities/_opacity.scss +20 -0
- package/src/styles/utilities/_position.scss +49 -40
- package/src/styles/utilities/_shadows.scss +4 -5
- package/src/styles/utilities/_sizing.scss +73 -0
- package/src/styles/utilities/_spacing.scss +76 -63
- package/src/styles/utilities/_tooltips.scss +20 -33
- package/src/styles/utilities/_typography.scss +1 -0
- package/src/styles/utilities/_variables.scss +30 -23
- package/dist/dark.css +0 -1
- package/dist/index.css +0 -1
- package/dist/index.css.map +0 -1
- package/dist/index.html +0 -15
- package/dist/light.css +0 -1
- package/dist/main.css +0 -1
- package/dist/main.js +0 -1
- package/src/js/main.js +0 -1
- package/src/logo.png +0 -0
- package/src/logo.svg +0 -12
- package/src/styles/_global.scss +0 -3
- package/src/styles/components/_alert.scss +0 -0
- package/src/styles/components/_avatar.scss +0 -0
- package/src/styles/components/_badge.scss +0 -0
- package/src/styles/components/_breadcrumb.scss +0 -0
- package/src/styles/components/_button.scss +0 -247
- package/src/styles/components/_calendar.scss +0 -0
- package/src/styles/components/_card.scss +0 -0
- package/src/styles/components/_checkbox.scss +0 -23
- package/src/styles/components/_dropdown.scss +0 -0
- package/src/styles/components/_form.scss +0 -157
- package/src/styles/components/_modal.scss +0 -0
- package/src/styles/components/_navbar.scss +0 -141
- package/src/styles/components/_pagination.scss +0 -0
- package/src/styles/components/_progress.scss +0 -0
- package/src/styles/components/_radio.scss +0 -0
- package/src/styles/components/_sidebar.scss +0 -0
- package/src/styles/components/_table.scss +0 -0
- package/src/styles/components/_tabs.scss +0 -0
- package/src/styles/components/_tooltip.scss +0 -0
- package/src/styles/utilities/_hamburger.scss +0 -74
|
@@ -0,0 +1,1175 @@
|
|
|
1
|
+
|
|
2
|
+
@use 'base/base' as *;
|
|
3
|
+
@use 'base/reset' as *;
|
|
4
|
+
@use 'layouts/container' as *;
|
|
5
|
+
@use 'layouts/flex' as *;
|
|
6
|
+
@use 'layouts/grid' as *;
|
|
7
|
+
@use 'themes/dark' as *;
|
|
8
|
+
@use 'themes/light' as *;
|
|
9
|
+
@use 'themes/theme' as *;
|
|
10
|
+
@use 'utilities/animations' as *;
|
|
11
|
+
@use 'utilities/borders' as *;
|
|
12
|
+
@use 'utilities/colors' as *;
|
|
13
|
+
@use 'utilities/display' as *;
|
|
14
|
+
@use 'utilities/functions' as *;
|
|
15
|
+
@use 'utilities/media-queries' as *;
|
|
16
|
+
@use 'utilities/opacity' as *;
|
|
17
|
+
@use 'utilities/position' as *;
|
|
18
|
+
@use 'utilities/shadows' as *;
|
|
19
|
+
@use 'utilities/sizing' as *;
|
|
20
|
+
@use 'utilities/spacing' as *;
|
|
21
|
+
@use 'utilities/tooltips' as *;
|
|
22
|
+
@use 'utilities/typography' as *;
|
|
23
|
+
@use 'utilities/variables' as *;
|
|
24
|
+
|
|
25
|
+
@use 'sass:string' as str;
|
|
26
|
+
|
|
27
|
+
@mixin apply($mixins...) {
|
|
28
|
+
@each $mixin in $mixins {
|
|
29
|
+
$mixin-str: #{$mixin};
|
|
30
|
+
$breakpoint: null;
|
|
31
|
+
|
|
32
|
+
// Extract breakpoint if exists
|
|
33
|
+
@if str.index($mixin-str, '_') {
|
|
34
|
+
$breakpoint: str.slice($mixin-str, str.index($mixin-str, '_') + 1);
|
|
35
|
+
|
|
36
|
+
// Handle parameters with breakpoints
|
|
37
|
+
@if str.index($mixin-str, '(') {
|
|
38
|
+
$start: str.index($mixin-str, '(') + 1;
|
|
39
|
+
$end: str.index($mixin-str, '_') - 2;
|
|
40
|
+
$value: str.slice($mixin-str, $start, $end);
|
|
41
|
+
$mixin-name: str.slice($mixin-str, 1, $start - 1);
|
|
42
|
+
$mixin-str: $mixin-name + $value;
|
|
43
|
+
} @else {
|
|
44
|
+
$mixin-str: str.slice($mixin-str, 1, str.index($mixin-str, '_') - 1);
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
// Wrap in media query if breakpoint exists
|
|
49
|
+
@if $breakpoint {
|
|
50
|
+
@include media-up($breakpoint) {
|
|
51
|
+
@if $mixin-str == 'container-base' {
|
|
52
|
+
@include container-base;
|
|
53
|
+
} @else if $mixin-str == 'container' {
|
|
54
|
+
@include container;
|
|
55
|
+
} @else if $mixin-str == 'container-flex' {
|
|
56
|
+
@include container-flex;
|
|
57
|
+
} @else if $mixin-str == 'container-grid' {
|
|
58
|
+
@include container-grid;
|
|
59
|
+
} @else if $mixin-str == 'flex' {
|
|
60
|
+
@include flex;
|
|
61
|
+
} @else if $mixin-str == 'flex-inline' {
|
|
62
|
+
@include flex-inline;
|
|
63
|
+
} @else if $mixin-str == 'row' {
|
|
64
|
+
@include row;
|
|
65
|
+
} @else if $mixin-str == 'row-reverse' {
|
|
66
|
+
@include row-reverse;
|
|
67
|
+
} @else if $mixin-str == 'col' {
|
|
68
|
+
@include col;
|
|
69
|
+
} @else if $mixin-str == 'col-reverse' {
|
|
70
|
+
@include col-reverse;
|
|
71
|
+
} @else if $mixin-str == 'wrap' {
|
|
72
|
+
@include wrap;
|
|
73
|
+
} @else if $mixin-str == 'nowrap' {
|
|
74
|
+
@include nowrap;
|
|
75
|
+
} @else if $mixin-str == 'wrap-reverse' {
|
|
76
|
+
@include wrap-reverse;
|
|
77
|
+
} @else if $mixin-str == 'start' {
|
|
78
|
+
@include start;
|
|
79
|
+
} @else if $mixin-str == 'end' {
|
|
80
|
+
@include end;
|
|
81
|
+
} @else if $mixin-str == 'center' {
|
|
82
|
+
@include center;
|
|
83
|
+
} @else if $mixin-str == 'between' {
|
|
84
|
+
@include between;
|
|
85
|
+
} @else if $mixin-str == 'around' {
|
|
86
|
+
@include around;
|
|
87
|
+
} @else if $mixin-str == 'evenly' {
|
|
88
|
+
@include evenly;
|
|
89
|
+
} @else if $mixin-str == 'align-start' {
|
|
90
|
+
@include align-start;
|
|
91
|
+
} @else if $mixin-str == 'align-end' {
|
|
92
|
+
@include align-end;
|
|
93
|
+
} @else if $mixin-str == 'align-center' {
|
|
94
|
+
@include align-center;
|
|
95
|
+
} @else if $mixin-str == 'align-stretch' {
|
|
96
|
+
@include align-stretch;
|
|
97
|
+
} @else if $mixin-str == 'align-baseline' {
|
|
98
|
+
@include align-baseline;
|
|
99
|
+
} @else if $mixin-str == 'self-auto' {
|
|
100
|
+
@include self-auto;
|
|
101
|
+
} @else if $mixin-str == 'self-start' {
|
|
102
|
+
@include self-start;
|
|
103
|
+
} @else if $mixin-str == 'self-end' {
|
|
104
|
+
@include self-end;
|
|
105
|
+
} @else if $mixin-str == 'self-center' {
|
|
106
|
+
@include self-center;
|
|
107
|
+
} @else if $mixin-str == 'self-stretch' {
|
|
108
|
+
@include self-stretch;
|
|
109
|
+
} @else if $mixin-str == 'shrink' {
|
|
110
|
+
@include shrink;
|
|
111
|
+
} @else if $mixin-str == 'shrink-0' {
|
|
112
|
+
@include shrink-0;
|
|
113
|
+
} @else if $mixin-str == 'shrink-2' {
|
|
114
|
+
@include shrink-2;
|
|
115
|
+
} @else if $mixin-str == 'f-w-full' {
|
|
116
|
+
@include f-w-full;
|
|
117
|
+
} @else if $mixin-str == 'f-w-auto' {
|
|
118
|
+
@include f-w-auto;
|
|
119
|
+
} @else if $mixin-str == 'grow' {
|
|
120
|
+
@include grow;
|
|
121
|
+
} @else if $mixin-str == 'no-grow' {
|
|
122
|
+
@include no-grow;
|
|
123
|
+
} @else if $mixin-str == 'grid' {
|
|
124
|
+
@include grid;
|
|
125
|
+
} @else if $mixin-str == 'grid-inline' {
|
|
126
|
+
@include grid-inline;
|
|
127
|
+
} @else if $mixin-str == 'grid-flow-row' {
|
|
128
|
+
@include grid-flow-row;
|
|
129
|
+
} @else if $mixin-str == 'grid-flow-col' {
|
|
130
|
+
@include grid-flow-col;
|
|
131
|
+
} @else if $mixin-str == 'grid-flow-dense' {
|
|
132
|
+
@include grid-flow-dense;
|
|
133
|
+
} @else if $mixin-str == 'd-none' {
|
|
134
|
+
@include d-none;
|
|
135
|
+
} @else if $mixin-str == 'd-block' {
|
|
136
|
+
@include d-block;
|
|
137
|
+
} @else if $mixin-str == 'd-inline' {
|
|
138
|
+
@include d-inline;
|
|
139
|
+
} @else if $mixin-str == 'd-inline-block' {
|
|
140
|
+
@include d-inline-block;
|
|
141
|
+
} @else if $mixin-str == 'd-tbl' {
|
|
142
|
+
@include d-tbl;
|
|
143
|
+
} @else if $mixin-str == 'd-tbl-row' {
|
|
144
|
+
@include d-tbl-row;
|
|
145
|
+
} @else if $mixin-str == 'd-tbl-cell' {
|
|
146
|
+
@include d-tbl-cell;
|
|
147
|
+
} @else if $mixin-str == 'touch' {
|
|
148
|
+
@include touch;
|
|
149
|
+
} @else if $mixin-str == 'print' {
|
|
150
|
+
@include print;
|
|
151
|
+
} @else if $mixin-str == 'dark-mode' {
|
|
152
|
+
@include dark-mode;
|
|
153
|
+
} @else if $mixin-str == 'landscape' {
|
|
154
|
+
@include landscape;
|
|
155
|
+
} @else if $mixin-str == 'portrait' {
|
|
156
|
+
@include portrait;
|
|
157
|
+
} @else if $mixin-str == 'dvh' {
|
|
158
|
+
@include dvh;
|
|
159
|
+
} @else if $mixin-str == 'reduced-motion' {
|
|
160
|
+
@include reduced-motion;
|
|
161
|
+
} @else if $mixin-str == 'high-contrast' {
|
|
162
|
+
@include high-contrast;
|
|
163
|
+
} @else if $mixin-str == 'static' {
|
|
164
|
+
@include static;
|
|
165
|
+
} @else if $mixin-str == 'relative' {
|
|
166
|
+
@include relative;
|
|
167
|
+
} @else if $mixin-str == 'absolute' {
|
|
168
|
+
@include absolute;
|
|
169
|
+
} @else if $mixin-str == 'fixed' {
|
|
170
|
+
@include fixed;
|
|
171
|
+
} @else if $mixin-str == 'sticky' {
|
|
172
|
+
@include sticky;
|
|
173
|
+
} @else if $mixin-str == 'w-auto' {
|
|
174
|
+
@include w-auto;
|
|
175
|
+
} @else if $mixin-str == 'w-full' {
|
|
176
|
+
@include w-full;
|
|
177
|
+
} @else if $mixin-str == 'h-auto' {
|
|
178
|
+
@include h-auto;
|
|
179
|
+
} @else if $mixin-str == 'h-full' {
|
|
180
|
+
@include h-full;
|
|
181
|
+
} @else if $mixin-str == 'min-w-full' {
|
|
182
|
+
@include min-w-full;
|
|
183
|
+
} @else if $mixin-str == 'max-w-full' {
|
|
184
|
+
@include max-w-full;
|
|
185
|
+
} @else if $mixin-str == 'min-h-full' {
|
|
186
|
+
@include min-h-full;
|
|
187
|
+
} @else if $mixin-str == 'max-h-full' {
|
|
188
|
+
@include max-h-full;
|
|
189
|
+
} @else if $mixin-str == 'ml-auto' {
|
|
190
|
+
@include ml-auto;
|
|
191
|
+
} @else if $mixin-str == 'mr-auto' {
|
|
192
|
+
@include mr-auto;
|
|
193
|
+
} @else if $mixin-str == 'mx-auto' {
|
|
194
|
+
@include mx-auto;
|
|
195
|
+
} @else if $mixin-str == 'text-xs' {
|
|
196
|
+
@include text-xs;
|
|
197
|
+
} @else if $mixin-str == 'text-sm' {
|
|
198
|
+
@include text-sm;
|
|
199
|
+
} @else if $mixin-str == 'text-md' {
|
|
200
|
+
@include text-md;
|
|
201
|
+
} @else if $mixin-str == 'text-lg' {
|
|
202
|
+
@include text-lg;
|
|
203
|
+
} @else if $mixin-str == 'text-xl' {
|
|
204
|
+
@include text-xl;
|
|
205
|
+
} @else if $mixin-str == 'text-2xl' {
|
|
206
|
+
@include text-2xl;
|
|
207
|
+
} @else if $mixin-str == 'text-3xl' {
|
|
208
|
+
@include text-3xl;
|
|
209
|
+
} @else if $mixin-str == 'text-4xl' {
|
|
210
|
+
@include text-4xl;
|
|
211
|
+
} @else if $mixin-str == 'font-thin' {
|
|
212
|
+
@include font-thin;
|
|
213
|
+
} @else if $mixin-str == 'font-extralight' {
|
|
214
|
+
@include font-extralight;
|
|
215
|
+
} @else if $mixin-str == 'font-light' {
|
|
216
|
+
@include font-light;
|
|
217
|
+
} @else if $mixin-str == 'font-normal' {
|
|
218
|
+
@include font-normal;
|
|
219
|
+
} @else if $mixin-str == 'font-medium' {
|
|
220
|
+
@include font-medium;
|
|
221
|
+
} @else if $mixin-str == 'font-semibold' {
|
|
222
|
+
@include font-semibold;
|
|
223
|
+
} @else if $mixin-str == 'font-bold' {
|
|
224
|
+
@include font-bold;
|
|
225
|
+
} @else if $mixin-str == 'font-extrabold' {
|
|
226
|
+
@include font-extrabold;
|
|
227
|
+
} @else if $mixin-str == 'font-black' {
|
|
228
|
+
@include font-black;
|
|
229
|
+
} @else if $mixin-str == 'leading-none' {
|
|
230
|
+
@include leading-none;
|
|
231
|
+
} @else if $mixin-str == 'leading-tight' {
|
|
232
|
+
@include leading-tight;
|
|
233
|
+
} @else if $mixin-str == 'leading-snug' {
|
|
234
|
+
@include leading-snug;
|
|
235
|
+
} @else if $mixin-str == 'leading-normal' {
|
|
236
|
+
@include leading-normal;
|
|
237
|
+
} @else if $mixin-str == 'leading-relaxed' {
|
|
238
|
+
@include leading-relaxed;
|
|
239
|
+
} @else if $mixin-str == 'leading-loose' {
|
|
240
|
+
@include leading-loose;
|
|
241
|
+
} @else if $mixin-str == 'text-left' {
|
|
242
|
+
@include text-left;
|
|
243
|
+
} @else if $mixin-str == 'text-center' {
|
|
244
|
+
@include text-center;
|
|
245
|
+
} @else if $mixin-str == 'text-right' {
|
|
246
|
+
@include text-right;
|
|
247
|
+
} @else if $mixin-str == 'text-justify' {
|
|
248
|
+
@include text-justify;
|
|
249
|
+
} @else if $mixin-str == 'uppercase' {
|
|
250
|
+
@include uppercase;
|
|
251
|
+
} @else if $mixin-str == 'lowercase' {
|
|
252
|
+
@include lowercase;
|
|
253
|
+
} @else if $mixin-str == 'capitalize' {
|
|
254
|
+
@include capitalize;
|
|
255
|
+
} @else if $mixin-str == 'normal-case' {
|
|
256
|
+
@include normal-case;
|
|
257
|
+
} @else if $mixin-str == 'italic' {
|
|
258
|
+
@include italic;
|
|
259
|
+
} @else if $mixin-str == 'not-italic' {
|
|
260
|
+
@include not-italic;
|
|
261
|
+
} @else if $mixin-str == 'underline' {
|
|
262
|
+
@include underline;
|
|
263
|
+
} @else if $mixin-str == 'line-through' {
|
|
264
|
+
@include line-through;
|
|
265
|
+
} @else if $mixin-str == 'no-underline' {
|
|
266
|
+
@include no-underline;
|
|
267
|
+
} @else if $mixin-str == 'truncate' {
|
|
268
|
+
@include truncate;
|
|
269
|
+
} @else if str.index($mixin-str, 'w-col(') == 1 {
|
|
270
|
+
$start: str.index($mixin-str, '(') + 1;
|
|
271
|
+
$end: str.length($mixin-str) - 1;
|
|
272
|
+
$value: str.slice($mixin-str, $start, $end);
|
|
273
|
+
@include w-col(str.unquote($value));
|
|
274
|
+
} @else if str.index($mixin-str, 'grid-cols(') == 1 {
|
|
275
|
+
$start: str.index($mixin-str, '(') + 1;
|
|
276
|
+
$end: str.length($mixin-str) - 1;
|
|
277
|
+
$value: str.slice($mixin-str, $start, $end);
|
|
278
|
+
@include grid-cols(str.unquote($value));
|
|
279
|
+
} @else if str.index($mixin-str, 'grid-rows(') == 1 {
|
|
280
|
+
$start: str.index($mixin-str, '(') + 1;
|
|
281
|
+
$end: str.length($mixin-str) - 1;
|
|
282
|
+
$value: str.slice($mixin-str, $start, $end);
|
|
283
|
+
@include grid-rows(str.unquote($value));
|
|
284
|
+
} @else if str.index($mixin-str, 'grid-auto-fit(') == 1 {
|
|
285
|
+
$start: str.index($mixin-str, '(') + 1;
|
|
286
|
+
$end: str.length($mixin-str) - 1;
|
|
287
|
+
$value: str.slice($mixin-str, $start, $end);
|
|
288
|
+
@include grid-auto-fit(str.unquote($value));
|
|
289
|
+
} @else if str.index($mixin-str, 'grid-auto-fill(') == 1 {
|
|
290
|
+
$start: str.index($mixin-str, '(') + 1;
|
|
291
|
+
$end: str.length($mixin-str) - 1;
|
|
292
|
+
$value: str.slice($mixin-str, $start, $end);
|
|
293
|
+
@include grid-auto-fill(str.unquote($value));
|
|
294
|
+
} @else if str.index($mixin-str, 'justify-items(') == 1 {
|
|
295
|
+
$start: str.index($mixin-str, '(') + 1;
|
|
296
|
+
$end: str.length($mixin-str) - 1;
|
|
297
|
+
$value: str.slice($mixin-str, $start, $end);
|
|
298
|
+
@include justify-items(str.unquote($value));
|
|
299
|
+
} @else if str.index($mixin-str, 'align-items(') == 1 {
|
|
300
|
+
$start: str.index($mixin-str, '(') + 1;
|
|
301
|
+
$end: str.length($mixin-str) - 1;
|
|
302
|
+
$value: str.slice($mixin-str, $start, $end);
|
|
303
|
+
@include align-items(str.unquote($value));
|
|
304
|
+
} @else if str.index($mixin-str, 'place-items(') == 1 {
|
|
305
|
+
$start: str.index($mixin-str, '(') + 1;
|
|
306
|
+
$end: str.length($mixin-str) - 1;
|
|
307
|
+
$value: str.slice($mixin-str, $start, $end);
|
|
308
|
+
@include place-items(str.unquote($value));
|
|
309
|
+
} @else if str.index($mixin-str, 'col-span(') == 1 {
|
|
310
|
+
$start: str.index($mixin-str, '(') + 1;
|
|
311
|
+
$end: str.length($mixin-str) - 1;
|
|
312
|
+
$value: str.slice($mixin-str, $start, $end);
|
|
313
|
+
@include col-span(str.unquote($value));
|
|
314
|
+
} @else if str.index($mixin-str, 'row-span(') == 1 {
|
|
315
|
+
$start: str.index($mixin-str, '(') + 1;
|
|
316
|
+
$end: str.length($mixin-str) - 1;
|
|
317
|
+
$value: str.slice($mixin-str, $start, $end);
|
|
318
|
+
@include row-span(str.unquote($value));
|
|
319
|
+
} @else if str.index($mixin-str, 'col-start(') == 1 {
|
|
320
|
+
$start: str.index($mixin-str, '(') + 1;
|
|
321
|
+
$end: str.length($mixin-str) - 1;
|
|
322
|
+
$value: str.slice($mixin-str, $start, $end);
|
|
323
|
+
@include col-start(str.unquote($value));
|
|
324
|
+
} @else if str.index($mixin-str, 'col-end(') == 1 {
|
|
325
|
+
$start: str.index($mixin-str, '(') + 1;
|
|
326
|
+
$end: str.length($mixin-str) - 1;
|
|
327
|
+
$value: str.slice($mixin-str, $start, $end);
|
|
328
|
+
@include col-end(str.unquote($value));
|
|
329
|
+
} @else if str.index($mixin-str, 'row-start(') == 1 {
|
|
330
|
+
$start: str.index($mixin-str, '(') + 1;
|
|
331
|
+
$end: str.length($mixin-str) - 1;
|
|
332
|
+
$value: str.slice($mixin-str, $start, $end);
|
|
333
|
+
@include row-start(str.unquote($value));
|
|
334
|
+
} @else if str.index($mixin-str, 'row-end(') == 1 {
|
|
335
|
+
$start: str.index($mixin-str, '(') + 1;
|
|
336
|
+
$end: str.length($mixin-str) - 1;
|
|
337
|
+
$value: str.slice($mixin-str, $start, $end);
|
|
338
|
+
@include row-end(str.unquote($value));
|
|
339
|
+
} @else if str.index($mixin-str, 'generate-theme-colors(') == 1 {
|
|
340
|
+
$start: str.index($mixin-str, '(') + 1;
|
|
341
|
+
$end: str.length($mixin-str) - 1;
|
|
342
|
+
$value: str.slice($mixin-str, $start, $end);
|
|
343
|
+
@include generate-theme-colors(str.unquote($value));
|
|
344
|
+
} @else if str.index($mixin-str, 'generate-bounce-keyframes(') == 1 {
|
|
345
|
+
$start: str.index($mixin-str, '(') + 1;
|
|
346
|
+
$end: str.length($mixin-str) - 1;
|
|
347
|
+
$value: str.slice($mixin-str, $start, $end);
|
|
348
|
+
@include generate-bounce-keyframes(str.unquote($value));
|
|
349
|
+
} @else if str.index($mixin-str, 'animate-bounce(') == 1 {
|
|
350
|
+
$start: str.index($mixin-str, '(') + 1;
|
|
351
|
+
$end: str.length($mixin-str) - 1;
|
|
352
|
+
$value: str.slice($mixin-str, $start, $end);
|
|
353
|
+
@include animate-bounce(str.unquote($value));
|
|
354
|
+
} @else if str.index($mixin-str, 'border(') == 1 {
|
|
355
|
+
$start: str.index($mixin-str, '(') + 1;
|
|
356
|
+
$end: str.length($mixin-str) - 1;
|
|
357
|
+
$value: str.slice($mixin-str, $start, $end);
|
|
358
|
+
@include border(str.unquote($value));
|
|
359
|
+
} @else if str.index($mixin-str, 'rounded(') == 1 {
|
|
360
|
+
$start: str.index($mixin-str, '(') + 1;
|
|
361
|
+
$end: str.length($mixin-str) - 1;
|
|
362
|
+
$value: str.slice($mixin-str, $start, $end);
|
|
363
|
+
@include rounded(str.unquote($value));
|
|
364
|
+
} @else if str.index($mixin-str, 'adaptive-contrast(') == 1 {
|
|
365
|
+
$start: str.index($mixin-str, '(') + 1;
|
|
366
|
+
$end: str.length($mixin-str) - 1;
|
|
367
|
+
$value: str.slice($mixin-str, $start, $end);
|
|
368
|
+
@include adaptive-contrast(str.unquote($value));
|
|
369
|
+
} @else if str.index($mixin-str, 'backdrop-filter(') == 1 {
|
|
370
|
+
$start: str.index($mixin-str, '(') + 1;
|
|
371
|
+
$end: str.length($mixin-str) - 1;
|
|
372
|
+
$value: str.slice($mixin-str, $start, $end);
|
|
373
|
+
@include backdrop-filter(str.unquote($value));
|
|
374
|
+
} @else if str.index($mixin-str, 'filter(') == 1 {
|
|
375
|
+
$start: str.index($mixin-str, '(') + 1;
|
|
376
|
+
$end: str.length($mixin-str) - 1;
|
|
377
|
+
$value: str.slice($mixin-str, $start, $end);
|
|
378
|
+
@include filter(str.unquote($value));
|
|
379
|
+
} @else if str.index($mixin-str, 'media-up(') == 1 {
|
|
380
|
+
$start: str.index($mixin-str, '(') + 1;
|
|
381
|
+
$end: str.length($mixin-str) - 1;
|
|
382
|
+
$value: str.slice($mixin-str, $start, $end);
|
|
383
|
+
@include media-up(str.unquote($value));
|
|
384
|
+
} @else if str.index($mixin-str, 'media-down(') == 1 {
|
|
385
|
+
$start: str.index($mixin-str, '(') + 1;
|
|
386
|
+
$end: str.length($mixin-str) - 1;
|
|
387
|
+
$value: str.slice($mixin-str, $start, $end);
|
|
388
|
+
@include media-down(str.unquote($value));
|
|
389
|
+
} @else if str.index($mixin-str, 'media-between(') == 1 {
|
|
390
|
+
$start: str.index($mixin-str, '(') + 1;
|
|
391
|
+
$end: str.length($mixin-str) - 1;
|
|
392
|
+
$value: str.slice($mixin-str, $start, $end);
|
|
393
|
+
@include media-between(str.unquote($value));
|
|
394
|
+
} @else if str.index($mixin-str, 'media-only(') == 1 {
|
|
395
|
+
$start: str.index($mixin-str, '(') + 1;
|
|
396
|
+
$end: str.length($mixin-str) - 1;
|
|
397
|
+
$value: str.slice($mixin-str, $start, $end);
|
|
398
|
+
@include media-only(str.unquote($value));
|
|
399
|
+
} @else if str.index($mixin-str, 'container-query(') == 1 {
|
|
400
|
+
$start: str.index($mixin-str, '(') + 1;
|
|
401
|
+
$end: str.length($mixin-str) - 1;
|
|
402
|
+
$value: str.slice($mixin-str, $start, $end);
|
|
403
|
+
@include container-query(str.unquote($value));
|
|
404
|
+
} @else if str.index($mixin-str, 'supports(') == 1 {
|
|
405
|
+
$start: str.index($mixin-str, '(') + 1;
|
|
406
|
+
$end: str.length($mixin-str) - 1;
|
|
407
|
+
$value: str.slice($mixin-str, $start, $end);
|
|
408
|
+
@include supports(str.unquote($value));
|
|
409
|
+
} @else if str.index($mixin-str, 'aspect-ratio(') == 1 {
|
|
410
|
+
$start: str.index($mixin-str, '(') + 1;
|
|
411
|
+
$end: str.length($mixin-str) - 1;
|
|
412
|
+
$value: str.slice($mixin-str, $start, $end);
|
|
413
|
+
@include aspect-ratio(str.unquote($value));
|
|
414
|
+
} @else if str.index($mixin-str, 'safe-area-inset(') == 1 {
|
|
415
|
+
$start: str.index($mixin-str, '(') + 1;
|
|
416
|
+
$end: str.length($mixin-str) - 1;
|
|
417
|
+
$value: str.slice($mixin-str, $start, $end);
|
|
418
|
+
@include safe-area-inset(str.unquote($value));
|
|
419
|
+
} @else if str.index($mixin-str, 'top(') == 1 {
|
|
420
|
+
$start: str.index($mixin-str, '(') + 1;
|
|
421
|
+
$end: str.length($mixin-str) - 1;
|
|
422
|
+
$value: str.slice($mixin-str, $start, $end);
|
|
423
|
+
@include top(str.unquote($value));
|
|
424
|
+
} @else if str.index($mixin-str, 'right(') == 1 {
|
|
425
|
+
$start: str.index($mixin-str, '(') + 1;
|
|
426
|
+
$end: str.length($mixin-str) - 1;
|
|
427
|
+
$value: str.slice($mixin-str, $start, $end);
|
|
428
|
+
@include right(str.unquote($value));
|
|
429
|
+
} @else if str.index($mixin-str, 'bottom(') == 1 {
|
|
430
|
+
$start: str.index($mixin-str, '(') + 1;
|
|
431
|
+
$end: str.length($mixin-str) - 1;
|
|
432
|
+
$value: str.slice($mixin-str, $start, $end);
|
|
433
|
+
@include bottom(str.unquote($value));
|
|
434
|
+
} @else if str.index($mixin-str, 'left(') == 1 {
|
|
435
|
+
$start: str.index($mixin-str, '(') + 1;
|
|
436
|
+
$end: str.length($mixin-str) - 1;
|
|
437
|
+
$value: str.slice($mixin-str, $start, $end);
|
|
438
|
+
@include left(str.unquote($value));
|
|
439
|
+
} @else if str.index($mixin-str, 'shadow-base(') == 1 {
|
|
440
|
+
$start: str.index($mixin-str, '(') + 1;
|
|
441
|
+
$end: str.length($mixin-str) - 1;
|
|
442
|
+
$value: str.slice($mixin-str, $start, $end);
|
|
443
|
+
@include shadow-base(str.unquote($value));
|
|
444
|
+
} @else if str.index($mixin-str, 'shadow(') == 1 {
|
|
445
|
+
$start: str.index($mixin-str, '(') + 1;
|
|
446
|
+
$end: str.length($mixin-str) - 1;
|
|
447
|
+
$value: str.slice($mixin-str, $start, $end);
|
|
448
|
+
@include shadow(str.unquote($value));
|
|
449
|
+
} @else if str.index($mixin-str, 'shadow-inset(') == 1 {
|
|
450
|
+
$start: str.index($mixin-str, '(') + 1;
|
|
451
|
+
$end: str.length($mixin-str) - 1;
|
|
452
|
+
$value: str.slice($mixin-str, $start, $end);
|
|
453
|
+
@include shadow-inset(str.unquote($value));
|
|
454
|
+
} @else if str.index($mixin-str, 'width(') == 1 {
|
|
455
|
+
$start: str.index($mixin-str, '(') + 1;
|
|
456
|
+
$end: str.length($mixin-str) - 1;
|
|
457
|
+
$value: str.slice($mixin-str, $start, $end);
|
|
458
|
+
@include width(str.unquote($value));
|
|
459
|
+
} @else if str.index($mixin-str, 'height(') == 1 {
|
|
460
|
+
$start: str.index($mixin-str, '(') + 1;
|
|
461
|
+
$end: str.length($mixin-str) - 1;
|
|
462
|
+
$value: str.slice($mixin-str, $start, $end);
|
|
463
|
+
@include height(str.unquote($value));
|
|
464
|
+
} @else if str.index($mixin-str, 'min-width(') == 1 {
|
|
465
|
+
$start: str.index($mixin-str, '(') + 1;
|
|
466
|
+
$end: str.length($mixin-str) - 1;
|
|
467
|
+
$value: str.slice($mixin-str, $start, $end);
|
|
468
|
+
@include min-width(str.unquote($value));
|
|
469
|
+
} @else if str.index($mixin-str, 'min-height(') == 1 {
|
|
470
|
+
$start: str.index($mixin-str, '(') + 1;
|
|
471
|
+
$end: str.length($mixin-str) - 1;
|
|
472
|
+
$value: str.slice($mixin-str, $start, $end);
|
|
473
|
+
@include min-height(str.unquote($value));
|
|
474
|
+
} @else if str.index($mixin-str, 'max-width(') == 1 {
|
|
475
|
+
$start: str.index($mixin-str, '(') + 1;
|
|
476
|
+
$end: str.length($mixin-str) - 1;
|
|
477
|
+
$value: str.slice($mixin-str, $start, $end);
|
|
478
|
+
@include max-width(str.unquote($value));
|
|
479
|
+
} @else if str.index($mixin-str, 'max-height(') == 1 {
|
|
480
|
+
$start: str.index($mixin-str, '(') + 1;
|
|
481
|
+
$end: str.length($mixin-str) - 1;
|
|
482
|
+
$value: str.slice($mixin-str, $start, $end);
|
|
483
|
+
@include max-height(str.unquote($value));
|
|
484
|
+
} @else if str.index($mixin-str, 'width-percent(') == 1 {
|
|
485
|
+
$start: str.index($mixin-str, '(') + 1;
|
|
486
|
+
$end: str.length($mixin-str) - 1;
|
|
487
|
+
$value: str.slice($mixin-str, $start, $end);
|
|
488
|
+
@include width-percent(str.unquote($value));
|
|
489
|
+
} @else if str.index($mixin-str, 'height-percent(') == 1 {
|
|
490
|
+
$start: str.index($mixin-str, '(') + 1;
|
|
491
|
+
$end: str.length($mixin-str) - 1;
|
|
492
|
+
$value: str.slice($mixin-str, $start, $end);
|
|
493
|
+
@include height-percent(str.unquote($value));
|
|
494
|
+
} @else if str.index($mixin-str, 'min-width-percent(') == 1 {
|
|
495
|
+
$start: str.index($mixin-str, '(') + 1;
|
|
496
|
+
$end: str.length($mixin-str) - 1;
|
|
497
|
+
$value: str.slice($mixin-str, $start, $end);
|
|
498
|
+
@include min-width-percent(str.unquote($value));
|
|
499
|
+
} @else if str.index($mixin-str, 'min-height-percent(') == 1 {
|
|
500
|
+
$start: str.index($mixin-str, '(') + 1;
|
|
501
|
+
$end: str.length($mixin-str) - 1;
|
|
502
|
+
$value: str.slice($mixin-str, $start, $end);
|
|
503
|
+
@include min-height-percent(str.unquote($value));
|
|
504
|
+
} @else if str.index($mixin-str, 'max-width-percent(') == 1 {
|
|
505
|
+
$start: str.index($mixin-str, '(') + 1;
|
|
506
|
+
$end: str.length($mixin-str) - 1;
|
|
507
|
+
$value: str.slice($mixin-str, $start, $end);
|
|
508
|
+
@include max-width-percent(str.unquote($value));
|
|
509
|
+
} @else if str.index($mixin-str, 'max-height-percent(') == 1 {
|
|
510
|
+
$start: str.index($mixin-str, '(') + 1;
|
|
511
|
+
$end: str.length($mixin-str) - 1;
|
|
512
|
+
$value: str.slice($mixin-str, $start, $end);
|
|
513
|
+
@include max-height-percent(str.unquote($value));
|
|
514
|
+
} @else if str.index($mixin-str, 'p(') == 1 {
|
|
515
|
+
$start: str.index($mixin-str, '(') + 1;
|
|
516
|
+
$end: str.length($mixin-str) - 1;
|
|
517
|
+
$value: str.slice($mixin-str, $start, $end);
|
|
518
|
+
@include p(str.unquote($value));
|
|
519
|
+
} @else if str.index($mixin-str, 'px(') == 1 {
|
|
520
|
+
$start: str.index($mixin-str, '(') + 1;
|
|
521
|
+
$end: str.length($mixin-str) - 1;
|
|
522
|
+
$value: str.slice($mixin-str, $start, $end);
|
|
523
|
+
@include px(str.unquote($value));
|
|
524
|
+
} @else if str.index($mixin-str, 'py(') == 1 {
|
|
525
|
+
$start: str.index($mixin-str, '(') + 1;
|
|
526
|
+
$end: str.length($mixin-str) - 1;
|
|
527
|
+
$value: str.slice($mixin-str, $start, $end);
|
|
528
|
+
@include py(str.unquote($value));
|
|
529
|
+
} @else if str.index($mixin-str, 'pt(') == 1 {
|
|
530
|
+
$start: str.index($mixin-str, '(') + 1;
|
|
531
|
+
$end: str.length($mixin-str) - 1;
|
|
532
|
+
$value: str.slice($mixin-str, $start, $end);
|
|
533
|
+
@include pt(str.unquote($value));
|
|
534
|
+
} @else if str.index($mixin-str, 'pr(') == 1 {
|
|
535
|
+
$start: str.index($mixin-str, '(') + 1;
|
|
536
|
+
$end: str.length($mixin-str) - 1;
|
|
537
|
+
$value: str.slice($mixin-str, $start, $end);
|
|
538
|
+
@include pr(str.unquote($value));
|
|
539
|
+
} @else if str.index($mixin-str, 'pb(') == 1 {
|
|
540
|
+
$start: str.index($mixin-str, '(') + 1;
|
|
541
|
+
$end: str.length($mixin-str) - 1;
|
|
542
|
+
$value: str.slice($mixin-str, $start, $end);
|
|
543
|
+
@include pb(str.unquote($value));
|
|
544
|
+
} @else if str.index($mixin-str, 'pl(') == 1 {
|
|
545
|
+
$start: str.index($mixin-str, '(') + 1;
|
|
546
|
+
$end: str.length($mixin-str) - 1;
|
|
547
|
+
$value: str.slice($mixin-str, $start, $end);
|
|
548
|
+
@include pl(str.unquote($value));
|
|
549
|
+
} @else if str.index($mixin-str, 'm(') == 1 {
|
|
550
|
+
$start: str.index($mixin-str, '(') + 1;
|
|
551
|
+
$end: str.length($mixin-str) - 1;
|
|
552
|
+
$value: str.slice($mixin-str, $start, $end);
|
|
553
|
+
@include m(str.unquote($value));
|
|
554
|
+
} @else if str.index($mixin-str, 'mx(') == 1 {
|
|
555
|
+
$start: str.index($mixin-str, '(') + 1;
|
|
556
|
+
$end: str.length($mixin-str) - 1;
|
|
557
|
+
$value: str.slice($mixin-str, $start, $end);
|
|
558
|
+
@include mx(str.unquote($value));
|
|
559
|
+
} @else if str.index($mixin-str, 'my(') == 1 {
|
|
560
|
+
$start: str.index($mixin-str, '(') + 1;
|
|
561
|
+
$end: str.length($mixin-str) - 1;
|
|
562
|
+
$value: str.slice($mixin-str, $start, $end);
|
|
563
|
+
@include my(str.unquote($value));
|
|
564
|
+
} @else if str.index($mixin-str, 'mt(') == 1 {
|
|
565
|
+
$start: str.index($mixin-str, '(') + 1;
|
|
566
|
+
$end: str.length($mixin-str) - 1;
|
|
567
|
+
$value: str.slice($mixin-str, $start, $end);
|
|
568
|
+
@include mt(str.unquote($value));
|
|
569
|
+
} @else if str.index($mixin-str, 'mr(') == 1 {
|
|
570
|
+
$start: str.index($mixin-str, '(') + 1;
|
|
571
|
+
$end: str.length($mixin-str) - 1;
|
|
572
|
+
$value: str.slice($mixin-str, $start, $end);
|
|
573
|
+
@include mr(str.unquote($value));
|
|
574
|
+
} @else if str.index($mixin-str, 'mb(') == 1 {
|
|
575
|
+
$start: str.index($mixin-str, '(') + 1;
|
|
576
|
+
$end: str.length($mixin-str) - 1;
|
|
577
|
+
$value: str.slice($mixin-str, $start, $end);
|
|
578
|
+
@include mb(str.unquote($value));
|
|
579
|
+
} @else if str.index($mixin-str, 'ml(') == 1 {
|
|
580
|
+
$start: str.index($mixin-str, '(') + 1;
|
|
581
|
+
$end: str.length($mixin-str) - 1;
|
|
582
|
+
$value: str.slice($mixin-str, $start, $end);
|
|
583
|
+
@include ml(str.unquote($value));
|
|
584
|
+
} @else if str.index($mixin-str, 'space-y(') == 1 {
|
|
585
|
+
$start: str.index($mixin-str, '(') + 1;
|
|
586
|
+
$end: str.length($mixin-str) - 1;
|
|
587
|
+
$value: str.slice($mixin-str, $start, $end);
|
|
588
|
+
@include space-y(str.unquote($value));
|
|
589
|
+
} @else if str.index($mixin-str, 'space-x(') == 1 {
|
|
590
|
+
$start: str.index($mixin-str, '(') + 1;
|
|
591
|
+
$end: str.length($mixin-str) - 1;
|
|
592
|
+
$value: str.slice($mixin-str, $start, $end);
|
|
593
|
+
@include space-x(str.unquote($value));
|
|
594
|
+
} @else if str.index($mixin-str, 'gap(') == 1 {
|
|
595
|
+
$start: str.index($mixin-str, '(') + 1;
|
|
596
|
+
$end: str.length($mixin-str) - 1;
|
|
597
|
+
$value: str.slice($mixin-str, $start, $end);
|
|
598
|
+
@include gap(str.unquote($value));
|
|
599
|
+
} @else if str.index($mixin-str, 'gap-x(') == 1 {
|
|
600
|
+
$start: str.index($mixin-str, '(') + 1;
|
|
601
|
+
$end: str.length($mixin-str) - 1;
|
|
602
|
+
$value: str.slice($mixin-str, $start, $end);
|
|
603
|
+
@include gap-x(str.unquote($value));
|
|
604
|
+
} @else if str.index($mixin-str, 'gap-y(') == 1 {
|
|
605
|
+
$start: str.index($mixin-str, '(') + 1;
|
|
606
|
+
$end: str.length($mixin-str) - 1;
|
|
607
|
+
$value: str.slice($mixin-str, $start, $end);
|
|
608
|
+
@include gap-y(str.unquote($value));
|
|
609
|
+
}
|
|
610
|
+
}
|
|
611
|
+
} @else {
|
|
612
|
+
@if $mixin-str == 'container-base' {
|
|
613
|
+
@include container-base;
|
|
614
|
+
} @else if $mixin-str == 'container' {
|
|
615
|
+
@include container;
|
|
616
|
+
} @else if $mixin-str == 'container-flex' {
|
|
617
|
+
@include container-flex;
|
|
618
|
+
} @else if $mixin-str == 'container-grid' {
|
|
619
|
+
@include container-grid;
|
|
620
|
+
} @else if $mixin-str == 'flex' {
|
|
621
|
+
@include flex;
|
|
622
|
+
} @else if $mixin-str == 'flex-inline' {
|
|
623
|
+
@include flex-inline;
|
|
624
|
+
} @else if $mixin-str == 'row' {
|
|
625
|
+
@include row;
|
|
626
|
+
} @else if $mixin-str == 'row-reverse' {
|
|
627
|
+
@include row-reverse;
|
|
628
|
+
} @else if $mixin-str == 'col' {
|
|
629
|
+
@include col;
|
|
630
|
+
} @else if $mixin-str == 'col-reverse' {
|
|
631
|
+
@include col-reverse;
|
|
632
|
+
} @else if $mixin-str == 'wrap' {
|
|
633
|
+
@include wrap;
|
|
634
|
+
} @else if $mixin-str == 'nowrap' {
|
|
635
|
+
@include nowrap;
|
|
636
|
+
} @else if $mixin-str == 'wrap-reverse' {
|
|
637
|
+
@include wrap-reverse;
|
|
638
|
+
} @else if $mixin-str == 'start' {
|
|
639
|
+
@include start;
|
|
640
|
+
} @else if $mixin-str == 'end' {
|
|
641
|
+
@include end;
|
|
642
|
+
} @else if $mixin-str == 'center' {
|
|
643
|
+
@include center;
|
|
644
|
+
} @else if $mixin-str == 'between' {
|
|
645
|
+
@include between;
|
|
646
|
+
} @else if $mixin-str == 'around' {
|
|
647
|
+
@include around;
|
|
648
|
+
} @else if $mixin-str == 'evenly' {
|
|
649
|
+
@include evenly;
|
|
650
|
+
} @else if $mixin-str == 'align-start' {
|
|
651
|
+
@include align-start;
|
|
652
|
+
} @else if $mixin-str == 'align-end' {
|
|
653
|
+
@include align-end;
|
|
654
|
+
} @else if $mixin-str == 'align-center' {
|
|
655
|
+
@include align-center;
|
|
656
|
+
} @else if $mixin-str == 'align-stretch' {
|
|
657
|
+
@include align-stretch;
|
|
658
|
+
} @else if $mixin-str == 'align-baseline' {
|
|
659
|
+
@include align-baseline;
|
|
660
|
+
} @else if $mixin-str == 'self-auto' {
|
|
661
|
+
@include self-auto;
|
|
662
|
+
} @else if $mixin-str == 'self-start' {
|
|
663
|
+
@include self-start;
|
|
664
|
+
} @else if $mixin-str == 'self-end' {
|
|
665
|
+
@include self-end;
|
|
666
|
+
} @else if $mixin-str == 'self-center' {
|
|
667
|
+
@include self-center;
|
|
668
|
+
} @else if $mixin-str == 'self-stretch' {
|
|
669
|
+
@include self-stretch;
|
|
670
|
+
} @else if $mixin-str == 'shrink' {
|
|
671
|
+
@include shrink;
|
|
672
|
+
} @else if $mixin-str == 'shrink-0' {
|
|
673
|
+
@include shrink-0;
|
|
674
|
+
} @else if $mixin-str == 'shrink-2' {
|
|
675
|
+
@include shrink-2;
|
|
676
|
+
} @else if $mixin-str == 'f-w-full' {
|
|
677
|
+
@include f-w-full;
|
|
678
|
+
} @else if $mixin-str == 'f-w-auto' {
|
|
679
|
+
@include f-w-auto;
|
|
680
|
+
} @else if $mixin-str == 'grow' {
|
|
681
|
+
@include grow;
|
|
682
|
+
} @else if $mixin-str == 'no-grow' {
|
|
683
|
+
@include no-grow;
|
|
684
|
+
} @else if $mixin-str == 'grid' {
|
|
685
|
+
@include grid;
|
|
686
|
+
} @else if $mixin-str == 'grid-inline' {
|
|
687
|
+
@include grid-inline;
|
|
688
|
+
} @else if $mixin-str == 'grid-flow-row' {
|
|
689
|
+
@include grid-flow-row;
|
|
690
|
+
} @else if $mixin-str == 'grid-flow-col' {
|
|
691
|
+
@include grid-flow-col;
|
|
692
|
+
} @else if $mixin-str == 'grid-flow-dense' {
|
|
693
|
+
@include grid-flow-dense;
|
|
694
|
+
} @else if $mixin-str == 'd-none' {
|
|
695
|
+
@include d-none;
|
|
696
|
+
} @else if $mixin-str == 'd-block' {
|
|
697
|
+
@include d-block;
|
|
698
|
+
} @else if $mixin-str == 'd-inline' {
|
|
699
|
+
@include d-inline;
|
|
700
|
+
} @else if $mixin-str == 'd-inline-block' {
|
|
701
|
+
@include d-inline-block;
|
|
702
|
+
} @else if $mixin-str == 'd-tbl' {
|
|
703
|
+
@include d-tbl;
|
|
704
|
+
} @else if $mixin-str == 'd-tbl-row' {
|
|
705
|
+
@include d-tbl-row;
|
|
706
|
+
} @else if $mixin-str == 'd-tbl-cell' {
|
|
707
|
+
@include d-tbl-cell;
|
|
708
|
+
} @else if $mixin-str == 'touch' {
|
|
709
|
+
@include touch;
|
|
710
|
+
} @else if $mixin-str == 'print' {
|
|
711
|
+
@include print;
|
|
712
|
+
} @else if $mixin-str == 'dark-mode' {
|
|
713
|
+
@include dark-mode;
|
|
714
|
+
} @else if $mixin-str == 'landscape' {
|
|
715
|
+
@include landscape;
|
|
716
|
+
} @else if $mixin-str == 'portrait' {
|
|
717
|
+
@include portrait;
|
|
718
|
+
} @else if $mixin-str == 'dvh' {
|
|
719
|
+
@include dvh;
|
|
720
|
+
} @else if $mixin-str == 'reduced-motion' {
|
|
721
|
+
@include reduced-motion;
|
|
722
|
+
} @else if $mixin-str == 'high-contrast' {
|
|
723
|
+
@include high-contrast;
|
|
724
|
+
} @else if $mixin-str == 'static' {
|
|
725
|
+
@include static;
|
|
726
|
+
} @else if $mixin-str == 'relative' {
|
|
727
|
+
@include relative;
|
|
728
|
+
} @else if $mixin-str == 'absolute' {
|
|
729
|
+
@include absolute;
|
|
730
|
+
} @else if $mixin-str == 'fixed' {
|
|
731
|
+
@include fixed;
|
|
732
|
+
} @else if $mixin-str == 'sticky' {
|
|
733
|
+
@include sticky;
|
|
734
|
+
} @else if $mixin-str == 'w-auto' {
|
|
735
|
+
@include w-auto;
|
|
736
|
+
} @else if $mixin-str == 'w-full' {
|
|
737
|
+
@include w-full;
|
|
738
|
+
} @else if $mixin-str == 'h-auto' {
|
|
739
|
+
@include h-auto;
|
|
740
|
+
} @else if $mixin-str == 'h-full' {
|
|
741
|
+
@include h-full;
|
|
742
|
+
} @else if $mixin-str == 'min-w-full' {
|
|
743
|
+
@include min-w-full;
|
|
744
|
+
} @else if $mixin-str == 'max-w-full' {
|
|
745
|
+
@include max-w-full;
|
|
746
|
+
} @else if $mixin-str == 'min-h-full' {
|
|
747
|
+
@include min-h-full;
|
|
748
|
+
} @else if $mixin-str == 'max-h-full' {
|
|
749
|
+
@include max-h-full;
|
|
750
|
+
} @else if $mixin-str == 'ml-auto' {
|
|
751
|
+
@include ml-auto;
|
|
752
|
+
} @else if $mixin-str == 'mr-auto' {
|
|
753
|
+
@include mr-auto;
|
|
754
|
+
} @else if $mixin-str == 'mx-auto' {
|
|
755
|
+
@include mx-auto;
|
|
756
|
+
} @else if $mixin-str == 'text-xs' {
|
|
757
|
+
@include text-xs;
|
|
758
|
+
} @else if $mixin-str == 'text-sm' {
|
|
759
|
+
@include text-sm;
|
|
760
|
+
} @else if $mixin-str == 'text-md' {
|
|
761
|
+
@include text-md;
|
|
762
|
+
} @else if $mixin-str == 'text-lg' {
|
|
763
|
+
@include text-lg;
|
|
764
|
+
} @else if $mixin-str == 'text-xl' {
|
|
765
|
+
@include text-xl;
|
|
766
|
+
} @else if $mixin-str == 'text-2xl' {
|
|
767
|
+
@include text-2xl;
|
|
768
|
+
} @else if $mixin-str == 'text-3xl' {
|
|
769
|
+
@include text-3xl;
|
|
770
|
+
} @else if $mixin-str == 'text-4xl' {
|
|
771
|
+
@include text-4xl;
|
|
772
|
+
} @else if $mixin-str == 'font-thin' {
|
|
773
|
+
@include font-thin;
|
|
774
|
+
} @else if $mixin-str == 'font-extralight' {
|
|
775
|
+
@include font-extralight;
|
|
776
|
+
} @else if $mixin-str == 'font-light' {
|
|
777
|
+
@include font-light;
|
|
778
|
+
} @else if $mixin-str == 'font-normal' {
|
|
779
|
+
@include font-normal;
|
|
780
|
+
} @else if $mixin-str == 'font-medium' {
|
|
781
|
+
@include font-medium;
|
|
782
|
+
} @else if $mixin-str == 'font-semibold' {
|
|
783
|
+
@include font-semibold;
|
|
784
|
+
} @else if $mixin-str == 'font-bold' {
|
|
785
|
+
@include font-bold;
|
|
786
|
+
} @else if $mixin-str == 'font-extrabold' {
|
|
787
|
+
@include font-extrabold;
|
|
788
|
+
} @else if $mixin-str == 'font-black' {
|
|
789
|
+
@include font-black;
|
|
790
|
+
} @else if $mixin-str == 'leading-none' {
|
|
791
|
+
@include leading-none;
|
|
792
|
+
} @else if $mixin-str == 'leading-tight' {
|
|
793
|
+
@include leading-tight;
|
|
794
|
+
} @else if $mixin-str == 'leading-snug' {
|
|
795
|
+
@include leading-snug;
|
|
796
|
+
} @else if $mixin-str == 'leading-normal' {
|
|
797
|
+
@include leading-normal;
|
|
798
|
+
} @else if $mixin-str == 'leading-relaxed' {
|
|
799
|
+
@include leading-relaxed;
|
|
800
|
+
} @else if $mixin-str == 'leading-loose' {
|
|
801
|
+
@include leading-loose;
|
|
802
|
+
} @else if $mixin-str == 'text-left' {
|
|
803
|
+
@include text-left;
|
|
804
|
+
} @else if $mixin-str == 'text-center' {
|
|
805
|
+
@include text-center;
|
|
806
|
+
} @else if $mixin-str == 'text-right' {
|
|
807
|
+
@include text-right;
|
|
808
|
+
} @else if $mixin-str == 'text-justify' {
|
|
809
|
+
@include text-justify;
|
|
810
|
+
} @else if $mixin-str == 'uppercase' {
|
|
811
|
+
@include uppercase;
|
|
812
|
+
} @else if $mixin-str == 'lowercase' {
|
|
813
|
+
@include lowercase;
|
|
814
|
+
} @else if $mixin-str == 'capitalize' {
|
|
815
|
+
@include capitalize;
|
|
816
|
+
} @else if $mixin-str == 'normal-case' {
|
|
817
|
+
@include normal-case;
|
|
818
|
+
} @else if $mixin-str == 'italic' {
|
|
819
|
+
@include italic;
|
|
820
|
+
} @else if $mixin-str == 'not-italic' {
|
|
821
|
+
@include not-italic;
|
|
822
|
+
} @else if $mixin-str == 'underline' {
|
|
823
|
+
@include underline;
|
|
824
|
+
} @else if $mixin-str == 'line-through' {
|
|
825
|
+
@include line-through;
|
|
826
|
+
} @else if $mixin-str == 'no-underline' {
|
|
827
|
+
@include no-underline;
|
|
828
|
+
} @else if $mixin-str == 'truncate' {
|
|
829
|
+
@include truncate;
|
|
830
|
+
} @else if str.index($mixin-str, 'w-col(') == 1 {
|
|
831
|
+
$start: str.index($mixin-str, '(') + 1;
|
|
832
|
+
$end: str.length($mixin-str) - 1;
|
|
833
|
+
$value: str.slice($mixin-str, $start, $end);
|
|
834
|
+
@include w-col(str.unquote($value));
|
|
835
|
+
} @else if str.index($mixin-str, 'grid-cols(') == 1 {
|
|
836
|
+
$start: str.index($mixin-str, '(') + 1;
|
|
837
|
+
$end: str.length($mixin-str) - 1;
|
|
838
|
+
$value: str.slice($mixin-str, $start, $end);
|
|
839
|
+
@include grid-cols(str.unquote($value));
|
|
840
|
+
} @else if str.index($mixin-str, 'grid-rows(') == 1 {
|
|
841
|
+
$start: str.index($mixin-str, '(') + 1;
|
|
842
|
+
$end: str.length($mixin-str) - 1;
|
|
843
|
+
$value: str.slice($mixin-str, $start, $end);
|
|
844
|
+
@include grid-rows(str.unquote($value));
|
|
845
|
+
} @else if str.index($mixin-str, 'grid-auto-fit(') == 1 {
|
|
846
|
+
$start: str.index($mixin-str, '(') + 1;
|
|
847
|
+
$end: str.length($mixin-str) - 1;
|
|
848
|
+
$value: str.slice($mixin-str, $start, $end);
|
|
849
|
+
@include grid-auto-fit(str.unquote($value));
|
|
850
|
+
} @else if str.index($mixin-str, 'grid-auto-fill(') == 1 {
|
|
851
|
+
$start: str.index($mixin-str, '(') + 1;
|
|
852
|
+
$end: str.length($mixin-str) - 1;
|
|
853
|
+
$value: str.slice($mixin-str, $start, $end);
|
|
854
|
+
@include grid-auto-fill(str.unquote($value));
|
|
855
|
+
} @else if str.index($mixin-str, 'justify-items(') == 1 {
|
|
856
|
+
$start: str.index($mixin-str, '(') + 1;
|
|
857
|
+
$end: str.length($mixin-str) - 1;
|
|
858
|
+
$value: str.slice($mixin-str, $start, $end);
|
|
859
|
+
@include justify-items(str.unquote($value));
|
|
860
|
+
} @else if str.index($mixin-str, 'align-items(') == 1 {
|
|
861
|
+
$start: str.index($mixin-str, '(') + 1;
|
|
862
|
+
$end: str.length($mixin-str) - 1;
|
|
863
|
+
$value: str.slice($mixin-str, $start, $end);
|
|
864
|
+
@include align-items(str.unquote($value));
|
|
865
|
+
} @else if str.index($mixin-str, 'place-items(') == 1 {
|
|
866
|
+
$start: str.index($mixin-str, '(') + 1;
|
|
867
|
+
$end: str.length($mixin-str) - 1;
|
|
868
|
+
$value: str.slice($mixin-str, $start, $end);
|
|
869
|
+
@include place-items(str.unquote($value));
|
|
870
|
+
} @else if str.index($mixin-str, 'col-span(') == 1 {
|
|
871
|
+
$start: str.index($mixin-str, '(') + 1;
|
|
872
|
+
$end: str.length($mixin-str) - 1;
|
|
873
|
+
$value: str.slice($mixin-str, $start, $end);
|
|
874
|
+
@include col-span(str.unquote($value));
|
|
875
|
+
} @else if str.index($mixin-str, 'row-span(') == 1 {
|
|
876
|
+
$start: str.index($mixin-str, '(') + 1;
|
|
877
|
+
$end: str.length($mixin-str) - 1;
|
|
878
|
+
$value: str.slice($mixin-str, $start, $end);
|
|
879
|
+
@include row-span(str.unquote($value));
|
|
880
|
+
} @else if str.index($mixin-str, 'col-start(') == 1 {
|
|
881
|
+
$start: str.index($mixin-str, '(') + 1;
|
|
882
|
+
$end: str.length($mixin-str) - 1;
|
|
883
|
+
$value: str.slice($mixin-str, $start, $end);
|
|
884
|
+
@include col-start(str.unquote($value));
|
|
885
|
+
} @else if str.index($mixin-str, 'col-end(') == 1 {
|
|
886
|
+
$start: str.index($mixin-str, '(') + 1;
|
|
887
|
+
$end: str.length($mixin-str) - 1;
|
|
888
|
+
$value: str.slice($mixin-str, $start, $end);
|
|
889
|
+
@include col-end(str.unquote($value));
|
|
890
|
+
} @else if str.index($mixin-str, 'row-start(') == 1 {
|
|
891
|
+
$start: str.index($mixin-str, '(') + 1;
|
|
892
|
+
$end: str.length($mixin-str) - 1;
|
|
893
|
+
$value: str.slice($mixin-str, $start, $end);
|
|
894
|
+
@include row-start(str.unquote($value));
|
|
895
|
+
} @else if str.index($mixin-str, 'row-end(') == 1 {
|
|
896
|
+
$start: str.index($mixin-str, '(') + 1;
|
|
897
|
+
$end: str.length($mixin-str) - 1;
|
|
898
|
+
$value: str.slice($mixin-str, $start, $end);
|
|
899
|
+
@include row-end(str.unquote($value));
|
|
900
|
+
} @else if str.index($mixin-str, 'generate-theme-colors(') == 1 {
|
|
901
|
+
$start: str.index($mixin-str, '(') + 1;
|
|
902
|
+
$end: str.length($mixin-str) - 1;
|
|
903
|
+
$value: str.slice($mixin-str, $start, $end);
|
|
904
|
+
@include generate-theme-colors(str.unquote($value));
|
|
905
|
+
} @else if str.index($mixin-str, 'generate-bounce-keyframes(') == 1 {
|
|
906
|
+
$start: str.index($mixin-str, '(') + 1;
|
|
907
|
+
$end: str.length($mixin-str) - 1;
|
|
908
|
+
$value: str.slice($mixin-str, $start, $end);
|
|
909
|
+
@include generate-bounce-keyframes(str.unquote($value));
|
|
910
|
+
} @else if str.index($mixin-str, 'animate-bounce(') == 1 {
|
|
911
|
+
$start: str.index($mixin-str, '(') + 1;
|
|
912
|
+
$end: str.length($mixin-str) - 1;
|
|
913
|
+
$value: str.slice($mixin-str, $start, $end);
|
|
914
|
+
@include animate-bounce(str.unquote($value));
|
|
915
|
+
} @else if str.index($mixin-str, 'border(') == 1 {
|
|
916
|
+
$start: str.index($mixin-str, '(') + 1;
|
|
917
|
+
$end: str.length($mixin-str) - 1;
|
|
918
|
+
$value: str.slice($mixin-str, $start, $end);
|
|
919
|
+
@include border(str.unquote($value));
|
|
920
|
+
} @else if str.index($mixin-str, 'rounded(') == 1 {
|
|
921
|
+
$start: str.index($mixin-str, '(') + 1;
|
|
922
|
+
$end: str.length($mixin-str) - 1;
|
|
923
|
+
$value: str.slice($mixin-str, $start, $end);
|
|
924
|
+
@include rounded(str.unquote($value));
|
|
925
|
+
} @else if str.index($mixin-str, 'adaptive-contrast(') == 1 {
|
|
926
|
+
$start: str.index($mixin-str, '(') + 1;
|
|
927
|
+
$end: str.length($mixin-str) - 1;
|
|
928
|
+
$value: str.slice($mixin-str, $start, $end);
|
|
929
|
+
@include adaptive-contrast(str.unquote($value));
|
|
930
|
+
} @else if str.index($mixin-str, 'backdrop-filter(') == 1 {
|
|
931
|
+
$start: str.index($mixin-str, '(') + 1;
|
|
932
|
+
$end: str.length($mixin-str) - 1;
|
|
933
|
+
$value: str.slice($mixin-str, $start, $end);
|
|
934
|
+
@include backdrop-filter(str.unquote($value));
|
|
935
|
+
} @else if str.index($mixin-str, 'filter(') == 1 {
|
|
936
|
+
$start: str.index($mixin-str, '(') + 1;
|
|
937
|
+
$end: str.length($mixin-str) - 1;
|
|
938
|
+
$value: str.slice($mixin-str, $start, $end);
|
|
939
|
+
@include filter(str.unquote($value));
|
|
940
|
+
} @else if str.index($mixin-str, 'media-up(') == 1 {
|
|
941
|
+
$start: str.index($mixin-str, '(') + 1;
|
|
942
|
+
$end: str.length($mixin-str) - 1;
|
|
943
|
+
$value: str.slice($mixin-str, $start, $end);
|
|
944
|
+
@include media-up(str.unquote($value));
|
|
945
|
+
} @else if str.index($mixin-str, 'media-down(') == 1 {
|
|
946
|
+
$start: str.index($mixin-str, '(') + 1;
|
|
947
|
+
$end: str.length($mixin-str) - 1;
|
|
948
|
+
$value: str.slice($mixin-str, $start, $end);
|
|
949
|
+
@include media-down(str.unquote($value));
|
|
950
|
+
} @else if str.index($mixin-str, 'media-between(') == 1 {
|
|
951
|
+
$start: str.index($mixin-str, '(') + 1;
|
|
952
|
+
$end: str.length($mixin-str) - 1;
|
|
953
|
+
$value: str.slice($mixin-str, $start, $end);
|
|
954
|
+
@include media-between(str.unquote($value));
|
|
955
|
+
} @else if str.index($mixin-str, 'media-only(') == 1 {
|
|
956
|
+
$start: str.index($mixin-str, '(') + 1;
|
|
957
|
+
$end: str.length($mixin-str) - 1;
|
|
958
|
+
$value: str.slice($mixin-str, $start, $end);
|
|
959
|
+
@include media-only(str.unquote($value));
|
|
960
|
+
} @else if str.index($mixin-str, 'container-query(') == 1 {
|
|
961
|
+
$start: str.index($mixin-str, '(') + 1;
|
|
962
|
+
$end: str.length($mixin-str) - 1;
|
|
963
|
+
$value: str.slice($mixin-str, $start, $end);
|
|
964
|
+
@include container-query(str.unquote($value));
|
|
965
|
+
} @else if str.index($mixin-str, 'supports(') == 1 {
|
|
966
|
+
$start: str.index($mixin-str, '(') + 1;
|
|
967
|
+
$end: str.length($mixin-str) - 1;
|
|
968
|
+
$value: str.slice($mixin-str, $start, $end);
|
|
969
|
+
@include supports(str.unquote($value));
|
|
970
|
+
} @else if str.index($mixin-str, 'aspect-ratio(') == 1 {
|
|
971
|
+
$start: str.index($mixin-str, '(') + 1;
|
|
972
|
+
$end: str.length($mixin-str) - 1;
|
|
973
|
+
$value: str.slice($mixin-str, $start, $end);
|
|
974
|
+
@include aspect-ratio(str.unquote($value));
|
|
975
|
+
} @else if str.index($mixin-str, 'safe-area-inset(') == 1 {
|
|
976
|
+
$start: str.index($mixin-str, '(') + 1;
|
|
977
|
+
$end: str.length($mixin-str) - 1;
|
|
978
|
+
$value: str.slice($mixin-str, $start, $end);
|
|
979
|
+
@include safe-area-inset(str.unquote($value));
|
|
980
|
+
} @else if str.index($mixin-str, 'top(') == 1 {
|
|
981
|
+
$start: str.index($mixin-str, '(') + 1;
|
|
982
|
+
$end: str.length($mixin-str) - 1;
|
|
983
|
+
$value: str.slice($mixin-str, $start, $end);
|
|
984
|
+
@include top(str.unquote($value));
|
|
985
|
+
} @else if str.index($mixin-str, 'right(') == 1 {
|
|
986
|
+
$start: str.index($mixin-str, '(') + 1;
|
|
987
|
+
$end: str.length($mixin-str) - 1;
|
|
988
|
+
$value: str.slice($mixin-str, $start, $end);
|
|
989
|
+
@include right(str.unquote($value));
|
|
990
|
+
} @else if str.index($mixin-str, 'bottom(') == 1 {
|
|
991
|
+
$start: str.index($mixin-str, '(') + 1;
|
|
992
|
+
$end: str.length($mixin-str) - 1;
|
|
993
|
+
$value: str.slice($mixin-str, $start, $end);
|
|
994
|
+
@include bottom(str.unquote($value));
|
|
995
|
+
} @else if str.index($mixin-str, 'left(') == 1 {
|
|
996
|
+
$start: str.index($mixin-str, '(') + 1;
|
|
997
|
+
$end: str.length($mixin-str) - 1;
|
|
998
|
+
$value: str.slice($mixin-str, $start, $end);
|
|
999
|
+
@include left(str.unquote($value));
|
|
1000
|
+
} @else if str.index($mixin-str, 'shadow-base(') == 1 {
|
|
1001
|
+
$start: str.index($mixin-str, '(') + 1;
|
|
1002
|
+
$end: str.length($mixin-str) - 1;
|
|
1003
|
+
$value: str.slice($mixin-str, $start, $end);
|
|
1004
|
+
@include shadow-base(str.unquote($value));
|
|
1005
|
+
} @else if str.index($mixin-str, 'shadow(') == 1 {
|
|
1006
|
+
$start: str.index($mixin-str, '(') + 1;
|
|
1007
|
+
$end: str.length($mixin-str) - 1;
|
|
1008
|
+
$value: str.slice($mixin-str, $start, $end);
|
|
1009
|
+
@include shadow(str.unquote($value));
|
|
1010
|
+
} @else if str.index($mixin-str, 'shadow-inset(') == 1 {
|
|
1011
|
+
$start: str.index($mixin-str, '(') + 1;
|
|
1012
|
+
$end: str.length($mixin-str) - 1;
|
|
1013
|
+
$value: str.slice($mixin-str, $start, $end);
|
|
1014
|
+
@include shadow-inset(str.unquote($value));
|
|
1015
|
+
} @else if str.index($mixin-str, 'width(') == 1 {
|
|
1016
|
+
$start: str.index($mixin-str, '(') + 1;
|
|
1017
|
+
$end: str.length($mixin-str) - 1;
|
|
1018
|
+
$value: str.slice($mixin-str, $start, $end);
|
|
1019
|
+
@include width(str.unquote($value));
|
|
1020
|
+
} @else if str.index($mixin-str, 'height(') == 1 {
|
|
1021
|
+
$start: str.index($mixin-str, '(') + 1;
|
|
1022
|
+
$end: str.length($mixin-str) - 1;
|
|
1023
|
+
$value: str.slice($mixin-str, $start, $end);
|
|
1024
|
+
@include height(str.unquote($value));
|
|
1025
|
+
} @else if str.index($mixin-str, 'min-width(') == 1 {
|
|
1026
|
+
$start: str.index($mixin-str, '(') + 1;
|
|
1027
|
+
$end: str.length($mixin-str) - 1;
|
|
1028
|
+
$value: str.slice($mixin-str, $start, $end);
|
|
1029
|
+
@include min-width(str.unquote($value));
|
|
1030
|
+
} @else if str.index($mixin-str, 'min-height(') == 1 {
|
|
1031
|
+
$start: str.index($mixin-str, '(') + 1;
|
|
1032
|
+
$end: str.length($mixin-str) - 1;
|
|
1033
|
+
$value: str.slice($mixin-str, $start, $end);
|
|
1034
|
+
@include min-height(str.unquote($value));
|
|
1035
|
+
} @else if str.index($mixin-str, 'max-width(') == 1 {
|
|
1036
|
+
$start: str.index($mixin-str, '(') + 1;
|
|
1037
|
+
$end: str.length($mixin-str) - 1;
|
|
1038
|
+
$value: str.slice($mixin-str, $start, $end);
|
|
1039
|
+
@include max-width(str.unquote($value));
|
|
1040
|
+
} @else if str.index($mixin-str, 'max-height(') == 1 {
|
|
1041
|
+
$start: str.index($mixin-str, '(') + 1;
|
|
1042
|
+
$end: str.length($mixin-str) - 1;
|
|
1043
|
+
$value: str.slice($mixin-str, $start, $end);
|
|
1044
|
+
@include max-height(str.unquote($value));
|
|
1045
|
+
} @else if str.index($mixin-str, 'width-percent(') == 1 {
|
|
1046
|
+
$start: str.index($mixin-str, '(') + 1;
|
|
1047
|
+
$end: str.length($mixin-str) - 1;
|
|
1048
|
+
$value: str.slice($mixin-str, $start, $end);
|
|
1049
|
+
@include width-percent(str.unquote($value));
|
|
1050
|
+
} @else if str.index($mixin-str, 'height-percent(') == 1 {
|
|
1051
|
+
$start: str.index($mixin-str, '(') + 1;
|
|
1052
|
+
$end: str.length($mixin-str) - 1;
|
|
1053
|
+
$value: str.slice($mixin-str, $start, $end);
|
|
1054
|
+
@include height-percent(str.unquote($value));
|
|
1055
|
+
} @else if str.index($mixin-str, 'min-width-percent(') == 1 {
|
|
1056
|
+
$start: str.index($mixin-str, '(') + 1;
|
|
1057
|
+
$end: str.length($mixin-str) - 1;
|
|
1058
|
+
$value: str.slice($mixin-str, $start, $end);
|
|
1059
|
+
@include min-width-percent(str.unquote($value));
|
|
1060
|
+
} @else if str.index($mixin-str, 'min-height-percent(') == 1 {
|
|
1061
|
+
$start: str.index($mixin-str, '(') + 1;
|
|
1062
|
+
$end: str.length($mixin-str) - 1;
|
|
1063
|
+
$value: str.slice($mixin-str, $start, $end);
|
|
1064
|
+
@include min-height-percent(str.unquote($value));
|
|
1065
|
+
} @else if str.index($mixin-str, 'max-width-percent(') == 1 {
|
|
1066
|
+
$start: str.index($mixin-str, '(') + 1;
|
|
1067
|
+
$end: str.length($mixin-str) - 1;
|
|
1068
|
+
$value: str.slice($mixin-str, $start, $end);
|
|
1069
|
+
@include max-width-percent(str.unquote($value));
|
|
1070
|
+
} @else if str.index($mixin-str, 'max-height-percent(') == 1 {
|
|
1071
|
+
$start: str.index($mixin-str, '(') + 1;
|
|
1072
|
+
$end: str.length($mixin-str) - 1;
|
|
1073
|
+
$value: str.slice($mixin-str, $start, $end);
|
|
1074
|
+
@include max-height-percent(str.unquote($value));
|
|
1075
|
+
} @else if str.index($mixin-str, 'p(') == 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 p(str.unquote($value));
|
|
1080
|
+
} @else if str.index($mixin-str, 'px(') == 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 px(str.unquote($value));
|
|
1085
|
+
} @else if str.index($mixin-str, 'py(') == 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 py(str.unquote($value));
|
|
1090
|
+
} @else if str.index($mixin-str, 'pt(') == 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 pt(str.unquote($value));
|
|
1095
|
+
} @else if str.index($mixin-str, 'pr(') == 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 pr(str.unquote($value));
|
|
1100
|
+
} @else if str.index($mixin-str, 'pb(') == 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 pb(str.unquote($value));
|
|
1105
|
+
} @else if str.index($mixin-str, 'pl(') == 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 pl(str.unquote($value));
|
|
1110
|
+
} @else if str.index($mixin-str, 'm(') == 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 m(str.unquote($value));
|
|
1115
|
+
} @else if str.index($mixin-str, 'mx(') == 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 mx(str.unquote($value));
|
|
1120
|
+
} @else if str.index($mixin-str, 'my(') == 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 my(str.unquote($value));
|
|
1125
|
+
} @else if str.index($mixin-str, 'mt(') == 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 mt(str.unquote($value));
|
|
1130
|
+
} @else if str.index($mixin-str, 'mr(') == 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 mr(str.unquote($value));
|
|
1135
|
+
} @else if str.index($mixin-str, 'mb(') == 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 mb(str.unquote($value));
|
|
1140
|
+
} @else if str.index($mixin-str, 'ml(') == 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 ml(str.unquote($value));
|
|
1145
|
+
} @else if str.index($mixin-str, 'space-y(') == 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 space-y(str.unquote($value));
|
|
1150
|
+
} @else if str.index($mixin-str, 'space-x(') == 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 space-x(str.unquote($value));
|
|
1155
|
+
} @else if str.index($mixin-str, 'gap(') == 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 gap(str.unquote($value));
|
|
1160
|
+
} @else if str.index($mixin-str, 'gap-x(') == 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 gap-x(str.unquote($value));
|
|
1165
|
+
} @else if str.index($mixin-str, 'gap-y(') == 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 gap-y(str.unquote($value));
|
|
1170
|
+
} @else {
|
|
1171
|
+
@warn "Mixin '#{$mixin}' is not defined.";
|
|
1172
|
+
}
|
|
1173
|
+
}
|
|
1174
|
+
}
|
|
1175
|
+
}
|