@master/css 2.0.0-rc.69 → 2.0.0-rc.70

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (200) hide show
  1. package/README.md +6 -8
  2. package/dist/index.d.ts +2 -40
  3. package/dist/index.mjs +1 -42
  4. package/package.json +1 -1
  5. package/src/base.css +1 -0
  6. package/src/index.css +1 -0
  7. package/src/theme.css +1 -0
  8. package/src/utilities.css +1 -0
  9. package/src/variants.css +1 -0
  10. package/dist/_virtual/_commonjsHelpers.cjs +0 -10
  11. package/dist/_virtual/_commonjsHelpers.mjs +0 -7
  12. package/dist/_virtual/css-escape.cjs +0 -5
  13. package/dist/_virtual/css-escape.mjs +0 -3
  14. package/dist/animation-rule.cjs +0 -24
  15. package/dist/animation-rule.d.ts +0 -11
  16. package/dist/animation-rule.mjs +0 -22
  17. package/dist/bin/index.cjs +0 -11
  18. package/dist/bin/index.d.ts +0 -1
  19. package/dist/bin/index.mjs +0 -9
  20. package/dist/common.cjs +0 -208
  21. package/dist/common.d.ts +0 -40
  22. package/dist/common.mjs +0 -180
  23. package/dist/config/animations.cjs +0 -113
  24. package/dist/config/animations.d.ts +0 -110
  25. package/dist/config/animations.mjs +0 -111
  26. package/dist/config/at.cjs +0 -19
  27. package/dist/config/at.d.ts +0 -16
  28. package/dist/config/at.mjs +0 -17
  29. package/dist/config/functions.cjs +0 -141
  30. package/dist/config/functions.d.ts +0 -138
  31. package/dist/config/functions.mjs +0 -139
  32. package/dist/config/index.cjs +0 -40
  33. package/dist/config/index.d.ts +0 -12
  34. package/dist/config/index.mjs +0 -29
  35. package/dist/config/modes.cjs +0 -312
  36. package/dist/config/modes.d.ts +0 -309
  37. package/dist/config/modes.mjs +0 -310
  38. package/dist/config/rules.cjs +0 -2277
  39. package/dist/config/rules.d.ts +0 -1485
  40. package/dist/config/rules.mjs +0 -2275
  41. package/dist/config/screens.cjs +0 -17
  42. package/dist/config/screens.d.ts +0 -14
  43. package/dist/config/screens.mjs +0 -15
  44. package/dist/config/selectors.cjs +0 -25
  45. package/dist/config/selectors.d.ts +0 -22
  46. package/dist/config/selectors.mjs +0 -23
  47. package/dist/config/utilities.cjs +0 -446
  48. package/dist/config/utilities.d.ts +0 -443
  49. package/dist/config/utilities.mjs +0 -444
  50. package/dist/config/variables.cjs +0 -99
  51. package/dist/config/variables.d.ts +0 -423
  52. package/dist/config/variables.mjs +0 -97
  53. package/dist/core.cjs +0 -674
  54. package/dist/core.d.ts +0 -128
  55. package/dist/core.mjs +0 -672
  56. package/dist/create.cjs +0 -10
  57. package/dist/create.d.ts +0 -3
  58. package/dist/create.mjs +0 -8
  59. package/dist/declarers/core.group.cjs +0 -99
  60. package/dist/declarers/core.group.d.ts +0 -2
  61. package/dist/declarers/core.group.mjs +0 -97
  62. package/dist/declarers/core.variable.cjs +0 -9
  63. package/dist/declarers/core.variable.d.ts +0 -4
  64. package/dist/declarers/core.variable.mjs +0 -7
  65. package/dist/declarers/index.cjs +0 -13
  66. package/dist/declarers/index.d.ts +0 -10
  67. package/dist/declarers/index.mjs +0 -11
  68. package/dist/declarers/pair.cjs +0 -12
  69. package/dist/declarers/pair.d.ts +0 -4
  70. package/dist/declarers/pair.mjs +0 -10
  71. package/dist/factories/with-syntax-layer.cjs +0 -83
  72. package/dist/factories/with-syntax-layer.d.ts +0 -26
  73. package/dist/factories/with-syntax-layer.mjs +0 -81
  74. package/dist/function-transformers/core.calc.cjs +0 -225
  75. package/dist/function-transformers/core.calc.d.ts +0 -2
  76. package/dist/function-transformers/core.calc.mjs +0 -223
  77. package/dist/function-transformers/core.variable.cjs +0 -23
  78. package/dist/function-transformers/core.variable.d.ts +0 -7
  79. package/dist/function-transformers/core.variable.mjs +0 -21
  80. package/dist/function-transformers/index.cjs +0 -11
  81. package/dist/function-transformers/index.d.ts +0 -8
  82. package/dist/function-transformers/index.mjs +0 -9
  83. package/dist/index.cjs +0 -118
  84. package/dist/layer.cjs +0 -52
  85. package/dist/layer.d.ts +0 -16
  86. package/dist/layer.mjs +0 -50
  87. package/dist/non-layer.cjs +0 -55
  88. package/dist/non-layer.d.ts +0 -12
  89. package/dist/non-layer.mjs +0 -53
  90. package/dist/polyfills/css-escape.cjs +0 -9
  91. package/dist/polyfills/css-escape.d.ts +0 -0
  92. package/dist/polyfills/css-escape.mjs +0 -7
  93. package/dist/polyfills/css-escape2.cjs +0 -76
  94. package/dist/polyfills/css-escape2.mjs +0 -74
  95. package/dist/register-global.cjs +0 -7
  96. package/dist/register-global.d.ts +0 -5
  97. package/dist/register-global.mjs +0 -5
  98. package/dist/rule.cjs +0 -16
  99. package/dist/rule.d.ts +0 -7
  100. package/dist/rule.mjs +0 -14
  101. package/dist/shared/utils/css-escape.cjs +0 -56
  102. package/dist/shared/utils/css-escape.mjs +0 -54
  103. package/dist/shared/utils/find-native-css-rule-index.cjs +0 -12
  104. package/dist/shared/utils/find-native-css-rule-index.mjs +0 -10
  105. package/dist/syntax-layer.cjs +0 -8
  106. package/dist/syntax-layer.d.ts +0 -18
  107. package/dist/syntax-layer.mjs +0 -6
  108. package/dist/syntax-rule-type.cjs +0 -27
  109. package/dist/syntax-rule-type.d.ts +0 -28
  110. package/dist/syntax-rule-type.mjs +0 -25
  111. package/dist/syntax-rule.cjs +0 -506
  112. package/dist/syntax-rule.d.ts +0 -44
  113. package/dist/syntax-rule.mjs +0 -504
  114. package/dist/transformers/auto-fill-solid.cjs +0 -31
  115. package/dist/transformers/auto-fill-solid.d.ts +0 -2
  116. package/dist/transformers/auto-fill-solid.mjs +0 -29
  117. package/dist/transformers/index.cjs +0 -9
  118. package/dist/transformers/index.d.ts +0 -6
  119. package/dist/transformers/index.mjs +0 -7
  120. package/dist/types/common.cjs +0 -2
  121. package/dist/types/common.d.ts +0 -1
  122. package/dist/types/common.mjs +0 -1
  123. package/dist/types/config.cjs +0 -2
  124. package/dist/types/config.d.ts +0 -79
  125. package/dist/types/config.mjs +0 -1
  126. package/dist/types/syntax.cjs +0 -2
  127. package/dist/types/syntax.d.ts +0 -89
  128. package/dist/types/syntax.mjs +0 -1
  129. package/dist/utils/compare-rule-priority.cjs +0 -143
  130. package/dist/utils/compare-rule-priority.d.ts +0 -7
  131. package/dist/utils/compare-rule-priority.mjs +0 -138
  132. package/dist/utils/equal-at-rules.cjs +0 -22
  133. package/dist/utils/equal-at-rules.d.ts +0 -2
  134. package/dist/utils/equal-at-rules.mjs +0 -20
  135. package/dist/utils/equal-declarations.cjs +0 -10
  136. package/dist/utils/equal-declarations.d.ts +0 -2
  137. package/dist/utils/equal-declarations.mjs +0 -8
  138. package/dist/utils/equal-selectors.cjs +0 -69
  139. package/dist/utils/equal-selectors.d.ts +0 -2
  140. package/dist/utils/equal-selectors.mjs +0 -67
  141. package/dist/utils/equal-variants.cjs +0 -10
  142. package/dist/utils/equal-variants.d.ts +0 -2
  143. package/dist/utils/equal-variants.mjs +0 -8
  144. package/dist/utils/extend-config.cjs +0 -97
  145. package/dist/utils/extend-config.d.ts +0 -11
  146. package/dist/utils/extend-config.mjs +0 -95
  147. package/dist/utils/flatten-meta-object.cjs +0 -38
  148. package/dist/utils/flatten-meta-object.d.ts +0 -13
  149. package/dist/utils/flatten-meta-object.mjs +0 -36
  150. package/dist/utils/flatten-object.cjs +0 -19
  151. package/dist/utils/flatten-object.d.ts +0 -1
  152. package/dist/utils/flatten-object.mjs +0 -17
  153. package/dist/utils/generate-at.cjs +0 -30
  154. package/dist/utils/generate-at.d.ts +0 -2
  155. package/dist/utils/generate-at.mjs +0 -28
  156. package/dist/utils/generate-css.cjs +0 -13
  157. package/dist/utils/generate-css.d.ts +0 -1
  158. package/dist/utils/generate-css.mjs +0 -11
  159. package/dist/utils/generate-selector.cjs +0 -50
  160. package/dist/utils/generate-selector.d.ts +0 -2
  161. package/dist/utils/generate-selector.mjs +0 -48
  162. package/dist/utils/get-single-at-number-rule-node.cjs +0 -9
  163. package/dist/utils/get-single-at-number-rule-node.d.ts +0 -2
  164. package/dist/utils/get-single-at-number-rule-node.mjs +0 -7
  165. package/dist/utils/hex-to-rgb.cjs +0 -30
  166. package/dist/utils/hex-to-rgb.d.ts +0 -1
  167. package/dist/utils/hex-to-rgb.mjs +0 -28
  168. package/dist/utils/is-core-rule.cjs +0 -9
  169. package/dist/utils/is-core-rule.d.ts +0 -1
  170. package/dist/utils/is-core-rule.mjs +0 -7
  171. package/dist/utils/minify-extended-config.cjs +0 -64
  172. package/dist/utils/minify-extended-config.d.ts +0 -9
  173. package/dist/utils/minify-extended-config.mjs +0 -62
  174. package/dist/utils/nest-meta-object.cjs +0 -25
  175. package/dist/utils/nest-meta-object.d.ts +0 -7
  176. package/dist/utils/nest-meta-object.mjs +0 -23
  177. package/dist/utils/parse-at.cjs +0 -156
  178. package/dist/utils/parse-at.d.ts +0 -39
  179. package/dist/utils/parse-at.mjs +0 -154
  180. package/dist/utils/parse-pair.cjs +0 -48
  181. package/dist/utils/parse-pair.d.ts +0 -8
  182. package/dist/utils/parse-pair.mjs +0 -46
  183. package/dist/utils/parse-selector.cjs +0 -114
  184. package/dist/utils/parse-selector.d.ts +0 -19
  185. package/dist/utils/parse-selector.mjs +0 -112
  186. package/dist/utils/parse-value.cjs +0 -39
  187. package/dist/utils/parse-value.d.ts +0 -2
  188. package/dist/utils/parse-value.mjs +0 -37
  189. package/dist/utils/replace-char-outside-quotes.cjs +0 -21
  190. package/dist/utils/replace-char-outside-quotes.d.ts +0 -1
  191. package/dist/utils/replace-char-outside-quotes.mjs +0 -19
  192. package/dist/utils/sort-readable-classes.cjs +0 -86
  193. package/dist/utils/sort-readable-classes.d.ts +0 -7
  194. package/dist/utils/sort-readable-classes.mjs +0 -84
  195. package/dist/utils/split-char-outside-quotes.cjs +0 -29
  196. package/dist/utils/split-char-outside-quotes.d.ts +0 -1
  197. package/dist/utils/split-char-outside-quotes.mjs +0 -27
  198. package/dist/variable-rule.cjs +0 -92
  199. package/dist/variable-rule.d.ts +0 -33
  200. package/dist/variable-rule.mjs +0 -87
