@antebudimir/eslint-plugin-vanilla-extract 2.0.0 → 2.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,548 +0,0 @@
1
- import { fontFace, globalFontFace, globalKeyframes, globalStyle, keyframes, style, styleVariants, } from '@vanilla-extract/css';
2
- import { recipe } from '@vanilla-extract/recipes';
3
- // fontFaces
4
- export const theFont = fontFace({
5
- // Comment to test that the linter doesn't remove it
6
- src: ['url("/fonts/MyFont.woff2") format("woff2")', 'url("/fonts/MyFont.woff") format("woff")'],
7
- ascentOverride: '90%',
8
- descentOverride: '10%',
9
- fontDisplay: 'swap',
10
- fontFeatureSettings: '"liga" 1',
11
- fontStretch: 'normal',
12
- fontStyle: 'normal',
13
- fontVariationSettings: '"wght" 400',
14
- fontWeight: '400 700',
15
- lineGapOverride: '10%',
16
- sizeAdjust: '90%',
17
- unicodeRange: 'U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD',
18
- });
19
- globalFontFace('GlobalFont', {
20
- // Comment to test that the linter doesn't remove it
21
- src: ['url("/fonts/MyFont.woff2") format("woff2")', 'url("/fonts/MyFont.woff") format("woff")'],
22
- ascentOverride: '90%',
23
- descentOverride: '10%',
24
- fontDisplay: 'swap',
25
- fontFeatureSettings: '"liga" 1',
26
- fontStretch: 'normal',
27
- fontStyle: 'normal',
28
- fontVariationSettings: '"wght" 400',
29
- fontWeight: '400 700',
30
- lineGapOverride: '10%',
31
- sizeAdjust: '90%',
32
- unicodeRange: 'U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD',
33
- });
34
- // keyframes
35
- export const spinster = globalKeyframes('spin', {
36
- // Comment to test that the linter doesn't remove it
37
- from: {
38
- boxSizing: 'inherit',
39
- position: 'relative',
40
- right: 'inherit',
41
- display: 'flex',
42
- gap: 'revert',
43
- transform: 'none',
44
- margin: '11rem',
45
- outline: 'none',
46
- border: 'Background',
47
- borderRight: 'ActiveBorder',
48
- borderLeft: 'ActiveBorder',
49
- borderRadius: 'initial',
50
- borderBottomLeftRadius: 'initial',
51
- borderBottomRightRadius: 'initial',
52
- boxShadow: 'none',
53
- backgroundColor: 'initial',
54
- cursor: 'pointer',
55
- width: '100%',
56
- color: 'red',
57
- fontSize: 'large',
58
- },
59
- // Comment to test that the linter doesn't remove it
60
- to: {
61
- // Comment to test that the linter doesn't remove it
62
- boxSizing: 'inherit',
63
- position: 'relative',
64
- right: 'inherit',
65
- display: 'flex',
66
- gap: 'revert',
67
- transform: 'none',
68
- margin: '11rem',
69
- outline: 'none',
70
- border: 'Background',
71
- borderRight: 'ActiveBorder',
72
- borderLeft: 'ActiveBorder',
73
- borderRadius: 'initial',
74
- borderBottomLeftRadius: 'initial',
75
- borderBottomRightRadius: 'initial',
76
- boxShadow: 'none',
77
- backgroundColor: 'initial',
78
- cursor: 'pointer',
79
- width: '100%',
80
- color: 'red',
81
- fontSize: 'large',
82
- },
83
- });
84
- // used only as a class-name hook, not for its own properties
85
- export const buttonWrapper = style({});
86
- globalStyle(`${buttonWrapper} > svg`, {
87
- color: 'red',
88
- });
89
- export const starter = keyframes({
90
- // Comment to test that the linter doesn't remove it
91
- '0%': {
92
- boxSizing: 'inherit',
93
- position: 'relative',
94
- right: 'inherit',
95
- display: 'flex',
96
- gap: 'revert',
97
- transform: 'none',
98
- margin: '11rem',
99
- outline: 'none',
100
- border: 'Background',
101
- borderRight: 'ActiveBorder',
102
- borderLeft: 'ActiveBorder',
103
- borderRadius: 'initial',
104
- borderBottomLeftRadius: 'initial',
105
- borderBottomRightRadius: 'initial',
106
- boxShadow: 'none',
107
- backgroundColor: 'initial',
108
- cursor: 'pointer',
109
- width: '100%',
110
- color: 'red',
111
- fontSize: 'large',
112
- },
113
- // Comment to test that the linter doesn't remove it
114
- '100%': {
115
- // Comment to test that the linter doesn't remove it
116
- boxSizing: 'inherit',
117
- position: 'relative',
118
- right: 'inherit',
119
- display: 'flex',
120
- gap: 'revert',
121
- transform: 'none',
122
- margin: '11rem',
123
- outline: 'none',
124
- border: 'Background',
125
- borderRight: 'ActiveBorder',
126
- borderLeft: 'ActiveBorder',
127
- borderRadius: 'initial',
128
- borderBottomLeftRadius: 'initial',
129
- borderBottomRightRadius: 'initial',
130
- boxShadow: 'none',
131
- backgroundColor: 'initial',
132
- cursor: 'pointer',
133
- width: '100%',
134
- color: 'red',
135
- fontSize: 'large',
136
- },
137
- });
138
- globalStyle('*, ::before, ::after', {
139
- // Comment to test that the linter doesn't remove it
140
- boxSizing: 'inherit',
141
- position: 'relative',
142
- right: 'inherit',
143
- display: 'flex',
144
- gap: 'revert',
145
- transform: 'none',
146
- margin: '11rem',
147
- outline: 'none',
148
- border: 'Background',
149
- borderRight: 'ActiveBorder',
150
- borderLeft: 'ActiveBorder',
151
- borderRadius: 'initial',
152
- borderBottomLeftRadius: 'initial',
153
- borderBottomRightRadius: 'initial',
154
- backgroundColor: 'initial',
155
- cursor: 'pointer',
156
- width: '100%',
157
- color: 'red',
158
- fontSize: 'large',
159
- });
160
- // style with an array
161
- const accordionContentBase = style([
162
- // Comment to test that the linter doesn't remove it
163
- {
164
- // Comment to test that the linter doesn't remove it
165
- boxSizing: 'inherit',
166
- position: 'relative',
167
- right: 'inherit',
168
- display: 'flex',
169
- gap: 'revert',
170
- transform: 'none',
171
- margin: '11rem',
172
- outline: 'none',
173
- border: 'Background',
174
- borderRight: 'ActiveBorder',
175
- borderLeft: 'ActiveBorder',
176
- borderRadius: 'initial',
177
- borderBottomLeftRadius: 'initial',
178
- borderBottomRightRadius: 'initial',
179
- boxShadow: 'none',
180
- backgroundColor: 'initial',
181
- cursor: 'pointer',
182
- width: '100%',
183
- color: 'red',
184
- fontSize: 'large',
185
- // special selector to test that the linter doesn't remove it
186
- '@supports': {
187
- '(hanging-punctuation: first) and (font: -apple-system-body) and (-webkit-appearance: none)': {
188
- // Comment to test that the linter doesn't remove it
189
- boxSizing: 'inherit',
190
- position: 'relative',
191
- right: 'inherit',
192
- display: 'flex',
193
- gap: 'revert',
194
- transform: 'none',
195
- margin: '11rem',
196
- outline: 'none',
197
- border: 'Background',
198
- borderRight: 'ActiveBorder',
199
- borderLeft: 'ActiveBorder',
200
- borderRadius: 'initial',
201
- borderBottomLeftRadius: 'initial',
202
- borderBottomRightRadius: 'initial',
203
- boxShadow: 'none',
204
- backgroundColor: 'initial',
205
- cursor: 'pointer',
206
- width: '100%',
207
- color: 'red',
208
- fontSize: 'large',
209
- },
210
- },
211
- },
212
- ]);
213
- export const accordionContent = recipe({
214
- // Comment to test that the linter doesn't remove it
215
- base: accordionContentBase,
216
- // Comment to test that the linter doesn't remove it
217
- variants: {
218
- // Comment to test that the linter doesn't remove it
219
- isOpen: {
220
- // Comment to test that the linter doesn't remove it
221
- false: {
222
- // Comment to test that the linter doesn't remove it
223
- boxSizing: 'inherit',
224
- position: 'relative',
225
- right: 'inherit',
226
- display: 'flex',
227
- gap: 'revert',
228
- transform: 'none',
229
- margin: '11rem',
230
- outline: 'none',
231
- border: 'Background',
232
- borderRight: 'ActiveBorder',
233
- borderLeft: 'ActiveBorder',
234
- borderRadius: 'initial',
235
- borderBottomLeftRadius: 'initial',
236
- borderBottomRightRadius: 'initial',
237
- boxShadow: 'none',
238
- backgroundColor: 'initial',
239
- cursor: 'pointer',
240
- width: '100%',
241
- color: 'red',
242
- fontSize: 'large',
243
- },
244
- true: {
245
- boxSizing: 'inherit',
246
- position: 'relative',
247
- right: 'inherit',
248
- display: 'flex',
249
- gap: 'revert',
250
- transform: 'none',
251
- margin: '11rem',
252
- outline: 'none',
253
- border: 'Background',
254
- borderRight: 'ActiveBorder',
255
- borderLeft: 'ActiveBorder',
256
- borderRadius: 'initial',
257
- borderBottomLeftRadius: 'initial',
258
- borderBottomRightRadius: 'initial',
259
- boxShadow: 'none',
260
- backgroundColor: 'initial',
261
- cursor: 'pointer',
262
- width: '100%',
263
- color: 'red',
264
- fontSize: 'large',
265
- // pseudo selector inside a variant
266
- ':hover': {
267
- // Comment to test that the linter doesn't remove it
268
- boxSizing: 'inherit',
269
- position: 'relative',
270
- right: 'inherit',
271
- display: 'flex',
272
- gap: 'revert',
273
- transform: 'none',
274
- margin: '11rem',
275
- outline: 'none',
276
- border: 'Background',
277
- borderRight: 'ActiveBorder',
278
- borderLeft: 'ActiveBorder',
279
- borderRadius: 'initial',
280
- borderBottomLeftRadius: 'initial',
281
- borderBottomRightRadius: 'initial',
282
- boxShadow: 'none',
283
- backgroundColor: 'initial',
284
- cursor: 'pointer',
285
- width: '100%',
286
- color: 'red',
287
- fontSize: 'large',
288
- },
289
- },
290
- },
291
- },
292
- });
293
- export const item = style({
294
- boxSizing: 'inherit',
295
- position: 'relative',
296
- right: 'inherit',
297
- display: 'flex',
298
- gap: 'revert',
299
- transform: 'none',
300
- margin: '11rem',
301
- outline: 'none',
302
- border: 'Background',
303
- borderRight: 'ActiveBorder',
304
- borderLeft: 'ActiveBorder',
305
- borderRadius: 'initial',
306
- borderBottomLeftRadius: 'initial',
307
- borderBottomRightRadius: 'initial',
308
- backgroundColor: 'initial',
309
- cursor: 'pointer',
310
- width: '100%',
311
- color: 'red',
312
- fontSize: 'large',
313
- // pseudo selector inside a style
314
- ':focus-visible': {
315
- // Comment to test that the linter doesn't remove it
316
- boxSizing: 'inherit',
317
- position: 'relative',
318
- right: 'inherit',
319
- display: 'flex',
320
- gap: 'revert',
321
- transform: 'none',
322
- margin: '11rem',
323
- outline: 'none',
324
- border: 'Background',
325
- borderRight: 'ActiveBorder',
326
- borderLeft: 'ActiveBorder',
327
- borderRadius: 'initial',
328
- borderBottomLeftRadius: 'initial',
329
- borderBottomRightRadius: 'initial',
330
- boxShadow: 'none',
331
- backgroundColor: 'initial',
332
- cursor: 'pointer',
333
- width: '100%',
334
- color: 'red',
335
- fontSize: 'large',
336
- },
337
- selectors: {
338
- // Comment to test that the linter doesn't remove it
339
- '&[data-pressed]': {
340
- // Comment to test that the linter doesn't remove it
341
- boxSizing: 'inherit',
342
- position: 'relative',
343
- right: 'inherit',
344
- display: 'flex',
345
- gap: 'revert',
346
- transform: 'none',
347
- margin: '11rem',
348
- outline: 'none',
349
- border: 'Background',
350
- borderRight: 'ActiveBorder',
351
- borderLeft: 'ActiveBorder',
352
- borderRadius: 'initial',
353
- borderBottomLeftRadius: 'initial',
354
- borderBottomRightRadius: 'initial',
355
- boxShadow: 'none',
356
- backgroundColor: 'initial',
357
- cursor: 'pointer',
358
- width: '100%',
359
- color: 'red',
360
- fontSize: 'large',
361
- },
362
- },
363
- });
364
- export const selectButtonVariants = styleVariants({
365
- // Comment to test that the linter doesn't remove it
366
- bordered: {
367
- // Comment to test that the linter doesn't remove it
368
- boxSizing: 'inherit',
369
- position: 'relative',
370
- right: 'inherit',
371
- display: 'flex',
372
- gap: 'revert',
373
- transform: 'none',
374
- margin: '11rem',
375
- outline: 'none',
376
- border: 'Background',
377
- borderRight: 'ActiveBorder',
378
- borderLeft: 'ActiveBorder',
379
- borderRadius: 'initial',
380
- borderBottomLeftRadius: 'initial',
381
- borderBottomRightRadius: 'initial',
382
- backgroundColor: 'initial',
383
- cursor: 'pointer',
384
- width: '100%',
385
- color: 'red',
386
- fontSize: 'large',
387
- },
388
- borderless: {
389
- boxSizing: 'inherit',
390
- position: 'relative',
391
- right: 'inherit',
392
- display: 'flex',
393
- gap: 'revert',
394
- transform: 'none',
395
- margin: '11rem',
396
- outline: 'none',
397
- border: 'Background',
398
- borderRight: 'ActiveBorder',
399
- borderLeft: 'ActiveBorder',
400
- borderRadius: 'initial',
401
- borderBottomLeftRadius: 'initial',
402
- borderBottomRightRadius: 'initial',
403
- boxShadow: 'none',
404
- backgroundColor: 'initial',
405
- cursor: 'pointer',
406
- width: '100%',
407
- color: 'red',
408
- fontSize: 'large',
409
- },
410
- });
411
- // Test cases for noEmptyStyleBlocksRule
412
- // export const myRecipe = recipe({
413
- // base: {
414
- // color: 'blue',
415
- // selectors: {},
416
- // '@media': {},
417
- // '@supports': {},
418
- // },
419
- // variants: {
420
- // size: {
421
- // small: {
422
- // selectors: {
423
- // '&:hover': {},
424
- // },
425
- // '@media': {
426
- // '(min-width: 768px)': {},
427
- // },
428
- // '@supports': {
429
- // '(display: grid)': {},
430
- // },
431
- // },
432
- // },
433
- // },
434
- // });
435
- // const base = style({ padding: 12 });
436
- // export const variant = styleVariants({
437
- // primary: [],
438
- // secondary: [],
439
- // bordered: {},
440
- // borderless: {},
441
- // });
442
- // const baseStyles = {
443
- // color: 'blue',
444
- // margin: '10px',
445
- // };
446
- // const isDarkMode = false;
447
- // export const spreadStyle = style({
448
- // ...baseStyles,
449
- // ...{},
450
- // });
451
- // export const recipeWithNonObjectValue = recipe({
452
- // base: { color: 'black' },
453
- // variants: {
454
- // color: {
455
- // red: { color: 'red' },
456
- // // string instead of object
457
- // string: 'string',
458
- // // variable instead of object
459
- // variable: baseStyles,
460
- // },
461
- // },
462
- // });
463
- // export const conditionalStyle = style(isDarkMode ? {} : {});
464
- // export const recipeWithEmptyVariantValues = recipe({
465
- // base: { color: 'black' },
466
- // variants: {
467
- // color: {
468
- // blue: {},
469
- // red: {},
470
- // },
471
- // },
472
- // });
473
- // export const nestedEmptyStyle = style({
474
- // selectors: {
475
- // '&:hover': {},
476
- // '&:focus': {},
477
- // },
478
- // });
479
- // const myEmptyStyle = style({});
480
- // export { myEmptyStyle };
481
- // export const emptyStyle1 = style({});
482
- // export const emptyStyle2 = style({});
483
- // export const emptyVariants = styleVariants({});
484
- // export const emptyRecipe = recipe({});
485
- // export const styleWithComments = style({
486
- // /_This is an empty style_/
487
- // });
488
- // export const styleWithEmptyMedia = style({
489
- // color: 'blue',
490
- // });
491
- // export const styleWithEmptySelector = style({
492
- // color: 'blue',
493
- // selectors: {
494
- // '&:hover': {},
495
- // },
496
- // });
497
- // export const recipeWithBothEmpty = recipe({
498
- // base: {},
499
- // variants: {},
500
- // });
501
- // export const recipeWithEmptyVariants = recipe({
502
- // base: { color: 'black' },
503
- // variants: {},
504
- // });
505
- // export const recipeWithEmptyBase = recipe({
506
- // base: {},
507
- // variants: {
508
- // color: {
509
- // blue: { color: 'blue' },
510
- // },
511
- // },
512
- // });
513
- // export const recipe = recipe({
514
- // base: {},
515
- // variants: {
516
- // color: {
517
- // red: {},
518
- // blue: {},
519
- // },
520
- // },
521
- // });
522
- // export const recipeWithNonObjectVariants = recipe({
523
- // base: { color: 'blue' },
524
- // variants: {
525
- // color: {
526
- // size: 'string instead of object', // This is a string, not an object
527
- // red: {},
528
- // },
529
- // },
530
- // });
531
- // export const recipeWithEmptyVariantValue = recipe({
532
- // base: { color: 'black' },
533
- // variants: {
534
- // color: {
535
- // blue: {}, // Empty object is allowed - represents a reset/default variant
536
- // red: { color: 'red' },
537
- // },
538
- // },
539
- // });
540
- // Using the same empty object reference in both branches
541
- // export const myStyle = style(true ? {} : {});
542
- // export const emptyFontFace = fontFace({});
543
- // globalFontFace('GlobalFont', {});
544
- // globalKeyframes('a', {});
545
- // export const emptyKeyframes = keyframes({});
546
- // globalStyle('ul', {});
547
- // export const emptyStyleVariants = styleVariants({});
548
- // export const emptyStyle = style({});
@@ -1,4 +0,0 @@
1
- export declare const button: string;
2
- export declare const card: string;
3
- export declare const text: string;
4
- export declare const container: string;
@@ -1,45 +0,0 @@
1
- import { style } from '@vanilla-extract/css';
2
- // This file has hard-coded values that will trigger eslint errors
3
- // when the prefer-theme-tokens rule is enabled
4
- export const button = style({
5
- // ❌ Hard-coded color - should use theme.colors.text
6
- color: '#ffffff',
7
- // ❌ Hard-coded color - should use theme.colors.primary
8
- backgroundColor: '#3b82f6',
9
- // ❌ Hard-coded spacing - should use theme.spacing
10
- padding: '12px 24px',
11
- // ❌ Hard-coded font size - should use theme.fontSizes
12
- fontSize: '14px',
13
- // ❌ Hard-coded border radius - should use theme.radii
14
- borderRadius: '6px',
15
- // ❌ Hard-coded color in border
16
- border: '1px solid #e5e7eb',
17
- });
18
- export const card = style({
19
- // ❌ Multiple hard-coded colors
20
- backgroundColor: 'white',
21
- color: 'black',
22
- // ❌ Hard-coded spacing values
23
- padding: '16px',
24
- margin: '8px',
25
- gap: '12px',
26
- // ❌ Hard-coded border radius
27
- borderRadius: '8px',
28
- });
29
- export const text = style({
30
- // ❌ Hard-coded font sizes
31
- fontSize: '16px',
32
- lineHeight: '24px',
33
- // ❌ Hard-coded colors
34
- color: 'rgb(31, 41, 55)',
35
- });
36
- export const container = style({
37
- // ❌ Hard-coded spacing in multiple properties
38
- marginTop: '20px',
39
- paddingLeft: '16px',
40
- paddingRight: '16px',
41
- // ❌ Hard-coded width (though percentages are allowed)
42
- width: '300px',
43
- // ❌ Hard-coded color
44
- borderColor: '#e5e7eb',
45
- });
@@ -1,5 +0,0 @@
1
- export declare const button: string;
2
- export declare const card: string;
3
- export declare const text: string;
4
- export declare const container: string;
5
- export declare const allowedValues: string;
@@ -1,48 +0,0 @@
1
- import { style } from '@vanilla-extract/css';
2
- import { theme } from './demo-theme.css';
3
- // This file uses theme tokens - no eslint errors!
4
- export const button = style({
5
- // ✅ Using theme tokens for colors
6
- color: theme.colors.text,
7
- backgroundColor: theme.colors.primary,
8
- // ✅ Using theme tokens for spacing
9
- padding: `${theme.spacing.sm} ${theme.spacing.md}`,
10
- // ✅ Using theme tokens for font size
11
- fontSize: theme.fontSizes.sm,
12
- // ✅ Using theme tokens for border radius
13
- borderRadius: theme.radii.md,
14
- // ✅ Using theme tokens in border
15
- border: `1px solid ${theme.colors.border}`,
16
- });
17
- export const card = style({
18
- // ✅ All theme tokens
19
- backgroundColor: theme.colors.background,
20
- color: theme.colors.text,
21
- padding: theme.spacing.md,
22
- margin: theme.spacing.sm,
23
- gap: theme.spacing.sm,
24
- borderRadius: theme.radii.lg,
25
- });
26
- export const text = style({
27
- // ✅ Theme tokens for typography
28
- fontSize: theme.fontSizes.base,
29
- lineHeight: theme.fontSizes.lg,
30
- color: theme.colors.text,
31
- });
32
- export const container = style({
33
- // ✅ Theme tokens for spacing
34
- marginTop: theme.spacing.lg,
35
- paddingLeft: theme.spacing.md,
36
- paddingRight: theme.spacing.md,
37
- // ✅ Percentages are allowed by default
38
- width: '100%',
39
- // ✅ Theme token for color
40
- borderColor: theme.colors.border,
41
- });
42
- export const allowedValues = style({
43
- // ✅ These special values are allowed by default
44
- margin: '0', // Zero is allowed
45
- padding: 'auto', // Auto is allowed
46
- width: '100%', // Percentages are allowed
47
- height: 'inherit', // CSS keywords are allowed
48
- });
@@ -1,37 +0,0 @@
1
- export declare const themeClass: string, theme: {
2
- colors: {
3
- primary: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
4
- secondary: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
5
- background: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
6
- text: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
7
- error: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
8
- success: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
9
- warning: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
10
- hover: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
11
- border: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
12
- };
13
- spacing: {
14
- xs: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
15
- sm: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
16
- md: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
17
- lg: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
18
- xl: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
19
- '2xl': `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
20
- };
21
- fontSizes: {
22
- xs: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
23
- sm: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
24
- base: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
25
- lg: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
26
- xl: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
27
- '2xl': `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
28
- '3xl': `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
29
- };
30
- radii: {
31
- none: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
32
- sm: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
33
- md: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
34
- lg: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
35
- full: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
36
- };
37
- };