@antebudimir/eslint-plugin-vanilla-extract 1.1.2 → 1.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +44 -7
- package/dist/css-rules/alphabetical-order/property-order-enforcer.js +1 -11
- package/dist/css-rules/alphabetical-order/rule-definition.js +2 -1
- package/dist/css-rules/concentric-order/property-order-enforcer.js +2 -2
- package/dist/css-rules/concentric-order/rule-definition.js +3 -1
- package/dist/css-rules/custom-order/rule-definition.js +1 -0
- package/dist/css-rules/shared-utils/alphabetical-property-comparator.d.ts +8 -0
- package/dist/css-rules/shared-utils/alphabetical-property-comparator.js +19 -0
- package/dist/css-rules/shared-utils/font-face-property-order-enforcer.d.ts +10 -0
- package/dist/css-rules/shared-utils/font-face-property-order-enforcer.js +39 -0
- package/dist/css-rules/shared-utils/font-face-style-processor.d.ts +10 -0
- package/dist/css-rules/shared-utils/font-face-style-processor.js +17 -0
- package/dist/css-rules/shared-utils/order-strategy-visitor-creator.js +22 -7
- package/dist/css-rules/theme-tokens/ast-helpers.d.ts +12 -0
- package/dist/css-rules/theme-tokens/ast-helpers.js +80 -0
- package/dist/css-rules/theme-tokens/index.d.ts +2 -0
- package/dist/css-rules/theme-tokens/index.js +2 -0
- package/dist/css-rules/theme-tokens/rule-definition.d.ts +3 -0
- package/dist/css-rules/theme-tokens/rule-definition.js +29 -0
- package/dist/css-rules/theme-tokens/theme-loader.d.ts +10 -0
- package/dist/css-rules/theme-tokens/theme-loader.js +71 -0
- package/dist/css-rules/theme-tokens/theme-token-visitor.d.ts +2 -0
- package/dist/css-rules/theme-tokens/theme-token-visitor.js +113 -0
- package/dist/css-rules/theme-tokens/theme-tokens-enforcer.d.ts +1 -0
- package/dist/css-rules/theme-tokens/theme-tokens-enforcer.js +1 -0
- package/dist/css-rules/theme-tokens/value-comparison.d.ts +1 -0
- package/dist/css-rules/theme-tokens/value-comparison.js +1 -0
- package/dist/index.js +1 -1
- package/package.json +4 -5
- package/dist/css-sample/sample.css.d.ts +0 -161
- package/dist/css-sample/sample.css.js +0 -551
|
@@ -1,551 +0,0 @@
|
|
|
1
|
-
import { fontFace, globalFontFace, globalKeyframes, globalStyle, keyframes, style, styleVariants, } from '@vanilla-extract/css';
|
|
2
|
-
import { recipe } from '@vanilla-extract/recipes';
|
|
3
|
-
globalStyle('*, ::before, ::after', {
|
|
4
|
-
// Comment to test that the linter doesn't remove it
|
|
5
|
-
margin: '0',
|
|
6
|
-
fontSize: 'large',
|
|
7
|
-
border: 'Background',
|
|
8
|
-
borderRight: 'ActiveBorder',
|
|
9
|
-
borderLeft: 'ActiveBorder',
|
|
10
|
-
borderRadius: 'initial',
|
|
11
|
-
borderBottomLeftRadius: 'initial',
|
|
12
|
-
borderBottomRightRadius: 'initial',
|
|
13
|
-
boxSizing: 'inherit',
|
|
14
|
-
position: 'relative',
|
|
15
|
-
right: 'inherit',
|
|
16
|
-
display: 'flex',
|
|
17
|
-
gap: 'revert',
|
|
18
|
-
transform: 'none',
|
|
19
|
-
outline: 'none',
|
|
20
|
-
backgroundColor: 'initial',
|
|
21
|
-
cursor: 'pointer',
|
|
22
|
-
color: 'red',
|
|
23
|
-
});
|
|
24
|
-
export const item = style({
|
|
25
|
-
margin: '0',
|
|
26
|
-
fontSize: 'large',
|
|
27
|
-
border: 'Background',
|
|
28
|
-
borderRight: 'ActiveBorder',
|
|
29
|
-
borderLeft: 'ActiveBorder',
|
|
30
|
-
borderRadius: 'initial',
|
|
31
|
-
borderBottomLeftRadius: 'initial',
|
|
32
|
-
borderBottomRightRadius: 'initial',
|
|
33
|
-
boxSizing: 'inherit',
|
|
34
|
-
position: 'relative',
|
|
35
|
-
right: 'inherit',
|
|
36
|
-
display: 'flex',
|
|
37
|
-
gap: 'revert',
|
|
38
|
-
transform: 'none',
|
|
39
|
-
outline: 'none',
|
|
40
|
-
backgroundColor: 'initial',
|
|
41
|
-
cursor: 'pointer',
|
|
42
|
-
color: 'red',
|
|
43
|
-
});
|
|
44
|
-
const triggerBase = style({
|
|
45
|
-
// Comment to test that the linter doesn't remove it
|
|
46
|
-
margin: '0',
|
|
47
|
-
fontSize: 'large',
|
|
48
|
-
border: 'Background',
|
|
49
|
-
borderRight: 'ActiveBorder',
|
|
50
|
-
borderLeft: 'ActiveBorder',
|
|
51
|
-
borderRadius: 'initial',
|
|
52
|
-
borderBottomLeftRadius: 'initial',
|
|
53
|
-
borderBottomRightRadius: 'initial',
|
|
54
|
-
boxSizing: 'inherit',
|
|
55
|
-
position: 'relative',
|
|
56
|
-
right: 'inherit',
|
|
57
|
-
display: 'flex',
|
|
58
|
-
gap: 'revert',
|
|
59
|
-
transform: 'none',
|
|
60
|
-
outline: 'none',
|
|
61
|
-
backgroundColor: 'initial',
|
|
62
|
-
cursor: 'pointer',
|
|
63
|
-
color: 'red',
|
|
64
|
-
// Comment to test that the linter doesn't remove it
|
|
65
|
-
':focus-visible': {
|
|
66
|
-
// Comment to test that the linter doesn't remove it
|
|
67
|
-
margin: '0',
|
|
68
|
-
fontSize: 'large',
|
|
69
|
-
border: 'Background',
|
|
70
|
-
borderRight: 'ActiveBorder',
|
|
71
|
-
borderLeft: 'ActiveBorder',
|
|
72
|
-
borderRadius: 'initial',
|
|
73
|
-
borderBottomLeftRadius: 'initial',
|
|
74
|
-
borderBottomRightRadius: 'initial',
|
|
75
|
-
boxShadow: 'none',
|
|
76
|
-
boxSizing: 'inherit',
|
|
77
|
-
position: 'relative',
|
|
78
|
-
right: 'inherit',
|
|
79
|
-
display: 'flex',
|
|
80
|
-
gap: 'revert',
|
|
81
|
-
transform: 'none',
|
|
82
|
-
outline: 'none',
|
|
83
|
-
backgroundColor: 'initial',
|
|
84
|
-
cursor: 'pointer',
|
|
85
|
-
color: 'red',
|
|
86
|
-
},
|
|
87
|
-
});
|
|
88
|
-
export const selectButtonVariants = styleVariants({
|
|
89
|
-
// Comment to test that the linter doesn't remove it
|
|
90
|
-
bordered: {
|
|
91
|
-
// Comment to test that the linter doesn't remove it
|
|
92
|
-
margin: '0',
|
|
93
|
-
fontSize: 'large',
|
|
94
|
-
border: 'Background',
|
|
95
|
-
borderRight: 'ActiveBorder',
|
|
96
|
-
borderLeft: 'ActiveBorder',
|
|
97
|
-
borderRadius: 'initial',
|
|
98
|
-
borderBottomLeftRadius: 'initial',
|
|
99
|
-
borderBottomRightRadius: 'initial',
|
|
100
|
-
boxSizing: 'inherit',
|
|
101
|
-
position: 'relative',
|
|
102
|
-
right: 'inherit',
|
|
103
|
-
display: 'flex',
|
|
104
|
-
gap: 'revert',
|
|
105
|
-
transform: 'none',
|
|
106
|
-
outline: 'none',
|
|
107
|
-
backgroundColor: 'initial',
|
|
108
|
-
cursor: 'pointer',
|
|
109
|
-
color: 'red',
|
|
110
|
-
},
|
|
111
|
-
borderless: {
|
|
112
|
-
margin: '0',
|
|
113
|
-
fontSize: 'large',
|
|
114
|
-
border: 'Background',
|
|
115
|
-
borderRight: 'ActiveBorder',
|
|
116
|
-
borderLeft: 'ActiveBorder',
|
|
117
|
-
borderRadius: 'initial',
|
|
118
|
-
borderBottomLeftRadius: 'initial',
|
|
119
|
-
borderBottomRightRadius: 'initial',
|
|
120
|
-
boxShadow: 'none',
|
|
121
|
-
boxSizing: 'inherit',
|
|
122
|
-
position: 'relative',
|
|
123
|
-
right: 'inherit',
|
|
124
|
-
display: 'flex',
|
|
125
|
-
gap: 'revert',
|
|
126
|
-
transform: 'none',
|
|
127
|
-
outline: 'none',
|
|
128
|
-
backgroundColor: 'initial',
|
|
129
|
-
cursor: 'pointer',
|
|
130
|
-
color: 'red',
|
|
131
|
-
},
|
|
132
|
-
});
|
|
133
|
-
export const trigger = recipe({
|
|
134
|
-
// Comment to test that the linter doesn't remove it
|
|
135
|
-
base: triggerBase,
|
|
136
|
-
// Comment to test that the linter doesn't remove it
|
|
137
|
-
variants: {
|
|
138
|
-
// Comment to test that the linter doesn't remove it
|
|
139
|
-
isOpen: {
|
|
140
|
-
false: {
|
|
141
|
-
margin: '0',
|
|
142
|
-
fontSize: 'large',
|
|
143
|
-
border: 'Background',
|
|
144
|
-
borderRight: 'ActiveBorder',
|
|
145
|
-
borderLeft: 'ActiveBorder',
|
|
146
|
-
borderRadius: 'initial',
|
|
147
|
-
borderBottomLeftRadius: 'initial',
|
|
148
|
-
borderBottomRightRadius: 'initial',
|
|
149
|
-
boxShadow: 'none',
|
|
150
|
-
boxSizing: 'inherit',
|
|
151
|
-
position: 'relative',
|
|
152
|
-
right: 'inherit',
|
|
153
|
-
display: 'flex',
|
|
154
|
-
gap: 'revert',
|
|
155
|
-
transform: 'none',
|
|
156
|
-
outline: 'none',
|
|
157
|
-
backgroundColor: 'initial',
|
|
158
|
-
cursor: 'pointer',
|
|
159
|
-
color: 'red',
|
|
160
|
-
// Comment to test that the linter doesn't remove it
|
|
161
|
-
':hover': {
|
|
162
|
-
margin: '0',
|
|
163
|
-
fontSize: 'large',
|
|
164
|
-
border: 'Background',
|
|
165
|
-
borderRight: 'ActiveBorder',
|
|
166
|
-
borderLeft: 'ActiveBorder',
|
|
167
|
-
borderRadius: 'initial',
|
|
168
|
-
borderBottomLeftRadius: 'initial',
|
|
169
|
-
borderBottomRightRadius: 'initial',
|
|
170
|
-
boxShadow: 'none',
|
|
171
|
-
boxSizing: 'inherit',
|
|
172
|
-
position: 'relative',
|
|
173
|
-
right: 'inherit',
|
|
174
|
-
display: 'flex',
|
|
175
|
-
gap: 'revert',
|
|
176
|
-
transform: 'none',
|
|
177
|
-
outline: 'none',
|
|
178
|
-
backgroundColor: 'initial',
|
|
179
|
-
cursor: 'pointer',
|
|
180
|
-
color: 'red',
|
|
181
|
-
},
|
|
182
|
-
},
|
|
183
|
-
// Comment to test that the linter doesn't remove it
|
|
184
|
-
true: {
|
|
185
|
-
// Comment to test that the linter doesn't remove it
|
|
186
|
-
margin: '0',
|
|
187
|
-
fontSize: 'large',
|
|
188
|
-
border: 'Background',
|
|
189
|
-
borderRight: 'ActiveBorder',
|
|
190
|
-
borderLeft: 'ActiveBorder',
|
|
191
|
-
borderRadius: 'initial',
|
|
192
|
-
borderBottomLeftRadius: 'initial',
|
|
193
|
-
borderBottomRightRadius: 'initial',
|
|
194
|
-
boxShadow: 'none',
|
|
195
|
-
boxSizing: 'inherit',
|
|
196
|
-
position: 'relative',
|
|
197
|
-
right: 'inherit',
|
|
198
|
-
display: 'flex',
|
|
199
|
-
gap: 'revert',
|
|
200
|
-
transform: 'none',
|
|
201
|
-
outline: 'none',
|
|
202
|
-
backgroundColor: 'initial',
|
|
203
|
-
cursor: 'pointer',
|
|
204
|
-
color: 'red',
|
|
205
|
-
// Comment to test that the linter doesn't remove it
|
|
206
|
-
':hover': {
|
|
207
|
-
// Comment to test that the linter doesn't remove it
|
|
208
|
-
margin: '0',
|
|
209
|
-
fontSize: 'large',
|
|
210
|
-
border: 'Background',
|
|
211
|
-
borderRight: 'ActiveBorder',
|
|
212
|
-
borderLeft: 'ActiveBorder',
|
|
213
|
-
borderRadius: 'initial',
|
|
214
|
-
borderBottomLeftRadius: 'initial',
|
|
215
|
-
borderBottomRightRadius: 'initial',
|
|
216
|
-
boxShadow: 'none',
|
|
217
|
-
boxSizing: 'inherit',
|
|
218
|
-
position: 'relative',
|
|
219
|
-
right: 'inherit',
|
|
220
|
-
display: 'flex',
|
|
221
|
-
gap: 'revert',
|
|
222
|
-
transform: 'none',
|
|
223
|
-
outline: 'none',
|
|
224
|
-
backgroundColor: 'initial',
|
|
225
|
-
cursor: 'pointer',
|
|
226
|
-
color: 'red',
|
|
227
|
-
},
|
|
228
|
-
},
|
|
229
|
-
},
|
|
230
|
-
},
|
|
231
|
-
});
|
|
232
|
-
const accordionContentBase = style([
|
|
233
|
-
// Comment to test that the linter doesn't remove it
|
|
234
|
-
{
|
|
235
|
-
// Comment to test that the linter doesn't remove it
|
|
236
|
-
margin: '0',
|
|
237
|
-
fontSize: 'large',
|
|
238
|
-
border: 'Background',
|
|
239
|
-
borderRight: 'ActiveBorder',
|
|
240
|
-
borderLeft: 'ActiveBorder',
|
|
241
|
-
borderRadius: 'initial',
|
|
242
|
-
borderBottomLeftRadius: 'initial',
|
|
243
|
-
borderBottomRightRadius: 'initial',
|
|
244
|
-
boxShadow: 'none',
|
|
245
|
-
boxSizing: 'inherit',
|
|
246
|
-
position: 'relative',
|
|
247
|
-
right: 'inherit',
|
|
248
|
-
display: 'flex',
|
|
249
|
-
gap: 'revert',
|
|
250
|
-
transform: 'none',
|
|
251
|
-
outline: 'none',
|
|
252
|
-
backgroundColor: 'initial',
|
|
253
|
-
cursor: 'pointer',
|
|
254
|
-
color: 'red',
|
|
255
|
-
// Comment to test that the linter doesn't remove it
|
|
256
|
-
'@supports': {
|
|
257
|
-
'(hanging-punctuation: first) and (font: -apple-system-body) and (-webkit-appearance: none)': {
|
|
258
|
-
// Comment to test that the linter doesn't remove it
|
|
259
|
-
margin: '0',
|
|
260
|
-
fontSize: 'large',
|
|
261
|
-
border: 'Background',
|
|
262
|
-
borderRight: 'ActiveBorder',
|
|
263
|
-
borderLeft: 'ActiveBorder',
|
|
264
|
-
borderRadius: 'initial',
|
|
265
|
-
borderBottomLeftRadius: 'initial',
|
|
266
|
-
borderBottomRightRadius: 'initial',
|
|
267
|
-
boxShadow: 'none',
|
|
268
|
-
boxSizing: 'inherit',
|
|
269
|
-
position: 'relative',
|
|
270
|
-
right: 'inherit',
|
|
271
|
-
display: 'flex',
|
|
272
|
-
gap: 'revert',
|
|
273
|
-
transform: 'none',
|
|
274
|
-
outline: 'none',
|
|
275
|
-
backgroundColor: 'initial',
|
|
276
|
-
cursor: 'pointer',
|
|
277
|
-
color: 'red',
|
|
278
|
-
},
|
|
279
|
-
},
|
|
280
|
-
},
|
|
281
|
-
]);
|
|
282
|
-
export const accordionContent = recipe({
|
|
283
|
-
// Comment to test that the linter doesn't remove it
|
|
284
|
-
base: accordionContentBase,
|
|
285
|
-
// Comment to test that the linter doesn't remove it
|
|
286
|
-
variants: {
|
|
287
|
-
// Comment to test that the linter doesn't remove it
|
|
288
|
-
isOpen: {
|
|
289
|
-
// Comment to test that the linter doesn't remove it
|
|
290
|
-
false: {
|
|
291
|
-
// Comment to test that the linter doesn't remove it
|
|
292
|
-
margin: '0',
|
|
293
|
-
fontSize: 'large',
|
|
294
|
-
border: 'Background',
|
|
295
|
-
borderRight: 'ActiveBorder',
|
|
296
|
-
borderLeft: 'ActiveBorder',
|
|
297
|
-
borderRadius: 'initial',
|
|
298
|
-
borderBottomLeftRadius: 'initial',
|
|
299
|
-
borderBottomRightRadius: 'initial',
|
|
300
|
-
boxShadow: 'none',
|
|
301
|
-
boxSizing: 'inherit',
|
|
302
|
-
position: 'relative',
|
|
303
|
-
right: 'inherit',
|
|
304
|
-
display: 'flex',
|
|
305
|
-
gap: 'revert',
|
|
306
|
-
transform: 'none',
|
|
307
|
-
outline: 'none',
|
|
308
|
-
backgroundColor: 'initial',
|
|
309
|
-
cursor: 'pointer',
|
|
310
|
-
color: 'red',
|
|
311
|
-
},
|
|
312
|
-
true: {
|
|
313
|
-
margin: '0',
|
|
314
|
-
fontSize: 'large',
|
|
315
|
-
border: 'Background',
|
|
316
|
-
borderRight: 'ActiveBorder',
|
|
317
|
-
borderLeft: 'ActiveBorder',
|
|
318
|
-
borderRadius: 'initial',
|
|
319
|
-
borderBottomLeftRadius: 'initial',
|
|
320
|
-
borderBottomRightRadius: 'initial',
|
|
321
|
-
boxShadow: 'none',
|
|
322
|
-
boxSizing: 'inherit',
|
|
323
|
-
position: 'relative',
|
|
324
|
-
right: 'inherit',
|
|
325
|
-
display: 'flex',
|
|
326
|
-
gap: 'revert',
|
|
327
|
-
transform: 'none',
|
|
328
|
-
outline: 'none',
|
|
329
|
-
backgroundColor: 'initial',
|
|
330
|
-
cursor: 'pointer',
|
|
331
|
-
color: 'red',
|
|
332
|
-
// Comment to test that the linter doesn't remove it
|
|
333
|
-
':focus-visible': {
|
|
334
|
-
// Comment to test that the linter doesn't remove it
|
|
335
|
-
margin: '0',
|
|
336
|
-
fontSize: 'large',
|
|
337
|
-
border: 'Background',
|
|
338
|
-
borderRight: 'ActiveBorder',
|
|
339
|
-
borderLeft: 'ActiveBorder',
|
|
340
|
-
borderRadius: 'initial',
|
|
341
|
-
borderBottomLeftRadius: 'initial',
|
|
342
|
-
borderBottomRightRadius: 'initial',
|
|
343
|
-
boxShadow: 'none',
|
|
344
|
-
boxSizing: 'inherit',
|
|
345
|
-
position: 'relative',
|
|
346
|
-
right: 'inherit',
|
|
347
|
-
display: 'flex',
|
|
348
|
-
gap: 'revert',
|
|
349
|
-
transform: 'none',
|
|
350
|
-
outline: 'none',
|
|
351
|
-
backgroundColor: 'initial',
|
|
352
|
-
cursor: 'pointer',
|
|
353
|
-
color: 'red',
|
|
354
|
-
},
|
|
355
|
-
},
|
|
356
|
-
},
|
|
357
|
-
},
|
|
358
|
-
});
|
|
359
|
-
export const clearAllFiltersButton = style({
|
|
360
|
-
margin: '0',
|
|
361
|
-
fontSize: 'large',
|
|
362
|
-
border: 'Background',
|
|
363
|
-
borderRight: 'ActiveBorder',
|
|
364
|
-
borderLeft: 'ActiveBorder',
|
|
365
|
-
borderRadius: 'initial',
|
|
366
|
-
borderBottomLeftRadius: 'initial',
|
|
367
|
-
borderBottomRightRadius: 'initial',
|
|
368
|
-
boxShadow: 'none',
|
|
369
|
-
boxSizing: 'inherit',
|
|
370
|
-
position: 'relative',
|
|
371
|
-
right: 'inherit',
|
|
372
|
-
display: 'flex',
|
|
373
|
-
gap: 'revert',
|
|
374
|
-
transform: 'none',
|
|
375
|
-
outline: 'none',
|
|
376
|
-
backgroundColor: 'initial',
|
|
377
|
-
cursor: 'pointer',
|
|
378
|
-
color: 'red',
|
|
379
|
-
':hover': {
|
|
380
|
-
margin: '0',
|
|
381
|
-
fontSize: 'large',
|
|
382
|
-
border: 'Background',
|
|
383
|
-
borderRight: 'ActiveBorder',
|
|
384
|
-
borderLeft: 'ActiveBorder',
|
|
385
|
-
borderRadius: 'initial',
|
|
386
|
-
borderBottomLeftRadius: 'initial',
|
|
387
|
-
borderBottomRightRadius: 'initial',
|
|
388
|
-
boxShadow: 'none',
|
|
389
|
-
boxSizing: 'inherit',
|
|
390
|
-
position: 'relative',
|
|
391
|
-
right: 'inherit',
|
|
392
|
-
display: 'flex',
|
|
393
|
-
gap: 'revert',
|
|
394
|
-
transform: 'none',
|
|
395
|
-
outline: 'none',
|
|
396
|
-
backgroundColor: 'initial',
|
|
397
|
-
cursor: 'pointer',
|
|
398
|
-
color: 'red',
|
|
399
|
-
},
|
|
400
|
-
selectors: {
|
|
401
|
-
// Comment to test that the linter doesn't remove it
|
|
402
|
-
'&[data-pressed]': {
|
|
403
|
-
// Comment to test that the linter doesn't remove it
|
|
404
|
-
margin: '0',
|
|
405
|
-
fontSize: 'large',
|
|
406
|
-
border: 'Background',
|
|
407
|
-
borderRight: 'ActiveBorder',
|
|
408
|
-
borderLeft: 'ActiveBorder',
|
|
409
|
-
borderRadius: 'initial',
|
|
410
|
-
borderBottomLeftRadius: 'initial',
|
|
411
|
-
borderBottomRightRadius: 'initial',
|
|
412
|
-
boxShadow: 'none',
|
|
413
|
-
boxSizing: 'inherit',
|
|
414
|
-
position: 'relative',
|
|
415
|
-
right: 'inherit',
|
|
416
|
-
display: 'flex',
|
|
417
|
-
gap: 'revert',
|
|
418
|
-
transform: 'none',
|
|
419
|
-
outline: 'none',
|
|
420
|
-
backgroundColor: 'initial',
|
|
421
|
-
cursor: 'pointer',
|
|
422
|
-
color: 'red',
|
|
423
|
-
},
|
|
424
|
-
},
|
|
425
|
-
});
|
|
426
|
-
export const theFont = fontFace({
|
|
427
|
-
// Comment to test that the linter doesn't remove it
|
|
428
|
-
src: ['url("/fonts/MyFont.woff2") format("woff2")', 'url("/fonts/MyFont.woff") format("woff")'],
|
|
429
|
-
fontWeight: '400 700',
|
|
430
|
-
fontStyle: 'normal',
|
|
431
|
-
fontStretch: 'normal',
|
|
432
|
-
fontDisplay: 'swap',
|
|
433
|
-
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',
|
|
434
|
-
ascentOverride: '90%',
|
|
435
|
-
descentOverride: '10%',
|
|
436
|
-
lineGapOverride: '10%',
|
|
437
|
-
sizeAdjust: '90%',
|
|
438
|
-
fontVariant: 'normal',
|
|
439
|
-
fontFeatureSettings: '"liga" 1',
|
|
440
|
-
fontVariationSettings: '"wght" 400',
|
|
441
|
-
});
|
|
442
|
-
globalFontFace('GlobalFont', {
|
|
443
|
-
// Comment to test that the linter doesn't remove it
|
|
444
|
-
src: ['url("/fonts/MyFont.woff2") format("woff2")', 'url("/fonts/MyFont.woff") format("woff")'],
|
|
445
|
-
fontWeight: '400 700',
|
|
446
|
-
fontStyle: 'normal',
|
|
447
|
-
fontStretch: 'normal',
|
|
448
|
-
fontDisplay: 'swap',
|
|
449
|
-
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',
|
|
450
|
-
ascentOverride: '90%',
|
|
451
|
-
descentOverride: '10%',
|
|
452
|
-
lineGapOverride: '10%',
|
|
453
|
-
sizeAdjust: '90%',
|
|
454
|
-
fontVariant: 'normal',
|
|
455
|
-
fontFeatureSettings: '"liga" 1',
|
|
456
|
-
fontVariationSettings: '"wght" 400',
|
|
457
|
-
});
|
|
458
|
-
export const starter = keyframes({
|
|
459
|
-
// Comment to test that the linter doesn't remove it
|
|
460
|
-
'0%': {
|
|
461
|
-
backgroundColor: 'initial',
|
|
462
|
-
border: 'Background',
|
|
463
|
-
borderBottomLeftRadius: 'initial',
|
|
464
|
-
borderBottomRightRadius: 'initial',
|
|
465
|
-
borderLeft: 'ActiveBorder',
|
|
466
|
-
borderRadius: 'initial',
|
|
467
|
-
borderRight: 'ActiveBorder',
|
|
468
|
-
boxShadow: 'none',
|
|
469
|
-
boxSizing: 'inherit',
|
|
470
|
-
color: 'red',
|
|
471
|
-
cursor: 'pointer',
|
|
472
|
-
display: 'flex',
|
|
473
|
-
fontSize: 'large',
|
|
474
|
-
gap: 'revert',
|
|
475
|
-
margin: '0',
|
|
476
|
-
outline: 'none',
|
|
477
|
-
position: 'relative',
|
|
478
|
-
right: 'inherit',
|
|
479
|
-
transform: 'none',
|
|
480
|
-
},
|
|
481
|
-
// Comment to test that the linter doesn't remove it
|
|
482
|
-
'100%': {
|
|
483
|
-
// Comment to test that the linter doesn't remove it
|
|
484
|
-
backgroundColor: 'initial',
|
|
485
|
-
border: 'Background',
|
|
486
|
-
borderBottomLeftRadius: 'initial',
|
|
487
|
-
borderBottomRightRadius: 'initial',
|
|
488
|
-
borderLeft: 'ActiveBorder',
|
|
489
|
-
borderRadius: 'initial',
|
|
490
|
-
borderRight: 'ActiveBorder',
|
|
491
|
-
boxShadow: 'none',
|
|
492
|
-
boxSizing: 'inherit',
|
|
493
|
-
color: 'red',
|
|
494
|
-
cursor: 'pointer',
|
|
495
|
-
display: 'flex',
|
|
496
|
-
fontSize: 'large',
|
|
497
|
-
gap: 'revert',
|
|
498
|
-
margin: '0',
|
|
499
|
-
outline: 'none',
|
|
500
|
-
position: 'relative',
|
|
501
|
-
right: 'inherit',
|
|
502
|
-
transform: 'none',
|
|
503
|
-
},
|
|
504
|
-
});
|
|
505
|
-
export const spinster = globalKeyframes('spin', {
|
|
506
|
-
// Comment to test that the linter doesn't remove it
|
|
507
|
-
from: {
|
|
508
|
-
backgroundColor: 'initial',
|
|
509
|
-
border: 'Background',
|
|
510
|
-
borderBottomLeftRadius: 'initial',
|
|
511
|
-
borderBottomRightRadius: 'initial',
|
|
512
|
-
borderLeft: 'ActiveBorder',
|
|
513
|
-
borderRadius: 'initial',
|
|
514
|
-
borderRight: 'ActiveBorder',
|
|
515
|
-
boxShadow: 'none',
|
|
516
|
-
boxSizing: 'inherit',
|
|
517
|
-
color: 'red',
|
|
518
|
-
cursor: 'pointer',
|
|
519
|
-
display: 'flex',
|
|
520
|
-
fontSize: 'large',
|
|
521
|
-
gap: 'revert',
|
|
522
|
-
margin: '0',
|
|
523
|
-
outline: 'none',
|
|
524
|
-
position: 'relative',
|
|
525
|
-
right: 'inherit',
|
|
526
|
-
transform: 'none',
|
|
527
|
-
},
|
|
528
|
-
// Comment to test that the linter doesn't remove it
|
|
529
|
-
to: {
|
|
530
|
-
// Comment to test that the linter doesn't remove it
|
|
531
|
-
backgroundColor: 'initial',
|
|
532
|
-
border: 'Background',
|
|
533
|
-
borderBottomLeftRadius: 'initial',
|
|
534
|
-
borderBottomRightRadius: 'initial',
|
|
535
|
-
borderLeft: 'ActiveBorder',
|
|
536
|
-
borderRadius: 'initial',
|
|
537
|
-
borderRight: 'ActiveBorder',
|
|
538
|
-
boxShadow: 'none',
|
|
539
|
-
boxSizing: 'inherit',
|
|
540
|
-
color: 'red',
|
|
541
|
-
cursor: 'pointer',
|
|
542
|
-
display: 'flex',
|
|
543
|
-
fontSize: 'large',
|
|
544
|
-
gap: 'revert',
|
|
545
|
-
margin: '0',
|
|
546
|
-
outline: 'none',
|
|
547
|
-
position: 'relative',
|
|
548
|
-
right: 'inherit',
|
|
549
|
-
transform: 'none',
|
|
550
|
-
},
|
|
551
|
-
});
|