@@ -1,2275 +0,0 @@
1
- import SyntaxRuleType from '../syntax-rule-type.mjs';
2
- import { BORDER_STYLE_VALUES } from '../common.mjs';
3
-
4
- const rules = {
5
- 'font-size': {
6
- aliasGroups: [
7
- 'font',
8
- 'f'
9
- ],
10
- kind: 'number',
11
- unit: 'rem',
12
- type: SyntaxRuleType.Native
13
- },
14
- 'font-weight': {
15
- aliasGroups: [
16
- 'font',
17
- 'f'
18
- ],
19
- values: [
20
- 'bolder'
21
- ],
22
- type: SyntaxRuleType.Native
23
- },
24
- 'font-family': {
25
- aliasGroups: [
26
- 'font',
27
- 'f'
28
- ],
29
- type: SyntaxRuleType.Native
30
- },
31
- 'font-smooth': {
32
- type: SyntaxRuleType.Native
33
- },
34
- 'font-style': {
35
- aliasGroups: [
36
- 'font',
37
- 'f'
38
- ],
39
- values: [
40
- 'normal',
41
- 'italic',
42
- 'oblique'
43
- ],
44
- type: SyntaxRuleType.Native,
45
- unit: 'deg'
46
- },
47
- 'font-variant-numeric': {
48
- aliasGroups: [
49
- 'font',
50
- 'f'
51
- ],
52
- values: [
53
- 'ordinal',
54
- 'slashed-zero',
55
- 'lining-nums',
56
- 'oldstyle-nums',
57
- 'proportional-nums',
58
- 'tabular-nums',
59
- 'diagonal-fractions',
60
- 'stacked-fractions'
61
- ],
62
- type: SyntaxRuleType.Native
63
- },
64
- 'font-variant': {
65
- aliasGroups: [
66
- 'font',
67
- 'f'
68
- ],
69
- type: SyntaxRuleType.NativeShorthand
70
- },
71
- font: {
72
- subkey: 'f',
73
- type: SyntaxRuleType.NativeShorthand,
74
- namespaces: [
75
- 'font-family',
76
- 'font-variant',
77
- 'font-weight',
78
- 'font-size',
79
- 'font-style'
80
- ]
81
- },
82
- 'font-feature-settings': {
83
- key: 'font-feature',
84
- type: SyntaxRuleType.Native
85
- },
86
- color: {
87
- key: 'fg',
88
- type: SyntaxRuleType.Native,
89
- namespaces: [
90
- 'color.text'
91
- ]
92
- },
93
- // margin
94
- 'margin-left': {
95
- key: 'ml',
96
- type: SyntaxRuleType.Native,
97
- unit: 'rem',
98
- namespaces: [
99
- 'spacing'
100
- ]
101
- },
102
- 'margin-right': {
103
- key: 'mr',
104
- type: SyntaxRuleType.Native,
105
- unit: 'rem',
106
- namespaces: [
107
- 'spacing'
108
- ]
109
- },
110
- 'margin-top': {
111
- key: 'mt',
112
- type: SyntaxRuleType.Native,
113
- unit: 'rem',
114
- namespaces: [
115
- 'spacing'
116
- ]
117
- },
118
- 'margin-bottom': {
119
- key: 'mb',
120
- type: SyntaxRuleType.Native,
121
- unit: 'rem',
122
- namespaces: [
123
- 'spacing'
124
- ]
125
- },
126
- 'margin-x': {
127
- key: 'mx',
128
- subkey: 'margin-x',
129
- unit: 'rem',
130
- type: SyntaxRuleType.Shorthand,
131
- declarations: [
132
- 'margin-left',
133
- 'margin-right'
134
- ],
135
- namespaces: [
136
- 'spacing'
137
- ]
138
- },
139
- 'margin-y': {
140
- key: 'my',
141
- unit: 'rem',
142
- type: SyntaxRuleType.Shorthand,
143
- declarations: [
144
- 'margin-top',
145
- 'margin-bottom'
146
- ],
147
- namespaces: [
148
- 'spacing'
149
- ]
150
- },
151
- margin: {
152
- key: 'm',
153
- unit: 'rem',
154
- type: SyntaxRuleType.NativeShorthand,
155
- namespaces: [
156
- 'spacing'
157
- ]
158
- },
159
- // margin inline
160
- 'margin-inline-start': {
161
- key: 'mis',
162
- type: SyntaxRuleType.Native,
163
- unit: 'rem',
164
- namespaces: [
165
- 'spacing'
166
- ]
167
- },
168
- 'margin-inline-end': {
169
- key: 'mie',
170
- type: SyntaxRuleType.Native,
171
- unit: 'rem',
172
- namespaces: [
173
- 'spacing'
174
- ]
175
- },
176
- 'margin-inline': {
177
- key: 'mi',
178
- unit: 'rem',
179
- type: SyntaxRuleType.NativeShorthand,
180
- namespaces: [
181
- 'spacing'
182
- ]
183
- },
184
- // padding
185
- 'padding-left': {
186
- key: 'pl',
187
- type: SyntaxRuleType.Native,
188
- unit: 'rem',
189
- namespaces: [
190
- 'spacing'
191
- ]
192
- },
193
- 'padding-right': {
194
- key: 'pr',
195
- type: SyntaxRuleType.Native,
196
- unit: 'rem',
197
- namespaces: [
198
- 'spacing'
199
- ]
200
- },
201
- 'padding-top': {
202
- key: 'pt',
203
- type: SyntaxRuleType.Native,
204
- unit: 'rem',
205
- namespaces: [
206
- 'spacing'
207
- ]
208
- },
209
- 'padding-bottom': {
210
- key: 'pb',
211
- type: SyntaxRuleType.Native,
212
- unit: 'rem',
213
- namespaces: [
214
- 'spacing'
215
- ]
216
- },
217
- 'padding-x': {
218
- key: 'px',
219
- unit: 'rem',
220
- type: SyntaxRuleType.Shorthand,
221
- declarations: [
222
- 'padding-left',
223
- 'padding-right'
224
- ],
225
- namespaces: [
226
- 'spacing'
227
- ]
228
- },
229
- 'padding-y': {
230
- key: 'py',
231
- unit: 'rem',
232
- type: SyntaxRuleType.Shorthand,
233
- declarations: [
234
- 'padding-top',
235
- 'padding-bottom'
236
- ],
237
- namespaces: [
238
- 'spacing'
239
- ]
240
- },
241
- padding: {
242
- key: 'p',
243
- unit: 'rem',
244
- type: SyntaxRuleType.NativeShorthand,
245
- namespaces: [
246
- 'spacing'
247
- ]
248
- },
249
- // padding inline
250
- 'padding-inline-start': {
251
- key: 'pis',
252
- type: SyntaxRuleType.Native,
253
- unit: 'rem',
254
- namespaces: [
255
- 'spacing'
256
- ]
257
- },
258
- 'padding-inline-end': {
259
- key: 'pie',
260
- type: SyntaxRuleType.Native,
261
- unit: 'rem',
262
- namespaces: [
263
- 'spacing'
264
- ]
265
- },
266
- 'padding-inline': {
267
- key: 'pi',
268
- unit: 'rem',
269
- type: SyntaxRuleType.NativeShorthand,
270
- namespaces: [
271
- 'spacing'
272
- ]
273
- },
274
- // flex
275
- 'flex-basis': {
276
- aliasGroups: [
277
- 'flex'
278
- ],
279
- unit: 'rem',
280
- type: SyntaxRuleType.Native
281
- },
282
- 'flex-wrap': {
283
- aliasGroups: [
284
- 'flex'
285
- ],
286
- values: [
287
- 'wrap',
288
- 'nowrap',
289
- 'wrap-reverse'
290
- ],
291
- type: SyntaxRuleType.Native
292
- },
293
- 'flex-grow': {
294
- aliasGroups: [
295
- 'flex'
296
- ],
297
- type: SyntaxRuleType.Native
298
- },
299
- 'flex-shrink': {
300
- aliasGroups: [
301
- 'flex'
302
- ],
303
- type: SyntaxRuleType.Native
304
- },
305
- 'flex-direction': {
306
- aliasGroups: [
307
- 'flex'
308
- ],
309
- values: [
310
- 'row',
311
- 'row-reverse',
312
- 'column',
313
- 'column-reverse'
314
- ],
315
- type: SyntaxRuleType.Native
316
- },
317
- flex: {
318
- type: SyntaxRuleType.NativeShorthand
319
- },
320
- display: {
321
- key: 'd',
322
- type: SyntaxRuleType.Native
323
- },
324
- width: {
325
- key: 'w',
326
- unit: 'rem',
327
- type: SyntaxRuleType.Native
328
- },
329
- height: {
330
- key: 'h',
331
- unit: 'rem',
332
- type: SyntaxRuleType.Native
333
- },
334
- 'min-width': {
335
- key: 'min-w',
336
- unit: 'rem',
337
- type: SyntaxRuleType.Native
338
- },
339
- 'min-height': {
340
- key: 'min-h',
341
- unit: 'rem',
342
- type: SyntaxRuleType.Native
343
- },
344
- size: {
345
- type: SyntaxRuleType.Shorthand,
346
- unit: 'rem',
347
- declarer: [
348
- 'pair',
349
- [
350
- 'width',
351
- 'height'
352
- ]
353
- ]
354
- },
355
- 'min-size': {
356
- key: 'min',
357
- type: SyntaxRuleType.Shorthand,
358
- unit: 'rem',
359
- declarer: [
360
- 'pair',
361
- [
362
- 'min-width',
363
- 'min-height'
364
- ]
365
- ]
366
- },
367
- 'max-size': {
368
- key: 'max',
369
- type: SyntaxRuleType.Shorthand,
370
- unit: 'rem',
371
- declarer: [
372
- 'pair',
373
- [
374
- 'max-width',
375
- 'max-height'
376
- ]
377
- ]
378
- },
379
- 'box-sizing': {
380
- aliasGroups: [
381
- 'box'
382
- ],
383
- type: SyntaxRuleType.Native
384
- },
385
- 'box-decoration-break': {
386
- key: 'box-decoration',
387
- type: SyntaxRuleType.Native,
388
- declarations: [
389
- '-webkit-box-decoration-break',
390
- 'box-decoration-break'
391
- ]
392
- },
393
- container: {
394
- type: SyntaxRuleType.NativeShorthand
395
- },
396
- 'container-name': {
397
- type: SyntaxRuleType.Native
398
- },
399
- 'container-type': {
400
- type: SyntaxRuleType.Native,
401
- aliasGroups: [
402
- 'container'
403
- ],
404
- values: [
405
- 'size',
406
- 'inline-size',
407
- 'scroll-state'
408
- ]
409
- },
410
- contain: {
411
- type: SyntaxRuleType.Native
412
- },
413
- content: {
414
- type: SyntaxRuleType.Native
415
- },
416
- 'counter-increment': {
417
- type: SyntaxRuleType.Native
418
- },
419
- 'counter-reset': {
420
- type: SyntaxRuleType.Native
421
- },
422
- 'letter-spacing': {
423
- key: 'tracking',
424
- subkey: 'ls',
425
- type: SyntaxRuleType.Native,
426
- unit: 'em'
427
- },
428
- 'line-height': {
429
- key: 'leading',
430
- subkey: 'line-h',
431
- type: SyntaxRuleType.Native
432
- },
433
- 'object-fit': {
434
- aliasGroups: [
435
- 'object',
436
- 'obj'
437
- ],
438
- values: [
439
- 'contain',
440
- 'cover',
441
- 'fill',
442
- 'scale-down'
443
- ],
444
- type: SyntaxRuleType.Native
445
- },
446
- 'object-position': {
447
- aliasGroups: [
448
- 'object',
449
- 'obj'
450
- ],
451
- values: [
452
- 'top',
453
- 'bottom',
454
- 'right',
455
- 'left',
456
- 'center'
457
- ],
458
- type: SyntaxRuleType.Native
459
- },
460
- 'text-align': {
461
- aliasGroups: [
462
- 'text',
463
- 't'
464
- ],
465
- values: [
466
- 'justify',
467
- 'center',
468
- 'left',
469
- 'right',
470
- 'start',
471
- 'end'
472
- ],
473
- type: SyntaxRuleType.Native
474
- },
475
- 'text-decoration-color': {
476
- aliasGroups: [
477
- 'text-decoration'
478
- ],
479
- kind: 'color',
480
- type: SyntaxRuleType.Native,
481
- namespaces: [
482
- 'color',
483
- 'color.text'
484
- ]
485
- },
486
- 'text-decoration-style': {
487
- aliasGroups: [
488
- 'text-decoration'
489
- ],
490
- values: [
491
- 'solid',
492
- 'double',
493
- 'dotted',
494
- 'dashed',
495
- 'wavy'
496
- ],
497
- type: SyntaxRuleType.Native
498
- },
499
- 'text-decoration-thickness': {
500
- aliasGroups: [
501
- 'text-decoration'
502
- ],
503
- values: [
504
- 'from-font'
505
- ],
506
- kind: 'number',
507
- type: SyntaxRuleType.Native,
508
- unit: 'em'
509
- },
510
- 'text-decoration-line': {
511
- aliasGroups: [
512
- 'text-decoration'
513
- ],
514
- values: [
515
- 'underline',
516
- 'overline',
517
- 'line-through'
518
- ],
519
- type: SyntaxRuleType.Native
520
- },
521
- 'text-decoration': {
522
- aliasGroups: [
523
- 'text',
524
- 't'
525
- ],
526
- values: [
527
- 'underline',
528
- 'overline',
529
- 'line-through'
530
- ],
531
- unit: 'rem',
532
- type: SyntaxRuleType.NativeShorthand,
533
- namespaces: [
534
- 'color',
535
- 'color.text'
536
- ],
537
- declarations: [
538
- '-webkit-text-decoration',
539
- 'text-decoration'
540
- ]
541
- },
542
- 'text-underline-offset': {
543
- aliasGroups: [
544
- 'text-underline'
545
- ],
546
- unit: 'rem',
547
- type: SyntaxRuleType.Native,
548
- namespaces: [
549
- 'spacing'
550
- ]
551
- },
552
- 'text-underline-position': {
553
- aliasGroups: [
554
- 'text-underline'
555
- ],
556
- values: [
557
- 'front-font',
558
- 'under',
559
- 'left',
560
- 'right'
561
- ],
562
- type: SyntaxRuleType.Native
563
- },
564
- 'text-overflow': {
565
- aliasGroups: [
566
- 'text',
567
- 't'
568
- ],
569
- values: [
570
- 'ellipsis',
571
- 'clip'
572
- ],
573
- type: SyntaxRuleType.Native
574
- },
575
- 'text-orientation': {
576
- aliasGroups: [
577
- 'text',
578
- 't'
579
- ],
580
- values: [
581
- 'mixed',
582
- 'upright',
583
- 'sideways-right',
584
- 'sideways',
585
- 'use-glyph-orientation'
586
- ],
587
- type: SyntaxRuleType.Native
588
- },
589
- 'text-transform': {
590
- aliasGroups: [
591
- 'text',
592
- 't'
593
- ],
594
- values: [
595
- 'uppercase',
596
- 'lowercase',
597
- 'capitalize'
598
- ],
599
- type: SyntaxRuleType.Native
600
- },
601
- 'text-rendering': {
602
- aliasGroups: [
603
- 'text',
604
- 't'
605
- ],
606
- values: [
607
- 'optimizeSpeed',
608
- 'optimizeLegibility',
609
- 'geometricPrecision'
610
- ],
611
- type: SyntaxRuleType.Native
612
- },
613
- 'text-wrap': {
614
- aliasGroups: [
615
- 'text',
616
- 't'
617
- ],
618
- values: [
619
- 'wrap',
620
- 'nowrap',
621
- 'balance',
622
- 'pretty'
623
- ],
624
- type: SyntaxRuleType.NativeShorthand
625
- },
626
- 'text-indent': {
627
- unit: 'rem',
628
- type: SyntaxRuleType.Native
629
- },
630
- 'vertical-align': {
631
- key: 'v',
632
- subkey: 'vertical',
633
- type: SyntaxRuleType.Native
634
- },
635
- columns: {
636
- key: 'cols',
637
- type: SyntaxRuleType.NativeShorthand
638
- },
639
- 'overflow-wrap': {
640
- type: SyntaxRuleType.Native
641
- },
642
- 'white-space': {
643
- type: SyntaxRuleType.Native
644
- },
645
- top: {
646
- type: SyntaxRuleType.Native,
647
- unit: 'rem',
648
- namespaces: [
649
- 'spacing'
650
- ]
651
- },
652
- bottom: {
653
- type: SyntaxRuleType.Native,
654
- unit: 'rem',
655
- namespaces: [
656
- 'spacing'
657
- ]
658
- },
659
- left: {
660
- type: SyntaxRuleType.Native,
661
- unit: 'rem',
662
- namespaces: [
663
- 'spacing'
664
- ]
665
- },
666
- right: {
667
- type: SyntaxRuleType.Native,
668
- unit: 'rem',
669
- namespaces: [
670
- 'spacing'
671
- ]
672
- },
673
- inset: {
674
- unit: 'rem',
675
- type: SyntaxRuleType.NativeShorthand,
676
- namespaces: [
677
- 'spacing'
678
- ]
679
- },
680
- 'max-height': {
681
- key: 'max-h',
682
- unit: 'rem',
683
- type: SyntaxRuleType.Native
684
- },
685
- 'max-width': {
686
- key: 'max-w',
687
- unit: 'rem',
688
- type: SyntaxRuleType.Native
689
- },
690
- opacity: {
691
- type: SyntaxRuleType.Native
692
- },
693
- visibility: {
694
- type: SyntaxRuleType.Native
695
- },
696
- clear: {
697
- type: SyntaxRuleType.Native
698
- },
699
- float: {
700
- type: SyntaxRuleType.Native
701
- },
702
- isolation: {
703
- type: SyntaxRuleType.Native
704
- },
705
- 'overflow-x': {
706
- type: SyntaxRuleType.Native
707
- },
708
- 'overflow-y': {
709
- type: SyntaxRuleType.Native
710
- },
711
- overflow: {
712
- type: SyntaxRuleType.NativeShorthand
713
- },
714
- 'overscroll-behavior-x': {
715
- type: SyntaxRuleType.Native
716
- },
717
- 'overscroll-behavior-y': {
718
- type: SyntaxRuleType.Native
719
- },
720
- 'overscroll-behavior': {
721
- type: SyntaxRuleType.NativeShorthand
722
- },
723
- 'z-index': {
724
- key: 'z',
725
- type: SyntaxRuleType.Native
726
- },
727
- position: {
728
- type: SyntaxRuleType.Native
729
- },
730
- cursor: {
731
- type: SyntaxRuleType.Native
732
- },
733
- 'pointer-events': {
734
- type: SyntaxRuleType.Native
735
- },
736
- resize: {
737
- type: SyntaxRuleType.Native
738
- },
739
- 'touch-action': {
740
- type: SyntaxRuleType.Native
741
- },
742
- 'word-break': {
743
- type: SyntaxRuleType.Native
744
- },
745
- 'word-spacing': {
746
- type: SyntaxRuleType.Native,
747
- unit: 'em'
748
- },
749
- hyphens: {
750
- type: SyntaxRuleType.Native
751
- },
752
- 'user-drag': {
753
- type: SyntaxRuleType.Native,
754
- declarations: [
755
- '-webkit-user-drag',
756
- 'user-drag'
757
- ]
758
- },
759
- 'user-select': {
760
- type: SyntaxRuleType.Native,
761
- declarations: [
762
- '-webkit-user-select',
763
- 'user-select'
764
- ]
765
- },
766
- 'text-shadow': {
767
- unit: 'rem',
768
- type: SyntaxRuleType.Native,
769
- namespaces: [
770
- 'color'
771
- ]
772
- },
773
- 'text-size': {
774
- aliasGroups: [
775
- 'text',
776
- 't'
777
- ],
778
- kind: 'number',
779
- unit: 'rem',
780
- declarations: {
781
- 'font-size': undefined,
782
- 'line-height': [
783
- 'max(1.8em - max(0rem, ',
784
- undefined,
785
- ' - 1rem) * 1.12',
786
- ', ',
787
- undefined,
788
- ')'
789
- ],
790
- 'letter-spacing': [
791
- 'clamp(-0.072em, calc((',
792
- undefined,
793
- ' - 1rem) * -0.048), 0em)'
794
- ]
795
- },
796
- type: SyntaxRuleType.Shorthand,
797
- namespaces: [
798
- 'font-size'
799
- ]
800
- },
801
- 'text-fill-color': {
802
- aliasGroups: [
803
- 'text',
804
- 't'
805
- ],
806
- kind: 'color',
807
- type: SyntaxRuleType.Native,
808
- namespaces: [
809
- 'color',
810
- 'color.text'
811
- ],
812
- declarations: [
813
- '-webkit-text-fill-color'
814
- ]
815
- },
816
- 'text-stroke-width': {
817
- aliasGroups: [
818
- 'text-stroke'
819
- ],
820
- values: [
821
- 'thin',
822
- 'medium',
823
- 'thick'
824
- ],
825
- kind: 'number',
826
- unit: 'rem',
827
- type: SyntaxRuleType.Native,
828
- declarations: [
829
- '-webkit-text-stroke-width'
830
- ]
831
- },
832
- 'text-stroke-color': {
833
- aliasGroups: [
834
- 'text-stroke'
835
- ],
836
- kind: 'color',
837
- type: SyntaxRuleType.Native,
838
- declarations: [
839
- '-webkit-text-stroke-color'
840
- ],
841
- namespaces: [
842
- 'color'
843
- ]
844
- },
845
- 'text-stroke': {
846
- unit: 'rem',
847
- type: SyntaxRuleType.Native,
848
- declarations: [
849
- '-webkit-text-stroke'
850
- ]
851
- },
852
- 'text-truncate': {
853
- subkey: 'lines',
854
- declarations: {
855
- display: '-webkit-box',
856
- '-webkit-box-orient': 'vertical',
857
- '-webkit-line-clamp': undefined,
858
- overflow: 'hidden',
859
- 'overflow-wrap': 'break-word',
860
- 'text-overflow': 'ellipsis'
861
- },
862
- type: SyntaxRuleType.Shorthand
863
- },
864
- 'box-shadow': {
865
- key: 'shadow',
866
- subkey: 's',
867
- unit: 'rem',
868
- type: SyntaxRuleType.Native,
869
- namespaces: [
870
- 'color'
871
- ]
872
- },
873
- 'table-layout': {
874
- type: SyntaxRuleType.Native
875
- },
876
- 'transform-box': {
877
- aliasGroups: [
878
- 'transform'
879
- ],
880
- type: SyntaxRuleType.Native
881
- },
882
- 'transform-style': {
883
- aliasGroups: [
884
- 'transform'
885
- ],
886
- values: [
887
- 'flat',
888
- 'preserve-3d'
889
- ],
890
- type: SyntaxRuleType.Native
891
- },
892
- 'transform-origin': {
893
- aliasGroups: [
894
- 'transform'
895
- ],
896
- values: [
897
- 'top',
898
- 'bottom',
899
- 'right',
900
- 'left',
901
- 'center'
902
- ],
903
- kind: 'number',
904
- unit: 'px',
905
- type: SyntaxRuleType.Native
906
- },
907
- transform: {
908
- type: SyntaxRuleType.Native,
909
- namespaces: [
910
- 'spacing'
911
- ]
912
- },
913
- 'translate()': {
914
- declarations: [
915
- 'transform'
916
- ],
917
- unit: 'rem',
918
- namespaces: [
919
- 'spacing'
920
- ]
921
- },
922
- 'translateX()': {
923
- declarations: [
924
- 'transform'
925
- ],
926
- unit: 'rem',
927
- namespaces: [
928
- 'spacing'
929
- ]
930
- },
931
- 'translateY()': {
932
- declarations: [
933
- 'transform'
934
- ],
935
- unit: 'rem',
936
- namespaces: [
937
- 'spacing'
938
- ]
939
- },
940
- 'translateZ()': {
941
- declarations: [
942
- 'transform'
943
- ],
944
- unit: 'rem',
945
- namespaces: [
946
- 'spacing'
947
- ]
948
- },
949
- 'translate3d()': {
950
- declarations: [
951
- 'transform'
952
- ],
953
- unit: 'rem',
954
- namespaces: [
955
- 'spacing'
956
- ]
957
- },
958
- 'scale()': {
959
- declarations: [
960
- 'transform'
961
- ]
962
- },
963
- 'scaleX()': {
964
- declarations: [
965
- 'transform'
966
- ]
967
- },
968
- 'scaleY()': {
969
- declarations: [
970
- 'transform'
971
- ]
972
- },
973
- 'scaleZ()': {
974
- declarations: [
975
- 'transform'
976
- ]
977
- },
978
- 'scale3d()': {
979
- declarations: [
980
- 'transform'
981
- ]
982
- },
983
- 'rotate()': {
984
- declarations: [
985
- 'transform'
986
- ]
987
- },
988
- 'rotateX()': {
989
- declarations: [
990
- 'transform'
991
- ]
992
- },
993
- 'rotateY()': {
994
- declarations: [
995
- 'transform'
996
- ]
997
- },
998
- 'rotateZ()': {
999
- declarations: [
1000
- 'transform'
1001
- ]
1002
- },
1003
- 'rotate3d()': {
1004
- declarations: [
1005
- 'transform'
1006
- ]
1007
- },
1008
- 'perspective()': {
1009
- declarations: [
1010
- 'transform'
1011
- ]
1012
- },
1013
- 'matrix()': {
1014
- declarations: [
1015
- 'transform'
1016
- ]
1017
- },
1018
- 'matrix3d()': {
1019
- declarations: [
1020
- 'transform'
1021
- ]
1022
- },
1023
- 'transition-property': {
1024
- key: '~property',
1025
- type: SyntaxRuleType.Native
1026
- },
1027
- 'transition-timing-function': {
1028
- key: '~easing',
1029
- type: SyntaxRuleType.Native
1030
- },
1031
- 'transition-duration': {
1032
- key: '~duration',
1033
- type: SyntaxRuleType.Native,
1034
- unit: 'ms'
1035
- },
1036
- 'transition-delay': {
1037
- key: '~delay',
1038
- type: SyntaxRuleType.Native,
1039
- unit: 'ms'
1040
- },
1041
- transition: {
1042
- sign: '~',
1043
- type: SyntaxRuleType.NativeShorthand
1044
- },
1045
- 'animation-delay': {
1046
- key: '@delay',
1047
- type: SyntaxRuleType.Native,
1048
- unit: 'ms'
1049
- },
1050
- 'animation-direction': {
1051
- key: '@direction',
1052
- type: SyntaxRuleType.Native
1053
- },
1054
- 'animation-duration': {
1055
- key: '@duration',
1056
- type: SyntaxRuleType.Native,
1057
- unit: 'ms'
1058
- },
1059
- 'animation-fill-mode': {
1060
- key: '@fill',
1061
- type: SyntaxRuleType.Native
1062
- },
1063
- 'animation-iteration-count': {
1064
- key: '@iteration',
1065
- type: SyntaxRuleType.Native
1066
- },
1067
- 'animation-name': {
1068
- key: '@name',
1069
- type: SyntaxRuleType.Native,
1070
- includeAnimations: true
1071
- },
1072
- 'animation-play-state': {
1073
- key: '@play',
1074
- type: SyntaxRuleType.Native
1075
- },
1076
- 'animation-timing-function': {
1077
- key: '@easing',
1078
- type: SyntaxRuleType.Native
1079
- },
1080
- animation: {
1081
- sign: '@',
1082
- type: SyntaxRuleType.NativeShorthand,
1083
- includeAnimations: true
1084
- },
1085
- 'border-collapse': {
1086
- aliasGroups: [
1087
- 'b',
1088
- 'border'
1089
- ],
1090
- values: [
1091
- 'collapse',
1092
- 'separate'
1093
- ],
1094
- type: SyntaxRuleType.Native
1095
- },
1096
- 'border-spacing': {
1097
- unit: 'rem',
1098
- type: SyntaxRuleType.Native,
1099
- namespaces: [
1100
- 'spacing'
1101
- ]
1102
- },
1103
- // border color
1104
- 'border-top-color': {
1105
- aliasGroups: [
1106
- 'bt',
1107
- 'border-top'
1108
- ],
1109
- kind: 'color',
1110
- type: SyntaxRuleType.Native,
1111
- namespaces: [
1112
- 'color',
1113
- 'color.line'
1114
- ]
1115
- },
1116
- 'border-bottom-color': {
1117
- aliasGroups: [
1118
- 'bb',
1119
- 'border-bottom'
1120
- ],
1121
- kind: 'color',
1122
- type: SyntaxRuleType.Native,
1123
- namespaces: [
1124
- 'color',
1125
- 'color.line'
1126
- ]
1127
- },
1128
- 'border-left-color': {
1129
- aliasGroups: [
1130
- 'bl',
1131
- 'border-left'
1132
- ],
1133
- kind: 'color',
1134
- type: SyntaxRuleType.Native,
1135
- namespaces: [
1136
- 'color',
1137
- 'color.line'
1138
- ]
1139
- },
1140
- 'border-right-color': {
1141
- aliasGroups: [
1142
- 'br',
1143
- 'border-right'
1144
- ],
1145
- kind: 'color',
1146
- type: SyntaxRuleType.Native,
1147
- namespaces: [
1148
- 'color',
1149
- 'color.line'
1150
- ]
1151
- },
1152
- 'border-x-color': {
1153
- aliasGroups: [
1154
- 'bx',
1155
- 'border-x'
1156
- ],
1157
- kind: 'color',
1158
- type: SyntaxRuleType.Shorthand,
1159
- namespaces: [
1160
- 'color',
1161
- 'color.line'
1162
- ],
1163
- declarations: [
1164
- 'border-left-color',
1165
- 'border-right-color'
1166
- ]
1167
- },
1168
- 'border-y-color': {
1169
- aliasGroups: [
1170
- 'by',
1171
- 'border-y'
1172
- ],
1173
- kind: 'color',
1174
- type: SyntaxRuleType.Shorthand,
1175
- namespaces: [
1176
- 'color',
1177
- 'color.line'
1178
- ],
1179
- declarations: [
1180
- 'border-top-color',
1181
- 'border-bottom-color'
1182
- ]
1183
- },
1184
- 'border-color': {
1185
- aliasGroups: [
1186
- 'b',
1187
- 'border'
1188
- ],
1189
- kind: 'color',
1190
- type: SyntaxRuleType.NativeShorthand,
1191
- namespaces: [
1192
- 'color',
1193
- 'color.line'
1194
- ]
1195
- },
1196
- // border radius
1197
- 'border-top-left-radius': {
1198
- key: 'rtl',
1199
- unit: 'rem',
1200
- type: SyntaxRuleType.Native,
1201
- namespaces: [
1202
- 'border-radius'
1203
- ]
1204
- },
1205
- 'border-top-right-radius': {
1206
- key: 'rtr',
1207
- unit: 'rem',
1208
- type: SyntaxRuleType.Native,
1209
- namespaces: [
1210
- 'border-radius'
1211
- ]
1212
- },
1213
- 'border-bottom-left-radius': {
1214
- key: 'rbl',
1215
- unit: 'rem',
1216
- type: SyntaxRuleType.Native,
1217
- namespaces: [
1218
- 'border-radius'
1219
- ]
1220
- },
1221
- 'border-bottom-right-radius': {
1222
- key: 'rbr',
1223
- unit: 'rem',
1224
- type: SyntaxRuleType.Native,
1225
- namespaces: [
1226
- 'border-radius'
1227
- ]
1228
- },
1229
- 'border-top-radius': {
1230
- key: 'rt',
1231
- unit: 'rem',
1232
- type: SyntaxRuleType.Shorthand,
1233
- declarations: [
1234
- 'border-top-left-radius',
1235
- 'border-top-right-radius'
1236
- ],
1237
- namespaces: [
1238
- 'border-radius'
1239
- ]
1240
- },
1241
- 'border-bottom-radius': {
1242
- key: 'rb',
1243
- unit: 'rem',
1244
- type: SyntaxRuleType.Shorthand,
1245
- declarations: [
1246
- 'border-bottom-left-radius',
1247
- 'border-bottom-right-radius'
1248
- ],
1249
- namespaces: [
1250
- 'border-radius'
1251
- ]
1252
- },
1253
- 'border-left-radius': {
1254
- key: 'rl',
1255
- unit: 'rem',
1256
- type: SyntaxRuleType.Shorthand,
1257
- declarations: [
1258
- 'border-top-left-radius',
1259
- 'border-bottom-left-radius'
1260
- ],
1261
- namespaces: [
1262
- 'border-radius'
1263
- ]
1264
- },
1265
- 'border-right-radius': {
1266
- key: 'rr',
1267
- unit: 'rem',
1268
- type: SyntaxRuleType.Shorthand,
1269
- declarations: [
1270
- 'border-top-right-radius',
1271
- 'border-bottom-right-radius'
1272
- ],
1273
- namespaces: [
1274
- 'border-radius'
1275
- ]
1276
- },
1277
- 'border-radius': {
1278
- key: 'r',
1279
- unit: 'rem',
1280
- type: SyntaxRuleType.NativeShorthand
1281
- },
1282
- // border style
1283
- 'border-top-style': {
1284
- aliasGroups: [
1285
- 'bt',
1286
- 'border-top'
1287
- ],
1288
- values: BORDER_STYLE_VALUES,
1289
- type: SyntaxRuleType.Native
1290
- },
1291
- 'border-bottom-style': {
1292
- aliasGroups: [
1293
- 'bb',
1294
- 'border-bottom'
1295
- ],
1296
- values: BORDER_STYLE_VALUES,
1297
- type: SyntaxRuleType.Native
1298
- },
1299
- 'border-left-style': {
1300
- aliasGroups: [
1301
- 'bl',
1302
- 'border-left'
1303
- ],
1304
- values: BORDER_STYLE_VALUES,
1305
- type: SyntaxRuleType.Native
1306
- },
1307
- 'border-right-style': {
1308
- aliasGroups: [
1309
- 'br',
1310
- 'border-right'
1311
- ],
1312
- values: BORDER_STYLE_VALUES,
1313
- type: SyntaxRuleType.Native
1314
- },
1315
- 'border-x-style': {
1316
- aliasGroups: [
1317
- 'bx',
1318
- 'border-x'
1319
- ],
1320
- values: BORDER_STYLE_VALUES,
1321
- type: SyntaxRuleType.Shorthand,
1322
- declarations: [
1323
- 'border-left-style',
1324
- 'border-right-style'
1325
- ]
1326
- },
1327
- 'border-y-style': {
1328
- aliasGroups: [
1329
- 'by',
1330
- 'border-y'
1331
- ],
1332
- values: BORDER_STYLE_VALUES,
1333
- type: SyntaxRuleType.Shorthand,
1334
- declarations: [
1335
- 'border-top-style',
1336
- 'border-bottom-style'
1337
- ]
1338
- },
1339
- 'border-style': {
1340
- aliasGroups: [
1341
- 'b',
1342
- 'border'
1343
- ],
1344
- values: BORDER_STYLE_VALUES,
1345
- type: SyntaxRuleType.NativeShorthand
1346
- },
1347
- // border width
1348
- 'border-top-width': {
1349
- aliasGroups: [
1350
- 'bt',
1351
- 'border-top'
1352
- ],
1353
- kind: 'number',
1354
- unit: 'rem',
1355
- type: SyntaxRuleType.Native
1356
- },
1357
- 'border-bottom-width': {
1358
- aliasGroups: [
1359
- 'bb',
1360
- 'border-bottom'
1361
- ],
1362
- kind: 'number',
1363
- unit: 'rem',
1364
- type: SyntaxRuleType.Native
1365
- },
1366
- 'border-left-width': {
1367
- aliasGroups: [
1368
- 'bl',
1369
- 'border-left'
1370
- ],
1371
- kind: 'number',
1372
- unit: 'rem',
1373
- type: SyntaxRuleType.Native
1374
- },
1375
- 'border-right-width': {
1376
- aliasGroups: [
1377
- 'br',
1378
- 'border-right'
1379
- ],
1380
- kind: 'number',
1381
- unit: 'rem',
1382
- type: SyntaxRuleType.Native
1383
- },
1384
- 'border-x-width': {
1385
- aliasGroups: [
1386
- 'bx',
1387
- 'border-x'
1388
- ],
1389
- kind: 'number',
1390
- unit: 'rem',
1391
- type: SyntaxRuleType.Shorthand,
1392
- declarations: [
1393
- 'border-left-width',
1394
- 'border-right-width'
1395
- ]
1396
- },
1397
- 'border-y-width': {
1398
- aliasGroups: [
1399
- 'by',
1400
- 'border-y'
1401
- ],
1402
- kind: 'number',
1403
- unit: 'rem',
1404
- type: SyntaxRuleType.Shorthand,
1405
- declarations: [
1406
- 'border-top-width',
1407
- 'border-bottom-width'
1408
- ]
1409
- },
1410
- 'border-width': {
1411
- aliasGroups: [
1412
- 'b',
1413
- 'border'
1414
- ],
1415
- kind: 'number',
1416
- unit: 'rem',
1417
- type: SyntaxRuleType.NativeShorthand
1418
- },
1419
- // border image
1420
- 'border-image-repeat': {
1421
- aliasGroups: [
1422
- 'border-image'
1423
- ],
1424
- values: [
1425
- 'stretch',
1426
- 'repeat',
1427
- 'round',
1428
- 'space'
1429
- ],
1430
- type: SyntaxRuleType.Native
1431
- },
1432
- 'border-image-slice': {
1433
- aliasGroups: [
1434
- 'border-image'
1435
- ],
1436
- type: SyntaxRuleType.Native
1437
- },
1438
- 'border-image-source': {
1439
- aliasGroups: [
1440
- 'border-image'
1441
- ],
1442
- kind: 'image',
1443
- type: SyntaxRuleType.Native
1444
- },
1445
- 'border-image-width': {
1446
- aliasGroups: [
1447
- 'border-image'
1448
- ],
1449
- values: [
1450
- 'auto'
1451
- ],
1452
- kind: 'number',
1453
- unit: 'rem',
1454
- type: SyntaxRuleType.Native
1455
- },
1456
- 'border-image-outset': {
1457
- aliasGroups: [
1458
- 'border-image'
1459
- ],
1460
- kind: 'number',
1461
- unit: 'rem',
1462
- type: SyntaxRuleType.Native
1463
- },
1464
- 'border-image': {
1465
- type: SyntaxRuleType.NativeShorthand
1466
- },
1467
- // border
1468
- 'border-top': {
1469
- key: 'bt',
1470
- type: SyntaxRuleType.NativeShorthand,
1471
- unit: 'rem',
1472
- transformer: 'auto-fill-solid',
1473
- namespaces: [
1474
- 'color',
1475
- 'color.line'
1476
- ]
1477
- },
1478
- 'border-bottom': {
1479
- key: 'bb',
1480
- type: SyntaxRuleType.NativeShorthand,
1481
- unit: 'rem',
1482
- transformer: 'auto-fill-solid',
1483
- namespaces: [
1484
- 'color',
1485
- 'color.line'
1486
- ]
1487
- },
1488
- 'border-left': {
1489
- key: 'bl',
1490
- type: SyntaxRuleType.NativeShorthand,
1491
- unit: 'rem',
1492
- transformer: 'auto-fill-solid',
1493
- namespaces: [
1494
- 'color',
1495
- 'color.line'
1496
- ]
1497
- },
1498
- 'border-right': {
1499
- key: 'br',
1500
- type: SyntaxRuleType.NativeShorthand,
1501
- unit: 'rem',
1502
- transformer: 'auto-fill-solid',
1503
- namespaces: [
1504
- 'color',
1505
- 'color.line'
1506
- ]
1507
- },
1508
- 'border-x': {
1509
- key: 'bx',
1510
- unit: 'rem',
1511
- type: SyntaxRuleType.Shorthand,
1512
- transformer: 'auto-fill-solid',
1513
- namespaces: [
1514
- 'color',
1515
- 'color.line'
1516
- ],
1517
- declarations: [
1518
- 'border-left',
1519
- 'border-right'
1520
- ]
1521
- },
1522
- 'border-y': {
1523
- key: 'by',
1524
- unit: 'rem',
1525
- type: SyntaxRuleType.Shorthand,
1526
- transformer: 'auto-fill-solid',
1527
- namespaces: [
1528
- 'color',
1529
- 'color.line'
1530
- ],
1531
- declarations: [
1532
- 'border-top',
1533
- 'border-bottom'
1534
- ]
1535
- },
1536
- border: {
1537
- key: 'b',
1538
- unit: 'rem',
1539
- type: SyntaxRuleType.NativeShorthand,
1540
- transformer: 'auto-fill-solid',
1541
- namespaces: [
1542
- 'color',
1543
- 'color.line'
1544
- ]
1545
- },
1546
- 'background-attachment': {
1547
- aliasGroups: [
1548
- 'bg'
1549
- ],
1550
- values: [
1551
- 'fixed',
1552
- 'local',
1553
- 'scroll'
1554
- ],
1555
- type: SyntaxRuleType.Native
1556
- },
1557
- 'background-blend-mode': {
1558
- key: 'bg-blend',
1559
- type: SyntaxRuleType.Native
1560
- },
1561
- 'background-color': {
1562
- aliasGroups: [
1563
- 'bg'
1564
- ],
1565
- kind: 'color',
1566
- type: SyntaxRuleType.Native,
1567
- namespaces: [
1568
- 'color'
1569
- ]
1570
- },
1571
- 'background-clip': {
1572
- key: 'bg-clip',
1573
- type: SyntaxRuleType.Native
1574
- },
1575
- 'background-origin': {
1576
- key: 'bg-origin',
1577
- type: SyntaxRuleType.Native
1578
- },
1579
- 'background-position': {
1580
- aliasGroups: [
1581
- 'bg'
1582
- ],
1583
- values: [
1584
- 'top',
1585
- 'bottom',
1586
- 'right',
1587
- 'left',
1588
- 'center'
1589
- ],
1590
- type: SyntaxRuleType.Native,
1591
- unit: 'px'
1592
- },
1593
- 'background-repeat': {
1594
- aliasGroups: [
1595
- 'bg'
1596
- ],
1597
- values: [
1598
- 'space',
1599
- 'round',
1600
- 'repeat',
1601
- 'no-repeat',
1602
- 'repeat-x',
1603
- 'repeat-y'
1604
- ],
1605
- type: SyntaxRuleType.Native
1606
- },
1607
- 'background-size': {
1608
- aliasGroups: [
1609
- 'bg'
1610
- ],
1611
- values: [
1612
- 'auto',
1613
- 'cover',
1614
- 'contain'
1615
- ],
1616
- kind: 'number',
1617
- unit: 'rem',
1618
- type: SyntaxRuleType.Native
1619
- },
1620
- 'background-image': {
1621
- aliasGroups: [
1622
- 'bg'
1623
- ],
1624
- kind: 'image',
1625
- type: SyntaxRuleType.Native,
1626
- namespaces: [
1627
- 'color'
1628
- ]
1629
- },
1630
- background: {
1631
- key: 'bg',
1632
- type: SyntaxRuleType.NativeShorthand,
1633
- namespaces: [
1634
- 'color'
1635
- ]
1636
- },
1637
- 'gradient()': {
1638
- declarations: {
1639
- 'background-image': [
1640
- 'linear-',
1641
- undefined
1642
- ]
1643
- },
1644
- namespaces: [
1645
- 'color'
1646
- ]
1647
- },
1648
- 'mix-blend-mode': {
1649
- key: 'blend',
1650
- type: SyntaxRuleType.Native
1651
- },
1652
- 'backdrop-filter': {
1653
- key: 'bd',
1654
- type: SyntaxRuleType.Native,
1655
- declarations: [
1656
- '-webkit-backdrop-filter',
1657
- 'backdrop-filter'
1658
- ],
1659
- namespaces: [
1660
- 'color'
1661
- ]
1662
- },
1663
- filter: {
1664
- type: SyntaxRuleType.Native,
1665
- namespaces: [
1666
- 'color'
1667
- ]
1668
- },
1669
- 'blur()': {
1670
- declarations: [
1671
- 'filter'
1672
- ]
1673
- },
1674
- 'brightness()': {
1675
- declarations: [
1676
- 'filter'
1677
- ]
1678
- },
1679
- 'contrast()': {
1680
- declarations: [
1681
- 'filter'
1682
- ]
1683
- },
1684
- 'drop-shadow()': {
1685
- declarations: [
1686
- 'filter'
1687
- ],
1688
- namespaces: [
1689
- 'color'
1690
- ]
1691
- },
1692
- 'grayscale()': {
1693
- declarations: [
1694
- 'filter'
1695
- ]
1696
- },
1697
- 'hue-rotate()': {
1698
- declarations: [
1699
- 'filter'
1700
- ]
1701
- },
1702
- 'invert()': {
1703
- declarations: [
1704
- 'filter'
1705
- ]
1706
- },
1707
- 'opacity()': {
1708
- declarations: [
1709
- 'filter'
1710
- ]
1711
- },
1712
- 'saturate()': {
1713
- declarations: [
1714
- 'filter'
1715
- ]
1716
- },
1717
- 'sepia()': {
1718
- declarations: [
1719
- 'filter'
1720
- ]
1721
- },
1722
- fill: {
1723
- type: SyntaxRuleType.Native,
1724
- namespaces: [
1725
- 'color'
1726
- ]
1727
- },
1728
- 'stroke-dasharray': {
1729
- type: SyntaxRuleType.Native
1730
- },
1731
- 'stroke-dashoffset': {
1732
- type: SyntaxRuleType.Native,
1733
- namespaces: [
1734
- 'spacing'
1735
- ]
1736
- },
1737
- 'stroke-width': {
1738
- aliasGroups: [
1739
- 'stroke'
1740
- ],
1741
- kind: 'number',
1742
- type: SyntaxRuleType.Native
1743
- },
1744
- stroke: {
1745
- type: SyntaxRuleType.Native,
1746
- namespaces: [
1747
- 'color'
1748
- ]
1749
- },
1750
- x: {
1751
- type: SyntaxRuleType.Native,
1752
- namespaces: [
1753
- 'spacing'
1754
- ]
1755
- },
1756
- y: {
1757
- type: SyntaxRuleType.Native,
1758
- namespaces: [
1759
- 'spacing'
1760
- ]
1761
- },
1762
- cx: {
1763
- type: SyntaxRuleType.Native,
1764
- namespaces: [
1765
- 'spacing'
1766
- ]
1767
- },
1768
- cy: {
1769
- type: SyntaxRuleType.Native,
1770
- namespaces: [
1771
- 'spacing'
1772
- ]
1773
- },
1774
- rx: {
1775
- type: SyntaxRuleType.Native
1776
- },
1777
- ry: {
1778
- type: SyntaxRuleType.Native
1779
- },
1780
- 'grid-column-start': {
1781
- key: 'grid-col-start',
1782
- type: SyntaxRuleType.Native
1783
- },
1784
- 'grid-column-end': {
1785
- key: 'grid-col-end',
1786
- type: SyntaxRuleType.Native
1787
- },
1788
- 'grid-column-span': {
1789
- key: 'grid-col-span',
1790
- type: SyntaxRuleType.Shorthand,
1791
- declarations: {
1792
- 'grid-column': [
1793
- 'span ',
1794
- undefined,
1795
- '/span ',
1796
- undefined
1797
- ]
1798
- }
1799
- },
1800
- 'grid-column': {
1801
- key: 'grid-col',
1802
- type: SyntaxRuleType.NativeShorthand
1803
- },
1804
- 'grid-columns': {
1805
- key: 'grid-cols',
1806
- declarations: {
1807
- display: 'grid',
1808
- 'grid-template-columns': [
1809
- 'repeat(',
1810
- undefined,
1811
- ',minmax(0,1fr))'
1812
- ]
1813
- },
1814
- type: SyntaxRuleType.Shorthand
1815
- },
1816
- 'grid-row-start': {
1817
- type: SyntaxRuleType.Native
1818
- },
1819
- 'grid-row-end': {
1820
- type: SyntaxRuleType.Native
1821
- },
1822
- 'grid-row-span': {
1823
- type: SyntaxRuleType.Shorthand,
1824
- declarations: {
1825
- 'grid-row': [
1826
- 'span ',
1827
- undefined,
1828
- '/span ',
1829
- undefined
1830
- ]
1831
- }
1832
- },
1833
- 'grid-row': {
1834
- type: SyntaxRuleType.NativeShorthand
1835
- },
1836
- 'grid-rows': {
1837
- declarations: {
1838
- display: 'grid',
1839
- 'grid-auto-flow': 'column',
1840
- 'grid-template-rows': [
1841
- 'repeat(',
1842
- undefined,
1843
- ',minmax(0,1fr))'
1844
- ]
1845
- },
1846
- type: SyntaxRuleType.Shorthand
1847
- },
1848
- 'grid-auto-columns': {
1849
- key: 'grid-auto-cols',
1850
- type: SyntaxRuleType.Native
1851
- },
1852
- 'grid-auto-flow': {
1853
- key: 'grid-flow',
1854
- type: SyntaxRuleType.Native
1855
- },
1856
- 'grid-auto-rows': {
1857
- type: SyntaxRuleType.Native
1858
- },
1859
- 'grid-template-areas': {
1860
- type: SyntaxRuleType.Native
1861
- },
1862
- 'grid-template-columns': {
1863
- key: 'grid-template-cols',
1864
- type: SyntaxRuleType.Native,
1865
- unit: 'rem'
1866
- },
1867
- 'grid-template-rows': {
1868
- type: SyntaxRuleType.Native,
1869
- unit: 'rem'
1870
- },
1871
- 'grid-template': {
1872
- type: SyntaxRuleType.NativeShorthand
1873
- },
1874
- 'grid-area': {
1875
- type: SyntaxRuleType.NativeShorthand
1876
- },
1877
- grid: {
1878
- type: SyntaxRuleType.NativeShorthand
1879
- },
1880
- 'column-gap': {
1881
- key: 'gap-x',
1882
- unit: 'rem',
1883
- type: SyntaxRuleType.Native,
1884
- namespaces: [
1885
- 'spacing'
1886
- ]
1887
- },
1888
- 'row-gap': {
1889
- key: 'gap-y',
1890
- unit: 'rem',
1891
- type: SyntaxRuleType.Native,
1892
- namespaces: [
1893
- 'spacing'
1894
- ]
1895
- },
1896
- gap: {
1897
- unit: 'rem',
1898
- type: SyntaxRuleType.NativeShorthand,
1899
- namespaces: [
1900
- 'spacing'
1901
- ]
1902
- },
1903
- order: {
1904
- key: 'o',
1905
- type: SyntaxRuleType.Native
1906
- },
1907
- 'break-inside': {
1908
- type: SyntaxRuleType.Native
1909
- },
1910
- 'break-before': {
1911
- type: SyntaxRuleType.Native
1912
- },
1913
- 'break-after': {
1914
- type: SyntaxRuleType.Native
1915
- },
1916
- 'aspect-ratio': {
1917
- key: 'aspect',
1918
- type: SyntaxRuleType.Native
1919
- },
1920
- 'column-span': {
1921
- key: 'col-span',
1922
- type: SyntaxRuleType.Native
1923
- },
1924
- 'align-content': {
1925
- subkey: 'ac',
1926
- type: SyntaxRuleType.Native
1927
- },
1928
- 'align-items': {
1929
- subkey: 'ai',
1930
- type: SyntaxRuleType.Native
1931
- },
1932
- 'align-self': {
1933
- subkey: 'as',
1934
- type: SyntaxRuleType.Native
1935
- },
1936
- 'justify-content': {
1937
- subkey: 'jc',
1938
- type: SyntaxRuleType.Native
1939
- },
1940
- 'justify-items': {
1941
- subkey: 'ji',
1942
- type: SyntaxRuleType.Native
1943
- },
1944
- 'justify-self': {
1945
- subkey: 'js',
1946
- type: SyntaxRuleType.Native
1947
- },
1948
- 'place-content': {
1949
- type: SyntaxRuleType.NativeShorthand
1950
- },
1951
- 'place-items': {
1952
- type: SyntaxRuleType.NativeShorthand
1953
- },
1954
- 'place-self': {
1955
- type: SyntaxRuleType.NativeShorthand
1956
- },
1957
- 'list-style-position': {
1958
- aliasGroups: [
1959
- 'list-style'
1960
- ],
1961
- values: [
1962
- 'inside',
1963
- 'outside'
1964
- ],
1965
- type: SyntaxRuleType.Native
1966
- },
1967
- 'list-style-type': {
1968
- aliasGroups: [
1969
- 'list-style'
1970
- ],
1971
- values: [
1972
- 'disc',
1973
- 'decimal'
1974
- ],
1975
- type: SyntaxRuleType.Native
1976
- },
1977
- 'list-style-image': {
1978
- aliasGroups: [
1979
- 'list-style'
1980
- ],
1981
- kind: 'image',
1982
- type: SyntaxRuleType.Native
1983
- },
1984
- 'list-style': {
1985
- type: SyntaxRuleType.NativeShorthand
1986
- },
1987
- 'outline-color': {
1988
- aliasGroups: [
1989
- 'outline'
1990
- ],
1991
- kind: 'color',
1992
- type: SyntaxRuleType.Native,
1993
- namespaces: [
1994
- 'color',
1995
- 'color.line'
1996
- ]
1997
- },
1998
- 'outline-offset': {
1999
- unit: 'rem',
2000
- type: SyntaxRuleType.Native,
2001
- namespaces: [
2002
- 'spacing'
2003
- ]
2004
- },
2005
- 'outline-style': {
2006
- aliasGroups: [
2007
- 'outline'
2008
- ],
2009
- values: BORDER_STYLE_VALUES,
2010
- type: SyntaxRuleType.Native
2011
- },
2012
- 'outline-width': {
2013
- aliasGroups: [
2014
- 'outline'
2015
- ],
2016
- values: [
2017
- 'medium',
2018
- 'thick',
2019
- 'thin'
2020
- ],
2021
- kind: 'number',
2022
- unit: 'rem',
2023
- type: SyntaxRuleType.Native
2024
- },
2025
- outline: {
2026
- unit: 'rem',
2027
- type: SyntaxRuleType.NativeShorthand,
2028
- namespaces: [
2029
- 'outline-width',
2030
- 'outline-style',
2031
- 'outline-offset',
2032
- 'outline-color',
2033
- 'color.line',
2034
- 'color'
2035
- ],
2036
- transformer: 'auto-fill-solid'
2037
- },
2038
- 'accent-color': {
2039
- key: 'accent',
2040
- type: SyntaxRuleType.Native,
2041
- namespaces: [
2042
- 'color'
2043
- ]
2044
- },
2045
- appearance: {
2046
- type: SyntaxRuleType.Native
2047
- },
2048
- 'caret-color': {
2049
- key: 'caret',
2050
- type: SyntaxRuleType.Native,
2051
- namespaces: [
2052
- 'color',
2053
- 'color.text'
2054
- ]
2055
- },
2056
- 'scroll-behavior': {
2057
- type: SyntaxRuleType.Native
2058
- },
2059
- // scroll margin
2060
- 'scroll-margin-left': {
2061
- key: 'scroll-ml',
2062
- type: SyntaxRuleType.Native,
2063
- unit: 'rem',
2064
- namespaces: [
2065
- 'spacing'
2066
- ]
2067
- },
2068
- 'scroll-margin-right': {
2069
- key: 'scroll-mr',
2070
- type: SyntaxRuleType.Native,
2071
- unit: 'rem',
2072
- namespaces: [
2073
- 'spacing'
2074
- ]
2075
- },
2076
- 'scroll-margin-top': {
2077
- key: 'scroll-mt',
2078
- type: SyntaxRuleType.Native,
2079
- unit: 'rem',
2080
- namespaces: [
2081
- 'spacing'
2082
- ]
2083
- },
2084
- 'scroll-margin-bottom': {
2085
- key: 'scroll-mb',
2086
- type: SyntaxRuleType.Native,
2087
- unit: 'rem',
2088
- namespaces: [
2089
- 'spacing'
2090
- ]
2091
- },
2092
- 'scroll-margin-x': {
2093
- key: 'scroll-mx',
2094
- unit: 'rem',
2095
- type: SyntaxRuleType.Shorthand,
2096
- declarations: [
2097
- 'scroll-margin-left',
2098
- 'scroll-margin-right'
2099
- ],
2100
- namespaces: [
2101
- 'spacing'
2102
- ]
2103
- },
2104
- 'scroll-margin-y': {
2105
- key: 'scroll-my',
2106
- unit: 'rem',
2107
- type: SyntaxRuleType.Shorthand,
2108
- declarations: [
2109
- 'scroll-margin-top',
2110
- 'scroll-margin-bottom'
2111
- ],
2112
- namespaces: [
2113
- 'spacing'
2114
- ]
2115
- },
2116
- 'scroll-margin': {
2117
- key: 'scroll-m',
2118
- unit: 'rem',
2119
- type: SyntaxRuleType.NativeShorthand,
2120
- namespaces: [
2121
- 'spacing'
2122
- ]
2123
- },
2124
- // scroll padding
2125
- 'scroll-padding-left': {
2126
- key: 'scroll-pl',
2127
- type: SyntaxRuleType.Native,
2128
- unit: 'rem',
2129
- namespaces: [
2130
- 'spacing'
2131
- ]
2132
- },
2133
- 'scroll-padding-right': {
2134
- key: 'scroll-pr',
2135
- type: SyntaxRuleType.Native,
2136
- unit: 'rem',
2137
- namespaces: [
2138
- 'spacing'
2139
- ]
2140
- },
2141
- 'scroll-padding-top': {
2142
- key: 'scroll-pt',
2143
- type: SyntaxRuleType.Native,
2144
- unit: 'rem',
2145
- namespaces: [
2146
- 'spacing'
2147
- ]
2148
- },
2149
- 'scroll-padding-bottom': {
2150
- key: 'scroll-pb',
2151
- type: SyntaxRuleType.Native,
2152
- unit: 'rem',
2153
- namespaces: [
2154
- 'spacing'
2155
- ]
2156
- },
2157
- 'scroll-padding-x': {
2158
- key: 'scroll-px',
2159
- unit: 'rem',
2160
- type: SyntaxRuleType.Shorthand,
2161
- declarations: [
2162
- 'scroll-padding-left',
2163
- 'scroll-padding-right'
2164
- ],
2165
- namespaces: [
2166
- 'spacing'
2167
- ]
2168
- },
2169
- 'scroll-padding-y': {
2170
- key: 'scroll-py',
2171
- unit: 'rem',
2172
- type: SyntaxRuleType.Shorthand,
2173
- declarations: [
2174
- 'scroll-padding-top',
2175
- 'scroll-padding-bottom'
2176
- ],
2177
- namespaces: [
2178
- 'spacing'
2179
- ]
2180
- },
2181
- 'scroll-padding': {
2182
- key: 'scroll-p',
2183
- unit: 'rem',
2184
- type: SyntaxRuleType.NativeShorthand,
2185
- namespaces: [
2186
- 'spacing'
2187
- ]
2188
- },
2189
- // scroll snap
2190
- 'scroll-snap-align': {
2191
- aliasGroups: [
2192
- 'scroll-snap'
2193
- ],
2194
- values: [
2195
- 'start',
2196
- 'end',
2197
- 'center'
2198
- ],
2199
- type: SyntaxRuleType.Native
2200
- },
2201
- 'scroll-snap-stop': {
2202
- aliasGroups: [
2203
- 'scroll-snap'
2204
- ],
2205
- values: [
2206
- 'normal',
2207
- 'always'
2208
- ],
2209
- type: SyntaxRuleType.Native
2210
- },
2211
- 'scroll-snap-type': {
2212
- aliasGroups: [
2213
- 'scroll-snap'
2214
- ],
2215
- values: [
2216
- 'x',
2217
- 'y',
2218
- 'block',
2219
- 'inline',
2220
- 'both'
2221
- ],
2222
- type: SyntaxRuleType.Native
2223
- },
2224
- 'will-change': {
2225
- type: SyntaxRuleType.Native
2226
- },
2227
- 'writing-mode': {
2228
- key: 'writing',
2229
- type: SyntaxRuleType.Native
2230
- },
2231
- direction: {
2232
- type: SyntaxRuleType.Native
2233
- },
2234
- 'shape-outside': {
2235
- key: 'shape',
2236
- type: SyntaxRuleType.Native
2237
- },
2238
- 'shape-margin': {
2239
- kind: 'number',
2240
- unit: 'rem',
2241
- type: SyntaxRuleType.Native,
2242
- namespaces: [
2243
- 'spacing'
2244
- ]
2245
- },
2246
- 'shape-image-threshold': {
2247
- type: SyntaxRuleType.Native
2248
- },
2249
- 'clip-path': {
2250
- key: 'clip',
2251
- type: SyntaxRuleType.Native
2252
- },
2253
- quotes: {
2254
- type: SyntaxRuleType.Native
2255
- },
2256
- 'mask-image': {
2257
- type: SyntaxRuleType.Native,
2258
- declarations: [
2259
- '-webkit-mask-image',
2260
- 'mask-image'
2261
- ]
2262
- },
2263
- group: {
2264
- matcher: '^\\{.+?\\}',
2265
- type: SyntaxRuleType.Shorthand,
2266
- declarer: 'core.group'
2267
- },
2268
- variable: {
2269
- matcher: '^\\$[\\w-]+:',
2270
- type: SyntaxRuleType.Shorthand,
2271
- declarer: 'core.variable'
2272
- }
2273
- };
2274
-
2275
- export { rules as default };