@master/css-language-service 2.0.0-rc.26 → 2.0.0-rc.27

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 (111) hide show
  1. package/dist/common.cjs +57 -0
  2. package/dist/common.d.ts +9 -0
  3. package/dist/common.mjs +48 -0
  4. package/dist/core.cjs +188 -0
  5. package/dist/core.d.ts +30 -0
  6. package/dist/core.mjs +186 -0
  7. package/dist/features/edit-syntax-colors.cjs +19 -0
  8. package/dist/features/edit-syntax-colors.d.ts +4 -0
  9. package/dist/features/edit-syntax-colors.mjs +17 -0
  10. package/dist/features/inspect-syntax.cjs +70 -0
  11. package/dist/features/inspect-syntax.d.ts +4 -0
  12. package/dist/features/inspect-syntax.mjs +68 -0
  13. package/dist/features/render-syntax-colors.cjs +88 -0
  14. package/dist/features/render-syntax-colors.d.ts +4 -0
  15. package/dist/features/render-syntax-colors.mjs +86 -0
  16. package/dist/features/suggest-syntax.cjs +20 -0
  17. package/dist/features/suggest-syntax.d.ts +4 -0
  18. package/dist/features/suggest-syntax.mjs +18 -0
  19. package/dist/index.cjs +23 -15
  20. package/dist/index.d.ts +7 -5
  21. package/dist/index.mjs +7 -5
  22. package/dist/settings.cjs +130 -29
  23. package/dist/settings.d.ts +16 -8
  24. package/dist/settings.mjs +130 -29
  25. package/dist/utils/beautify-css.cjs +13 -0
  26. package/dist/utils/beautify-css.d.ts +1 -0
  27. package/dist/utils/beautify-css.mjs +11 -0
  28. package/dist/utils/convert-color-space.cjs +40 -0
  29. package/dist/utils/convert-color-space.d.ts +2 -0
  30. package/dist/utils/convert-color-space.mjs +38 -0
  31. package/dist/utils/convert-color-token.cjs +28 -0
  32. package/dist/utils/convert-color-token.d.ts +3 -0
  33. package/dist/utils/convert-color-token.mjs +26 -0
  34. package/dist/utils/create-doc.cjs +26 -0
  35. package/dist/utils/create-doc.d.ts +16 -0
  36. package/dist/utils/create-doc.mjs +21 -0
  37. package/dist/utils/css-data-provider.cjs +9 -0
  38. package/dist/utils/css-data-provider.d.ts +3 -0
  39. package/dist/utils/css-data-provider.mjs +7 -0
  40. package/dist/utils/find-matching-brackets.cjs +29 -0
  41. package/dist/utils/find-matching-brackets.d.ts +1 -0
  42. package/dist/utils/find-matching-brackets.mjs +27 -0
  43. package/dist/utils/get-color-completion-items.cjs +30 -0
  44. package/dist/utils/get-color-completion-items.d.ts +3 -0
  45. package/dist/utils/get-color-completion-items.mjs +28 -0
  46. package/dist/utils/get-css-data-documentation.cjs +90 -0
  47. package/dist/utils/get-css-data-documentation.d.ts +5 -0
  48. package/dist/utils/get-css-data-documentation.mjs +88 -0
  49. package/dist/utils/get-main-completion-items.cjs +105 -0
  50. package/dist/utils/get-main-completion-items.d.ts +3 -0
  51. package/dist/utils/get-main-completion-items.mjs +103 -0
  52. package/dist/utils/get-position.cjs +12 -0
  53. package/dist/utils/get-position.d.ts +1 -0
  54. package/dist/utils/get-position.mjs +10 -0
  55. package/dist/utils/get-pseudo-class-completion-items.cjs +65 -0
  56. package/dist/utils/get-pseudo-class-completion-items.d.ts +3 -0
  57. package/dist/utils/get-pseudo-class-completion-items.mjs +63 -0
  58. package/dist/utils/get-pseudo-element-completion-items.cjs +56 -0
  59. package/dist/utils/get-pseudo-element-completion-items.d.ts +3 -0
  60. package/dist/utils/get-pseudo-element-completion-items.mjs +54 -0
  61. package/dist/utils/get-query-completion-items.cjs +102 -0
  62. package/dist/utils/get-query-completion-items.d.ts +3 -0
  63. package/dist/utils/get-query-completion-items.mjs +100 -0
  64. package/dist/utils/get-range.cjs +21 -0
  65. package/dist/utils/get-range.d.ts +2 -0
  66. package/dist/utils/get-range.mjs +19 -0
  67. package/dist/utils/get-utility-info.cjs +32 -0
  68. package/dist/utils/get-utility-info.d.ts +7 -0
  69. package/dist/utils/get-utility-info.mjs +30 -0
  70. package/dist/utils/get-value-completion-items.cjs +185 -0
  71. package/dist/utils/get-value-completion-items.d.ts +3 -0
  72. package/dist/utils/get-value-completion-items.mjs +183 -0
  73. package/dist/utils/query-syntax-completions.cjs +115 -0
  74. package/dist/utils/query-syntax-completions.d.ts +3 -0
  75. package/dist/utils/query-syntax-completions.mjs +113 -0
  76. package/dist/utils/regex.cjs +1 -1
  77. package/dist/utils/regex.mjs +1 -1
  78. package/dist/utils/sort-completion-items.cjs +11 -0
  79. package/dist/utils/sort-completion-items.d.ts +2 -0
  80. package/dist/utils/sort-completion-items.mjs +9 -0
  81. package/package.json +1 -1
  82. package/dist/constant.cjs +0 -3064
  83. package/dist/constant.d.ts +0 -33
  84. package/dist/constant.mjs +0 -3055
  85. package/dist/position-check.cjs +0 -37
  86. package/dist/position-check.d.ts +0 -7
  87. package/dist/position-check.mjs +0 -35
  88. package/dist/providers/color.cjs +0 -319
  89. package/dist/providers/color.d.ts +0 -5
  90. package/dist/providers/color.mjs +0 -315
  91. package/dist/providers/completion.cjs +0 -309
  92. package/dist/providers/completion.d.ts +0 -14
  93. package/dist/providers/completion.mjs +0 -303
  94. package/dist/providers/hover.cjs +0 -65
  95. package/dist/providers/hover.d.ts +0 -2
  96. package/dist/providers/hover.mjs +0 -63
  97. package/dist/utils/get-css-entry-markdown-description.cjs +0 -77
  98. package/dist/utils/get-css-entry-markdown-description.d.ts +0 -1
  99. package/dist/utils/get-css-entry-markdown-description.mjs +0 -75
  100. package/dist/utils/hex-to-rgb.cjs +0 -13
  101. package/dist/utils/hex-to-rgb.d.ts +0 -2
  102. package/dist/utils/hex-to-rgb.mjs +0 -11
  103. package/dist/utils/oklab-to-rgb.cjs +0 -33
  104. package/dist/utils/oklab-to-rgb.d.ts +0 -1
  105. package/dist/utils/oklab-to-rgb.mjs +0 -31
  106. package/dist/utils/oklch-to-oklab.cjs +0 -11
  107. package/dist/utils/oklch-to-oklab.d.ts +0 -1
  108. package/dist/utils/oklch-to-oklab.mjs +0 -9
  109. package/dist/utils/to-two-digit-hex.cjs +0 -8
  110. package/dist/utils/to-two-digit-hex.d.ts +0 -1
  111. package/dist/utils/to-two-digit-hex.mjs +0 -6
package/dist/constant.cjs DELETED
@@ -1,3064 +0,0 @@
1
- 'use strict';
2
-
3
- const masterCssSelectors = [
4
- {
5
- label: 'lang()',
6
- kind: 3
7
- },
8
- {
9
- label: 'has()',
10
- kind: 3
11
- },
12
- 'any-link',
13
- 'link',
14
- 'visited',
15
- 'target',
16
- 'scope',
17
- 'hover',
18
- 'active',
19
- 'focus',
20
- 'focus-visible',
21
- 'focus-within',
22
- 'autofill',
23
- 'enabled',
24
- 'disabled',
25
- 'read-only',
26
- 'read-write',
27
- 'placeholder-shown',
28
- 'default',
29
- 'checked',
30
- 'indeterminate',
31
- 'valid',
32
- 'invalid',
33
- 'in-range',
34
- 'out-of-range',
35
- 'required',
36
- 'optional',
37
- 'root',
38
- 'empty',
39
- {
40
- label: 'nth-child()',
41
- kind: 3
42
- },
43
- {
44
- label: 'nth-last-child()',
45
- kind: 3
46
- },
47
- 'first-child',
48
- 'last-child',
49
- 'only-child',
50
- {
51
- label: 'nth-of-type()',
52
- kind: 3
53
- },
54
- {
55
- label: 'nth-last-of-type()',
56
- kind: 3
57
- },
58
- 'first-of-type',
59
- 'last-of-type',
60
- 'only-of-type',
61
- 'defined',
62
- 'first',
63
- 'fullscreen',
64
- {
65
- label: 'host()',
66
- kind: 3
67
- },
68
- {
69
- label: 'host-context()',
70
- kind: 3
71
- },
72
- {
73
- label: 'is()',
74
- kind: 3
75
- },
76
- 'left',
77
- {
78
- label: 'not()',
79
- kind: 3
80
- },
81
- 'right',
82
- {
83
- label: 'where()',
84
- kind: 3
85
- }
86
- ];
87
- const masterCssElements = [
88
- 'after',
89
- 'before',
90
- 'backdrop',
91
- 'cue',
92
- 'first-letter',
93
- 'first-line',
94
- 'file-selector-button',
95
- 'marker',
96
- {
97
- label: 'part()',
98
- kind: 3
99
- },
100
- 'placeholder',
101
- 'selection',
102
- {
103
- label: 'slotted()',
104
- kind: 3
105
- },
106
- 'resizer',
107
- 'search-cancel-button',
108
- 'search-results-button'
109
- ];
110
- const masterCssMedia = [
111
- 'all',
112
- 'print',
113
- 'screen',
114
- 'portrait',
115
- 'landscape',
116
- 'motion',
117
- 'reduced-motion',
118
- {
119
- label: 'media()',
120
- kind: 3
121
- }
122
- ];
123
- const masterCssOtherKeys = [
124
- 'ext',
125
- 'gap',
126
- 'ont',
127
- 'ovf',
128
- 'quotes',
129
- 'bottom',
130
- 'center',
131
- 'left',
132
- 'middle',
133
- 'top',
134
- 'right',
135
- 'px',
136
- 'py',
137
- 'pt',
138
- 'pb',
139
- 'pl',
140
- 'pr',
141
- 'mx',
142
- 'my',
143
- 'mt',
144
- 'mb',
145
- 'ml',
146
- 'mr'
147
- ];
148
- const masterCssCommonValues = [
149
- {
150
- label: 'var()',
151
- kind: 3
152
- },
153
- {
154
- label: 'calc()',
155
- kind: 3
156
- },
157
- 'inherit',
158
- 'initial',
159
- 'unset'
160
- ];
161
- const commonUnit = [
162
- {
163
- label: '0%',
164
- kind: 11
165
- },
166
- {
167
- label: '0ch',
168
- kind: 11
169
- },
170
- {
171
- label: '0cm',
172
- kind: 11
173
- },
174
- {
175
- label: '0em',
176
- kind: 11
177
- },
178
- {
179
- label: '0ex',
180
- kind: 11
181
- },
182
- {
183
- label: '0fr',
184
- kind: 11
185
- },
186
- {
187
- label: '0in',
188
- kind: 11
189
- },
190
- {
191
- label: '0mm',
192
- kind: 11
193
- },
194
- {
195
- label: '0pc',
196
- kind: 11
197
- },
198
- {
199
- label: '0pt',
200
- kind: 11
201
- },
202
- {
203
- label: '0px',
204
- kind: 11
205
- },
206
- {
207
- label: '0rem',
208
- kind: 11
209
- },
210
- {
211
- label: '0vh',
212
- kind: 11
213
- },
214
- {
215
- label: '0vmax',
216
- kind: 11
217
- },
218
- {
219
- label: '0vmin',
220
- kind: 11
221
- },
222
- {
223
- label: '0vw',
224
- kind: 11
225
- }
226
- ];
227
- const masterCssKeyValues = [
228
- {
229
- key: [
230
- 'color',
231
- 'fg',
232
- 'foreground'
233
- ],
234
- colored: true,
235
- values: []
236
- },
237
- //APPEARANCE
238
- {
239
- key: [
240
- 'font-color',
241
- 'font',
242
- 'f'
243
- ],
244
- colored: true,
245
- values: []
246
- },
247
- {
248
- key: [
249
- 'accent-color',
250
- 'accent'
251
- ],
252
- colored: true,
253
- values: []
254
- },
255
- {
256
- key: [
257
- 'appearance'
258
- ],
259
- colored: false,
260
- values: [
261
- 'none',
262
- 'auto',
263
- 'menulist-button',
264
- 'textfield',
265
- 'button',
266
- 'searchfield',
267
- 'textarea',
268
- 'push-button',
269
- 'slider-horizontal',
270
- 'checkbox',
271
- 'radio',
272
- 'square-button',
273
- 'menulist',
274
- 'listbox',
275
- 'meter',
276
- 'progress-bar'
277
- ]
278
- },
279
- {
280
- key: [
281
- 'caret-color',
282
- 'caret'
283
- ],
284
- colored: true,
285
- values: [
286
- 'transparent'
287
- ]
288
- },
289
- {
290
- key: [
291
- 'cursor'
292
- ],
293
- colored: false,
294
- values: [
295
- 'auto',
296
- 'alias',
297
- 'all-scroll',
298
- 'cell',
299
- 'col-resize',
300
- 'context-menu',
301
- 'copy',
302
- 'crosshair',
303
- 'default',
304
- 'e-resize',
305
- 'ew-resize',
306
- 'grab',
307
- 'grabbing',
308
- 'help',
309
- 'move',
310
- 'n-resize',
311
- 'ne-resize',
312
- 'nesw-resize',
313
- 'no-drop',
314
- 'none',
315
- 'not-allowed',
316
- 'ns-resize',
317
- 'nw-resize',
318
- 'nwse-resize',
319
- 'pointer',
320
- 'progress',
321
- 'row-resize',
322
- 's-resize',
323
- 'se-resize',
324
- 'sw-resize',
325
- 'text',
326
- 'vertical-text',
327
- 'w-resize',
328
- 'wait',
329
- 'zoom-in',
330
- 'zoom-out'
331
- ]
332
- },
333
- //LAYOUT
334
- {
335
- key: [
336
- 'box-decoration-break',
337
- 'box'
338
- ],
339
- colored: false,
340
- values: [
341
- 'slice',
342
- 'clone'
343
- ]
344
- },
345
- {
346
- key: [
347
- 'break-after',
348
- 'break-before'
349
- ],
350
- colored: false,
351
- values: [
352
- 'avoid-column',
353
- 'column',
354
- 'left',
355
- 'page',
356
- 'recto',
357
- 'right',
358
- 'recto',
359
- 'verso',
360
- 'auto',
361
- 'avoid',
362
- 'avoid-column',
363
- 'avoid-page',
364
- 'revert'
365
- ]
366
- },
367
- {
368
- key: [
369
- 'break-inside'
370
- ],
371
- colored: false,
372
- values: [
373
- 'auto',
374
- 'avoid',
375
- 'avoid-column',
376
- 'avoid-page',
377
- 'revert'
378
- ]
379
- },
380
- {
381
- key: [
382
- 'clear'
383
- ],
384
- colored: false,
385
- values: [
386
- 'both',
387
- 'left',
388
- 'none',
389
- 'right'
390
- ]
391
- },
392
- {
393
- key: [
394
- 'columns',
395
- 'cols'
396
- ],
397
- colored: false,
398
- values: []
399
- },
400
- {
401
- key: [
402
- 'column-span',
403
- 'col-span'
404
- ],
405
- colored: false,
406
- values: [
407
- 'all',
408
- 'none'
409
- ]
410
- },
411
- {
412
- key: [
413
- 'direction'
414
- ],
415
- colored: false,
416
- values: [
417
- 'ltr',
418
- 'rtl'
419
- ]
420
- },
421
- {
422
- key: [
423
- 'display',
424
- 'd'
425
- ],
426
- colored: false,
427
- values: [
428
- 'hidden',
429
- 'hide',
430
- 'flex',
431
- 'grid',
432
- 'inline',
433
- 'none',
434
- 'block',
435
- 'table',
436
- 'contents',
437
- 'inline-block',
438
- 'inline-flex',
439
- 'inline-grid',
440
- 'inline-table',
441
- 'table-cell',
442
- 'table-caption',
443
- 'flow-root',
444
- 'list-item',
445
- 'table-row',
446
- 'table-column',
447
- 'table-row-group',
448
- 'table-column-group',
449
- 'table-header-group',
450
- 'table-footer-group'
451
- ]
452
- },
453
- {
454
- key: [
455
- 'float'
456
- ],
457
- colored: false,
458
- values: [
459
- 'left',
460
- 'none',
461
- 'right'
462
- ]
463
- },
464
- {
465
- key: [
466
- 'inset'
467
- ],
468
- colored: false,
469
- values: []
470
- },
471
- {
472
- key: [
473
- 'isolation'
474
- ],
475
- colored: false,
476
- values: [
477
- 'auto',
478
- 'isolate'
479
- ]
480
- },
481
- {
482
- key: [
483
- 'overflow',
484
- 'overflow-x',
485
- 'overflow-y'
486
- ],
487
- colored: false,
488
- values: [
489
- 'auto',
490
- 'hidden',
491
- 'overlay',
492
- 'scroll',
493
- 'visible',
494
- 'clip'
495
- ]
496
- },
497
- {
498
- key: [
499
- 'position'
500
- ],
501
- colored: false,
502
- values: [
503
- 'absolute',
504
- 'relative',
505
- 'static',
506
- 'fixed',
507
- 'sticky'
508
- ]
509
- },
510
- {
511
- key: [
512
- 'z-index',
513
- 'z'
514
- ],
515
- colored: false,
516
- values: []
517
- },
518
- //FLEX
519
- {
520
- key: [
521
- 'flex'
522
- ],
523
- colored: false,
524
- values: []
525
- },
526
- {
527
- key: [
528
- 'flex-basis'
529
- ],
530
- colored: false,
531
- values: [
532
- '100%',
533
- 'fit-content',
534
- 'max-content',
535
- 'min-content'
536
- ]
537
- },
538
- {
539
- key: [
540
- 'flex-direction',
541
- 'flex'
542
- ],
543
- colored: false,
544
- values: [
545
- 'column',
546
- 'row',
547
- 'column-reverse',
548
- 'row-reverse'
549
- ]
550
- },
551
- {
552
- key: [
553
- 'flex-grow',
554
- 'flex-shrink'
555
- ],
556
- colored: false,
557
- values: []
558
- },
559
- {
560
- key: [
561
- 'flex-wrap',
562
- 'flex'
563
- ],
564
- colored: false,
565
- values: [
566
- 'wrap',
567
- 'wrap-reverse',
568
- 'nowrap'
569
- ]
570
- },
571
- //GRID
572
- {
573
- key: [
574
- 'grid'
575
- ],
576
- colored: false,
577
- values: []
578
- },
579
- {
580
- key: [
581
- 'grid-auto-columns',
582
- 'grid-auto-cols'
583
- ],
584
- colored: false,
585
- values: [
586
- 'auto',
587
- 'min-content',
588
- 'max-content',
589
- {
590
- label: 'minmax(,)',
591
- kind: 3
592
- }
593
- ]
594
- },
595
- {
596
- key: [
597
- 'grid-auto-flow'
598
- ],
599
- colored: false,
600
- values: [
601
- 'row',
602
- 'column',
603
- 'dense',
604
- 'row|dense',
605
- 'column|dense'
606
- ]
607
- },
608
- {
609
- key: [
610
- 'grid-auto-rows'
611
- ],
612
- colored: false,
613
- values: [
614
- 'auto',
615
- 'min-content',
616
- 'max-content',
617
- {
618
- label: 'minmax(,)',
619
- kind: 3
620
- }
621
- ]
622
- },
623
- {
624
- key: [
625
- 'grid-column',
626
- 'grid-col',
627
- 'grid-column-span',
628
- 'grid-col-span',
629
- 'grid-column-start',
630
- 'grid-col-start',
631
- 'grid-column-end',
632
- 'grid-col-end'
633
- ],
634
- colored: false,
635
- values: []
636
- },
637
- {
638
- key: [
639
- 'grid-columns',
640
- 'grid-cols'
641
- ],
642
- colored: false,
643
- values: []
644
- },
645
- {
646
- key: [
647
- 'grid-row',
648
- 'grid-row-span',
649
- 'grid-row-start',
650
- 'grid-row-end'
651
- ],
652
- colored: false,
653
- values: []
654
- },
655
- {
656
- key: [
657
- 'grid-rows'
658
- ],
659
- colored: false,
660
- values: []
661
- },
662
- {
663
- key: [
664
- 'grid-template'
665
- ],
666
- colored: false,
667
- values: [
668
- 'none'
669
- ]
670
- },
671
- {
672
- key: [
673
- 'grid-template-areas',
674
- 'grid-area'
675
- ],
676
- colored: false,
677
- values: [
678
- 'none'
679
- ]
680
- },
681
- {
682
- key: [
683
- 'grid-template-columns',
684
- 'grid-template-cols'
685
- ],
686
- colored: false,
687
- values: [
688
- 'none',
689
- 'min-content',
690
- 'max-content',
691
- {
692
- label: 'repeat(,)',
693
- kind: 3
694
- },
695
- {
696
- label: 'fit-content()',
697
- kind: 3
698
- },
699
- {
700
- label: 'minmax()',
701
- kind: 3
702
- }
703
- ]
704
- },
705
- {
706
- key: [
707
- 'grid-template-rows'
708
- ],
709
- colored: false,
710
- values: [
711
- 'none',
712
- 'min-content',
713
- 'max-content',
714
- {
715
- label: 'repeat(,)',
716
- kind: 3
717
- },
718
- {
719
- label: 'fit-content()',
720
- kind: 3
721
- },
722
- {
723
- label: 'minmax()',
724
- kind: 3
725
- }
726
- ]
727
- },
728
- //GRID AND FLEXBOX
729
- {
730
- key: [
731
- 'align-content',
732
- 'ac'
733
- ],
734
- colored: false,
735
- values: [
736
- 'space-around',
737
- 'space-between',
738
- 'space-evenly',
739
- 'normal',
740
- 'baseline',
741
- 'center',
742
- 'stretch',
743
- 'start',
744
- 'end',
745
- 'flex-start',
746
- 'flex-end'
747
- ]
748
- },
749
- {
750
- key: [
751
- 'align-items',
752
- 'ai'
753
- ],
754
- colored: false,
755
- values: [
756
- 'self-start',
757
- 'self-end',
758
- 'normal',
759
- 'baseline',
760
- 'center',
761
- 'stretch',
762
- 'start',
763
- 'end',
764
- 'flex-start',
765
- 'flex-end'
766
- ]
767
- },
768
- {
769
- key: [
770
- 'align-self',
771
- 'as'
772
- ],
773
- colored: false,
774
- values: [
775
- 'auto',
776
- 'self-start',
777
- 'self-end',
778
- 'normal',
779
- 'baseline',
780
- 'center',
781
- 'stretch',
782
- 'start',
783
- 'end',
784
- 'flex-start',
785
- 'flex-end'
786
- ]
787
- },
788
- {
789
- key: [
790
- 'justify-content',
791
- 'jc'
792
- ],
793
- colored: false,
794
- values: [
795
- 'space-around',
796
- 'space-between',
797
- 'space-evenly',
798
- 'normal',
799
- 'left',
800
- 'center',
801
- 'right',
802
- 'stretch',
803
- 'start',
804
- 'end',
805
- 'flex-start',
806
- 'flex-end'
807
- ]
808
- },
809
- {
810
- key: [
811
- 'justify-items',
812
- 'ji'
813
- ],
814
- colored: false,
815
- values: [
816
- 'self-start',
817
- 'self-end',
818
- 'normal',
819
- 'left',
820
- 'center',
821
- 'right',
822
- 'stretch',
823
- 'start',
824
- 'end',
825
- 'flex-start',
826
- 'flex-end'
827
- ]
828
- },
829
- {
830
- key: [
831
- 'justify-self',
832
- 'js'
833
- ],
834
- colored: false,
835
- values: [
836
- 'auto',
837
- 'self-start',
838
- 'self-end',
839
- 'normal',
840
- 'left',
841
- 'center',
842
- 'right',
843
- 'stretch',
844
- 'start',
845
- 'end',
846
- 'flex-start',
847
- 'flex-end'
848
- ]
849
- },
850
- {
851
- key: [
852
- 'order',
853
- 'o'
854
- ],
855
- colored: false,
856
- values: [
857
- 'first',
858
- 'last'
859
- ]
860
- },
861
- {
862
- key: [
863
- 'place-content'
864
- ],
865
- colored: false,
866
- values: [
867
- 'space-around',
868
- 'space-between',
869
- 'space-evenly',
870
- 'normal',
871
- 'baseline',
872
- 'center',
873
- 'stretch',
874
- 'start',
875
- 'end',
876
- 'flex-start',
877
- 'flex-end'
878
- ]
879
- },
880
- {
881
- key: [
882
- 'place-items'
883
- ],
884
- colored: false,
885
- values: [
886
- 'self-start',
887
- 'self-end',
888
- 'normal',
889
- 'baseline',
890
- 'center',
891
- 'stretch',
892
- 'start',
893
- 'end',
894
- 'flex-start',
895
- 'flex-end'
896
- ]
897
- },
898
- {
899
- key: [
900
- 'place-self'
901
- ],
902
- colored: false,
903
- values: [
904
- 'auto',
905
- 'self-start',
906
- 'self-end',
907
- 'normal',
908
- 'baseline',
909
- 'center',
910
- 'stretch',
911
- 'start',
912
- 'end',
913
- 'flex-start',
914
- 'flex-end'
915
- ]
916
- },
917
- //TABLES
918
- {
919
- key: [
920
- 'border-collapse',
921
- 'border'
922
- ],
923
- colored: false,
924
- values: [
925
- 'collapse',
926
- 'separate'
927
- ]
928
- },
929
- {
930
- key: [
931
- 'table-layout'
932
- ],
933
- colored: false,
934
- values: [
935
- 'auto',
936
- 'fixed'
937
- ]
938
- },
939
- //MEDIA
940
- {
941
- key: [
942
- 'object-fit'
943
- ],
944
- colored: false,
945
- values: [
946
- 'none'
947
- ]
948
- },
949
- {
950
- key: [
951
- 'object-fit',
952
- 'object',
953
- 'obj'
954
- ],
955
- colored: false,
956
- values: [
957
- 'contain',
958
- 'cover',
959
- 'fill',
960
- 'scale-down'
961
- ]
962
- },
963
- {
964
- key: [
965
- 'object-position',
966
- 'object',
967
- 'obj'
968
- ],
969
- colored: false,
970
- values: [
971
- 'top',
972
- 'bottom',
973
- 'left',
974
- 'right',
975
- 'center'
976
- ]
977
- },
978
- //FONT
979
- {
980
- key: [
981
- 'font',
982
- 'f'
983
- ],
984
- colored: false,
985
- values: [
986
- 'caption',
987
- 'icon',
988
- 'menu',
989
- 'message-box',
990
- 'small-caption',
991
- 'status-bar'
992
- ]
993
- },
994
- {
995
- key: [
996
- 'font-color',
997
- 'font',
998
- 'f'
999
- ],
1000
- colored: true,
1001
- values: []
1002
- },
1003
- {
1004
- key: [
1005
- 'font-family',
1006
- 'font',
1007
- 'f'
1008
- ],
1009
- colored: false,
1010
- values: []
1011
- },
1012
- {
1013
- key: [
1014
- 'font-size',
1015
- 'font',
1016
- 'f'
1017
- ],
1018
- colored: false,
1019
- values: [
1020
- {
1021
- label: '8',
1022
- kind: 11,
1023
- sortText: '!0'
1024
- },
1025
- {
1026
- label: '9',
1027
- kind: 11,
1028
- sortText: '!1'
1029
- },
1030
- {
1031
- label: '10',
1032
- kind: 11,
1033
- sortText: '!2'
1034
- },
1035
- {
1036
- label: '11',
1037
- kind: 11,
1038
- sortText: '!2'
1039
- },
1040
- {
1041
- label: '12',
1042
- kind: 11,
1043
- sortText: '!2'
1044
- },
1045
- {
1046
- label: '14',
1047
- kind: 11,
1048
- sortText: '!2'
1049
- },
1050
- {
1051
- label: '16',
1052
- kind: 11,
1053
- sortText: '!2'
1054
- },
1055
- {
1056
- label: '18',
1057
- kind: 11,
1058
- sortText: '!2'
1059
- },
1060
- {
1061
- label: '20',
1062
- kind: 11,
1063
- sortText: '!2'
1064
- },
1065
- {
1066
- label: '22',
1067
- kind: 11,
1068
- sortText: '!2'
1069
- },
1070
- {
1071
- label: '24',
1072
- kind: 11,
1073
- sortText: '!2'
1074
- },
1075
- {
1076
- label: '26',
1077
- kind: 11,
1078
- sortText: '!2'
1079
- },
1080
- {
1081
- label: '28',
1082
- kind: 11,
1083
- sortText: '!2'
1084
- },
1085
- {
1086
- label: '36',
1087
- kind: 11,
1088
- sortText: '!2'
1089
- },
1090
- {
1091
- label: '48',
1092
- kind: 11,
1093
- sortText: '!2'
1094
- },
1095
- {
1096
- label: '72',
1097
- kind: 11,
1098
- sortText: '!2'
1099
- }
1100
- ]
1101
- },
1102
- {
1103
- key: [
1104
- 'font-style'
1105
- ],
1106
- colored: false,
1107
- values: [
1108
- 'oblique|deg'
1109
- ]
1110
- },
1111
- {
1112
- key: [
1113
- 'font-style',
1114
- 'font',
1115
- 'f'
1116
- ],
1117
- colored: false,
1118
- values: [
1119
- 'normal',
1120
- 'italic',
1121
- 'oblique'
1122
- ]
1123
- },
1124
- {
1125
- key: [
1126
- 'font-variant-numeric',
1127
- 'font',
1128
- 'f'
1129
- ],
1130
- colored: false,
1131
- values: [
1132
- 'normal',
1133
- 'ordinal',
1134
- 'slashed-zero',
1135
- 'lining-nums',
1136
- 'oldstyle-nums',
1137
- 'proportional-nums',
1138
- 'tabular-nums',
1139
- 'diagonal-fractions',
1140
- 'stacked-fractions'
1141
- ]
1142
- },
1143
- {
1144
- key: [
1145
- 'font-weight',
1146
- 'font',
1147
- 'f'
1148
- ],
1149
- colored: false,
1150
- values: [
1151
- '100',
1152
- '200',
1153
- '300',
1154
- '400',
1155
- '500',
1156
- '600',
1157
- '700',
1158
- '800',
1159
- '900'
1160
- ]
1161
- },
1162
- {
1163
- key: [
1164
- 'font',
1165
- 'f'
1166
- ],
1167
- colored: false,
1168
- values: [
1169
- 'antialiased',
1170
- 'subpixel-antialiased'
1171
- ]
1172
- },
1173
- //TEXT
1174
- {
1175
- key: [
1176
- 'text-align',
1177
- 'text',
1178
- 't'
1179
- ],
1180
- colored: false,
1181
- values: [
1182
- 'start',
1183
- 'end',
1184
- 'left',
1185
- 'right',
1186
- 'center',
1187
- 'justify'
1188
- ]
1189
- },
1190
- {
1191
- key: [
1192
- 'text-decoration',
1193
- 'text',
1194
- 't'
1195
- ],
1196
- colored: false,
1197
- values: [
1198
- 'underline',
1199
- 'line-through',
1200
- 'overline'
1201
- ]
1202
- },
1203
- {
1204
- key: [
1205
- 'text-decoration-color',
1206
- 'text-decoration'
1207
- ],
1208
- colored: true,
1209
- values: []
1210
- },
1211
- {
1212
- key: [
1213
- 'text-decoration-line',
1214
- 'text',
1215
- 't'
1216
- ],
1217
- colored: false,
1218
- values: [
1219
- 'none',
1220
- 'underline',
1221
- 'overline',
1222
- 'line-through'
1223
- ]
1224
- },
1225
- {
1226
- key: [
1227
- 'text-decoration-style',
1228
- 'text',
1229
- 't'
1230
- ],
1231
- colored: false,
1232
- values: [
1233
- 'dashed',
1234
- 'dotted',
1235
- 'double',
1236
- 'solid',
1237
- 'wavy'
1238
- ]
1239
- },
1240
- {
1241
- key: [
1242
- 'text-decoration-thickness'
1243
- ],
1244
- colored: false,
1245
- values: []
1246
- },
1247
- {
1248
- key: [
1249
- 'text-fill-color',
1250
- 'text-fill'
1251
- ],
1252
- colored: true,
1253
- values: []
1254
- },
1255
- {
1256
- key: [
1257
- 'text-indent'
1258
- ],
1259
- colored: false,
1260
- values: []
1261
- },
1262
- {
1263
- key: [
1264
- 'text-orientation',
1265
- 'text',
1266
- 't'
1267
- ],
1268
- colored: false,
1269
- values: [
1270
- 'mixed',
1271
- 'sideways',
1272
- 'sideways-right',
1273
- 'upright',
1274
- 'use-glyph-orientation'
1275
- ]
1276
- },
1277
- {
1278
- key: [
1279
- 'text-overflow',
1280
- 'text',
1281
- 't'
1282
- ],
1283
- colored: false,
1284
- values: [
1285
- 'clip',
1286
- 'ellipsis'
1287
- ]
1288
- },
1289
- {
1290
- key: [
1291
- 'text-shadow'
1292
- ],
1293
- colored: false,
1294
- values: []
1295
- },
1296
- {
1297
- key: [
1298
- 'text',
1299
- 't'
1300
- ],
1301
- colored: false,
1302
- values: []
1303
- },
1304
- {
1305
- key: [
1306
- 'text-stroke'
1307
- ],
1308
- colored: false,
1309
- values: []
1310
- },
1311
- {
1312
- key: [
1313
- 'text-stroke-color',
1314
- 'text-stroke'
1315
- ],
1316
- colored: true,
1317
- values: []
1318
- },
1319
- {
1320
- key: [
1321
- 'text-stroke-width',
1322
- 'text-stroke'
1323
- ],
1324
- colored: false,
1325
- values: []
1326
- },
1327
- {
1328
- key: [
1329
- 'text-transform'
1330
- ],
1331
- colored: false,
1332
- values: [
1333
- 'none'
1334
- ]
1335
- },
1336
- {
1337
- key: [
1338
- 'text-transform',
1339
- 'text',
1340
- 't'
1341
- ],
1342
- colored: false,
1343
- values: [
1344
- 'capitalize',
1345
- 'lowercase',
1346
- 'uppercase'
1347
- ]
1348
- },
1349
- {
1350
- key: [
1351
- 'text-underline-offset'
1352
- ],
1353
- colored: false,
1354
- values: []
1355
- },
1356
- {
1357
- key: [
1358
- 'text-rendering'
1359
- ],
1360
- colored: false,
1361
- values: [
1362
- 'auto'
1363
- ]
1364
- },
1365
- {
1366
- key: [
1367
- 'text-rendering',
1368
- 't'
1369
- ],
1370
- colored: false,
1371
- values: [
1372
- 'optimizeSpeed',
1373
- 'optimizeLegibility',
1374
- 'geometricPrecision'
1375
- ]
1376
- },
1377
- //LIST STYLE
1378
- {
1379
- key: [
1380
- 'list-style'
1381
- ],
1382
- colored: false,
1383
- values: []
1384
- },
1385
- {
1386
- key: [
1387
- 'list-style-image',
1388
- 'list-style'
1389
- ],
1390
- colored: false,
1391
- values: [
1392
- {
1393
- label: 'url()',
1394
- kind: 3
1395
- },
1396
- {
1397
- label: 'linear-gradient()',
1398
- kind: 3
1399
- },
1400
- {
1401
- label: 'radial-gradient()',
1402
- kind: 3
1403
- },
1404
- {
1405
- label: 'repeating-linear-gradient()',
1406
- kind: 3
1407
- },
1408
- {
1409
- label: 'repeating-radial-gradient()',
1410
- kind: 3
1411
- },
1412
- {
1413
- label: 'conic-gradient()',
1414
- kind: 3
1415
- }
1416
- ]
1417
- },
1418
- {
1419
- key: [
1420
- 'list-style-position',
1421
- 'list-style'
1422
- ],
1423
- colored: false,
1424
- values: [
1425
- 'inside',
1426
- 'outside'
1427
- ]
1428
- },
1429
- {
1430
- key: [
1431
- 'list-style-type'
1432
- ],
1433
- colored: false,
1434
- values: [
1435
- 'circle',
1436
- 'square',
1437
- 'decimal-leading-zero',
1438
- 'lower-roman',
1439
- 'lower-greek',
1440
- 'lower-alpha',
1441
- 'lower-latin',
1442
- 'upper-roman',
1443
- 'upper-alpha',
1444
- 'upper-latin',
1445
- 'arabic-indic',
1446
- 'armenian',
1447
- 'bengali',
1448
- 'cambodian/khmer',
1449
- 'cjk-earthly-branch',
1450
- 'cjk-heavenly-stem',
1451
- 'devanagari',
1452
- 'georgian',
1453
- 'gurmukhi',
1454
- 'kannada',
1455
- 'lao',
1456
- 'malayalam',
1457
- 'myanmar',
1458
- 'oriya',
1459
- 'telugu',
1460
- 'thai'
1461
- ]
1462
- },
1463
- {
1464
- key: [
1465
- 'list-style-type',
1466
- 'list-style'
1467
- ],
1468
- colored: false,
1469
- values: [
1470
- 'none',
1471
- 'disc',
1472
- 'decimal'
1473
- ]
1474
- },
1475
- //TYPOGRAPHY
1476
- {
1477
- key: [
1478
- 'letter-spacing',
1479
- 'ls'
1480
- ],
1481
- colored: false,
1482
- values: []
1483
- },
1484
- {
1485
- key: [
1486
- 'lines'
1487
- ],
1488
- colored: false,
1489
- values: []
1490
- },
1491
- {
1492
- key: [
1493
- 'line-height',
1494
- 'lh'
1495
- ],
1496
- colored: false,
1497
- values: []
1498
- },
1499
- {
1500
- key: [
1501
- 'content'
1502
- ],
1503
- colored: false,
1504
- values: [
1505
- 'normal',
1506
- 'none',
1507
- 'no-open-quote',
1508
- 'no-close-quote',
1509
- {
1510
- label: 'url()',
1511
- kind: 3
1512
- },
1513
- {
1514
- label: 'linear-gradient()',
1515
- kind: 3
1516
- },
1517
- {
1518
- label: 'image-set()',
1519
- kind: 3
1520
- },
1521
- {
1522
- label: 'counter()',
1523
- kind: 3
1524
- },
1525
- {
1526
- label: 'attr()',
1527
- kind: 3
1528
- }
1529
- ]
1530
- },
1531
- {
1532
- key: [
1533
- 'vertical-align',
1534
- 'v'
1535
- ],
1536
- colored: false,
1537
- values: [
1538
- 'baseline',
1539
- 'bottom',
1540
- 'middle',
1541
- 'sub',
1542
- 'super',
1543
- 'text-bottom',
1544
- 'text-top',
1545
- 'top'
1546
- ]
1547
- },
1548
- {
1549
- key: [
1550
- 'white-space'
1551
- ],
1552
- colored: false,
1553
- values: [
1554
- 'break-spaces',
1555
- 'normal',
1556
- 'nowrap',
1557
- 'pre',
1558
- 'pre-line',
1559
- 'pre-wrap'
1560
- ]
1561
- },
1562
- {
1563
- key: [
1564
- 'word-break'
1565
- ],
1566
- colored: false,
1567
- values: [
1568
- 'normal',
1569
- 'break-all',
1570
- 'keep-all'
1571
- ]
1572
- },
1573
- {
1574
- key: [
1575
- 'word-spacing'
1576
- ],
1577
- colored: false,
1578
- values: []
1579
- },
1580
- {
1581
- key: [
1582
- 'writing-mode'
1583
- ],
1584
- colored: false,
1585
- values: [
1586
- 'horizontal-tb',
1587
- 'vertical-rl',
1588
- 'vertical-lr',
1589
- 'lr',
1590
- 'lr-tb',
1591
- 'rl',
1592
- 'rl-tb',
1593
- 'tb',
1594
- 'tb-rl'
1595
- ]
1596
- },
1597
- //BACKGROUND
1598
- {
1599
- key: [
1600
- 'background',
1601
- 'bg'
1602
- ],
1603
- colored: false,
1604
- values: []
1605
- },
1606
- {
1607
- key: [
1608
- 'backdrop-filter',
1609
- 'bd'
1610
- ],
1611
- colored: false,
1612
- values: [
1613
- 'none',
1614
- {
1615
- label: 'url()',
1616
- kind: 3
1617
- },
1618
- {
1619
- label: 'blur()',
1620
- kind: 3
1621
- },
1622
- {
1623
- label: 'brightness()',
1624
- kind: 3
1625
- },
1626
- {
1627
- label: 'contrast()',
1628
- kind: 3
1629
- },
1630
- {
1631
- label: 'grayscale()',
1632
- kind: 3
1633
- },
1634
- {
1635
- label: 'hue-rotate(degree)',
1636
- kind: 3
1637
- },
1638
- {
1639
- label: 'invert()',
1640
- kind: 3
1641
- },
1642
- {
1643
- label: 'sepia()',
1644
- kind: 3
1645
- },
1646
- {
1647
- label: 'saturate()',
1648
- kind: 3
1649
- },
1650
- {
1651
- label: 'opacity()',
1652
- kind: 3
1653
- },
1654
- {
1655
- label: 'drop-shadow()',
1656
- kind: 3
1657
- }
1658
- ]
1659
- },
1660
- {
1661
- key: [
1662
- 'background-attachment',
1663
- 'background',
1664
- 'bg'
1665
- ],
1666
- colored: false,
1667
- values: [
1668
- 'fixed',
1669
- 'local',
1670
- 'scroll'
1671
- ]
1672
- },
1673
- {
1674
- key: [
1675
- 'background-blend-mode'
1676
- ],
1677
- colored: false,
1678
- values: [
1679
- 'normal',
1680
- 'multiply',
1681
- 'screen',
1682
- 'overlay',
1683
- 'darken',
1684
- 'lighten',
1685
- 'color-dodge',
1686
- 'color-burn',
1687
- 'hard-light',
1688
- 'soft-light',
1689
- 'difference',
1690
- 'exclusion',
1691
- 'hue',
1692
- 'saturation',
1693
- 'color',
1694
- 'luminosity'
1695
- ]
1696
- },
1697
- {
1698
- key: [
1699
- 'background-clip',
1700
- 'bg'
1701
- ],
1702
- colored: false,
1703
- values: [
1704
- 'content-box',
1705
- 'border-box',
1706
- 'padding-box'
1707
- ]
1708
- },
1709
- {
1710
- key: [
1711
- 'background-color',
1712
- 'background',
1713
- 'bg'
1714
- ],
1715
- colored: true,
1716
- values: [
1717
- 'transparent'
1718
- ]
1719
- },
1720
- {
1721
- key: [
1722
- 'background-image',
1723
- 'background',
1724
- 'bg'
1725
- ],
1726
- colored: false,
1727
- values: [
1728
- {
1729
- label: 'url()',
1730
- kind: 3
1731
- },
1732
- {
1733
- label: 'linear-gradient()',
1734
- kind: 3
1735
- },
1736
- {
1737
- label: 'radial-gradient()',
1738
- kind: 3
1739
- },
1740
- {
1741
- label: 'repeating-linear-gradient()',
1742
- kind: 3
1743
- },
1744
- {
1745
- label: 'repeating-radial-gradient()',
1746
- kind: 3
1747
- },
1748
- {
1749
- label: 'conic-gradient()',
1750
- kind: 3
1751
- }
1752
- ]
1753
- },
1754
- {
1755
- key: [
1756
- 'background-origin',
1757
- 'bg'
1758
- ],
1759
- colored: false,
1760
- values: [
1761
- 'content-box',
1762
- 'border-box',
1763
- 'padding-box'
1764
- ]
1765
- },
1766
- {
1767
- key: [
1768
- 'background-position',
1769
- 'bg'
1770
- ],
1771
- colored: false,
1772
- values: [
1773
- 'top',
1774
- 'bottom',
1775
- 'left',
1776
- 'right',
1777
- 'center'
1778
- ]
1779
- },
1780
- {
1781
- key: [
1782
- 'background-repeat',
1783
- 'bg'
1784
- ],
1785
- colored: false,
1786
- values: [
1787
- 'repeat',
1788
- 'no-repeat',
1789
- 'repeat-x',
1790
- 'repeat-y'
1791
- ]
1792
- },
1793
- {
1794
- key: [
1795
- 'background-size',
1796
- 'background',
1797
- 'bg'
1798
- ],
1799
- colored: false,
1800
- values: [
1801
- 'auto',
1802
- 'cover',
1803
- 'contain'
1804
- ]
1805
- },
1806
- {
1807
- key: [
1808
- 'mix-blend-mode',
1809
- 'blend'
1810
- ],
1811
- colored: false,
1812
- values: [
1813
- 'normal',
1814
- 'multiply',
1815
- 'screen',
1816
- 'overlay',
1817
- 'darken',
1818
- 'lighten',
1819
- 'color-dodge',
1820
- 'color-burn',
1821
- 'hard-light',
1822
- 'soft-light',
1823
- 'difference',
1824
- 'exclusion',
1825
- 'hue',
1826
- 'saturation',
1827
- 'color',
1828
- 'luminosity'
1829
- ]
1830
- },
1831
- //BORDER
1832
- {
1833
- key: [
1834
- 'border',
1835
- 'border-top',
1836
- 'border-bottom',
1837
- 'border-left',
1838
- 'border-right',
1839
- 'b',
1840
- 'bt',
1841
- 'bb',
1842
- 'bl',
1843
- 'br',
1844
- 'bx',
1845
- 'by'
1846
- ],
1847
- colored: false,
1848
- values: []
1849
- },
1850
- {
1851
- key: [
1852
- 'border-spacing'
1853
- ],
1854
- colored: false,
1855
- values: []
1856
- },
1857
- {
1858
- key: [
1859
- 'border-color',
1860
- 'border',
1861
- 'border-top-color',
1862
- 'border-bottom-color',
1863
- 'border-left-color',
1864
- 'border-right-color',
1865
- 'b',
1866
- 'bt',
1867
- 'bb',
1868
- 'bl',
1869
- 'br',
1870
- 'bx',
1871
- 'by'
1872
- ],
1873
- colored: true,
1874
- values: []
1875
- },
1876
- {
1877
- key: [
1878
- 'border-radius',
1879
- 'r',
1880
- 'rt',
1881
- 'rb',
1882
- 'rl',
1883
- 'rr',
1884
- 'border-top-left-radius',
1885
- 'rlt',
1886
- 'rtl',
1887
- 'border-top-right-radius',
1888
- 'rrt',
1889
- 'rtr',
1890
- 'border-bottom-left-radius',
1891
- 'rlb',
1892
- 'rbl',
1893
- 'border-bottom-right-radius',
1894
- 'rbr',
1895
- 'rrb'
1896
- ],
1897
- colored: false,
1898
- values: []
1899
- },
1900
- {
1901
- key: [
1902
- 'border-style',
1903
- 'border',
1904
- 'b',
1905
- 'border-top-style',
1906
- 'border-top',
1907
- 'bt',
1908
- 'border-bottom-style',
1909
- 'border-bottom',
1910
- 'bb',
1911
- 'border-left-style',
1912
- 'border-left',
1913
- 'bl',
1914
- 'border-right-style',
1915
- 'border-right',
1916
- 'br',
1917
- 'bx',
1918
- 'by'
1919
- ],
1920
- colored: false,
1921
- values: [
1922
- 'none',
1923
- 'hidden',
1924
- 'dotted',
1925
- 'dashed',
1926
- 'solid',
1927
- 'double',
1928
- 'groove',
1929
- 'ridge',
1930
- 'inset',
1931
- 'outset'
1932
- ]
1933
- },
1934
- {
1935
- key: [
1936
- 'border-width',
1937
- 'border',
1938
- 'b',
1939
- 'border-top-width',
1940
- 'border-top',
1941
- 'bt',
1942
- 'border-bottom-width',
1943
- 'border-bottom',
1944
- 'bb',
1945
- 'border-left-width',
1946
- 'border-left',
1947
- 'bl',
1948
- 'border-right-width',
1949
- 'border-right',
1950
- 'br',
1951
- 'bx',
1952
- 'by'
1953
- ],
1954
- colored: false,
1955
- values: []
1956
- },
1957
- //OUTLINE
1958
- {
1959
- key: [
1960
- 'outline'
1961
- ],
1962
- colored: false,
1963
- values: []
1964
- },
1965
- {
1966
- key: [
1967
- 'outline-color',
1968
- 'outline'
1969
- ],
1970
- colored: true,
1971
- values: []
1972
- },
1973
- {
1974
- key: [
1975
- 'outline-offset'
1976
- ],
1977
- colored: false,
1978
- values: []
1979
- },
1980
- {
1981
- key: [
1982
- 'outline-style',
1983
- 'outline'
1984
- ],
1985
- colored: false,
1986
- values: [
1987
- 'none',
1988
- 'dotted',
1989
- 'dashed',
1990
- 'solid',
1991
- 'double',
1992
- 'groove',
1993
- 'ridge',
1994
- 'inset',
1995
- 'outset'
1996
- ]
1997
- },
1998
- {
1999
- key: [
2000
- 'outline-width',
2001
- 'outline'
2002
- ],
2003
- colored: false,
2004
- values: [
2005
- 'medium',
2006
- 'thick',
2007
- 'thin'
2008
- ]
2009
- },
2010
- //SHAPE
2011
- {
2012
- key: [
2013
- 'shape-image-threshold'
2014
- ],
2015
- colored: false,
2016
- values: []
2017
- },
2018
- {
2019
- key: [
2020
- 'shape-margin',
2021
- 'shape'
2022
- ],
2023
- colored: false,
2024
- values: [
2025
- {
2026
- label: 'max()',
2027
- kind: 3
2028
- },
2029
- {
2030
- label: 'min()',
2031
- kind: 3
2032
- },
2033
- {
2034
- label: 'calc()',
2035
- kind: 3
2036
- },
2037
- {
2038
- label: 'clamp()',
2039
- kind: 3
2040
- }
2041
- ]
2042
- },
2043
- {
2044
- key: [
2045
- 'shape-outside',
2046
- 'shape'
2047
- ],
2048
- colored: false,
2049
- values: [
2050
- 'none',
2051
- 'content-box',
2052
- 'border-box',
2053
- 'padding-box',
2054
- 'margin-box',
2055
- {
2056
- label: 'inset()',
2057
- kind: 3
2058
- },
2059
- {
2060
- label: 'circle()',
2061
- kind: 3
2062
- },
2063
- {
2064
- label: 'ellipse()',
2065
- kind: 3
2066
- },
2067
- {
2068
- label: 'polygon()',
2069
- kind: 3
2070
- },
2071
- {
2072
- label: 'url()',
2073
- kind: 3
2074
- },
2075
- {
2076
- label: 'linear-gradient()',
2077
- kind: 3
2078
- }
2079
- ]
2080
- },
2081
- {
2082
- key: [
2083
- 'clip-path',
2084
- 'clip'
2085
- ],
2086
- colored: false,
2087
- values: [
2088
- 'none',
2089
- 'content-box',
2090
- 'border-box',
2091
- 'padding-box',
2092
- 'margin-box',
2093
- 'fill-box',
2094
- 'stroke-box',
2095
- 'view-box',
2096
- {
2097
- label: 'inset()',
2098
- kind: 3
2099
- },
2100
- {
2101
- label: 'circle()',
2102
- kind: 3
2103
- },
2104
- {
2105
- label: 'ellipse()',
2106
- kind: 3
2107
- },
2108
- {
2109
- label: 'polygon()',
2110
- kind: 3
2111
- },
2112
- {
2113
- label: 'path()',
2114
- kind: 3
2115
- },
2116
- {
2117
- label: 'url()',
2118
- kind: 3
2119
- }
2120
- ]
2121
- },
2122
- //SIZING
2123
- {
2124
- key: [
2125
- 'aspect-ratio',
2126
- 'aspect'
2127
- ],
2128
- colored: false,
2129
- values: []
2130
- },
2131
- {
2132
- key: [
2133
- 'box-sizing',
2134
- 'box'
2135
- ],
2136
- colored: false,
2137
- values: [
2138
- 'content-box',
2139
- 'border-box'
2140
- ]
2141
- },
2142
- {
2143
- key: [
2144
- 'width',
2145
- 'w'
2146
- ],
2147
- colored: false,
2148
- values: [
2149
- '100%',
2150
- 'fit-content',
2151
- 'max-content',
2152
- 'min-content'
2153
- ]
2154
- },
2155
- {
2156
- key: [
2157
- 'min-width',
2158
- 'min-w'
2159
- ],
2160
- colored: false,
2161
- values: [
2162
- '100%',
2163
- 'fit-content',
2164
- 'max-content',
2165
- 'min-content'
2166
- ]
2167
- },
2168
- {
2169
- key: [
2170
- 'max-width',
2171
- 'max-w'
2172
- ],
2173
- colored: false,
2174
- values: [
2175
- '100%',
2176
- 'fit-content',
2177
- 'max-content',
2178
- 'min-content'
2179
- ]
2180
- },
2181
- {
2182
- key: [
2183
- 'height',
2184
- 'h'
2185
- ],
2186
- colored: false,
2187
- values: [
2188
- '100%',
2189
- 'fit-content',
2190
- 'max-content',
2191
- 'min-content'
2192
- ]
2193
- },
2194
- {
2195
- key: [
2196
- 'min-height',
2197
- 'min-h'
2198
- ],
2199
- colored: false,
2200
- values: [
2201
- '100%',
2202
- 'fit-content',
2203
- 'max-content',
2204
- 'min-content'
2205
- ]
2206
- },
2207
- {
2208
- key: [
2209
- 'max-height',
2210
- 'max-h'
2211
- ],
2212
- colored: false,
2213
- values: [
2214
- '100%',
2215
- 'fit-content',
2216
- 'max-content',
2217
- 'min-content'
2218
- ]
2219
- },
2220
- //TYPOGRAPHY
2221
- {
2222
- key: [
2223
- 'letter-spacing',
2224
- 'ls'
2225
- ],
2226
- colored: false,
2227
- values: []
2228
- },
2229
- {
2230
- key: [
2231
- 'margin-top',
2232
- 'mt',
2233
- 'margin-bottom',
2234
- 'mb',
2235
- 'margin-left',
2236
- 'ml',
2237
- 'margin-right',
2238
- 'mr',
2239
- 'margin',
2240
- 'm',
2241
- 'mx',
2242
- 'my'
2243
- ],
2244
- colored: false,
2245
- values: [
2246
- ...commonUnit
2247
- ]
2248
- },
2249
- {
2250
- key: [
2251
- 'padding-top',
2252
- 'pt',
2253
- 'padding-bottom',
2254
- 'pb',
2255
- 'padding-left',
2256
- 'pl',
2257
- 'padding-right',
2258
- 'pr',
2259
- 'padding',
2260
- 'p',
2261
- 'px',
2262
- 'py'
2263
- ],
2264
- colored: false,
2265
- values: [
2266
- ...commonUnit
2267
- ]
2268
- },
2269
- {
2270
- key: [
2271
- 'word-spacing'
2272
- ],
2273
- colored: false,
2274
- values: []
2275
- },
2276
- //TRANSITION
2277
- {
2278
- key: [
2279
- 'transition'
2280
- ],
2281
- colored: false,
2282
- values: []
2283
- },
2284
- {
2285
- key: [
2286
- 'transition-delay',
2287
- '~delay'
2288
- ],
2289
- colored: false,
2290
- values: []
2291
- },
2292
- {
2293
- key: [
2294
- 'transition-duration',
2295
- '~duration'
2296
- ],
2297
- colored: false,
2298
- values: []
2299
- },
2300
- {
2301
- key: [
2302
- 'transition-property',
2303
- '~property'
2304
- ],
2305
- colored: false,
2306
- values: []
2307
- },
2308
- {
2309
- key: [
2310
- 'transition-timing-function',
2311
- '~easing'
2312
- ],
2313
- colored: false,
2314
- values: [
2315
- 'ease',
2316
- 'ease-in',
2317
- 'ease-out',
2318
- 'linear',
2319
- 'step-start',
2320
- 'step-end',
2321
- {
2322
- label: 'steps(,)',
2323
- kind: 3
2324
- },
2325
- {
2326
- label: 'cubic-bezier(,,,)',
2327
- kind: 3
2328
- },
2329
- {
2330
- label: 'frames()',
2331
- kind: 3
2332
- }
2333
- ]
2334
- },
2335
- //TRANSFORM
2336
- {
2337
- key: [
2338
- 'transform'
2339
- ],
2340
- colored: false,
2341
- values: [
2342
- {
2343
- label: 'translate()',
2344
- kind: 3
2345
- },
2346
- {
2347
- label: 'translate3d()',
2348
- kind: 3
2349
- },
2350
- {
2351
- label: 'translateX()',
2352
- kind: 3
2353
- },
2354
- {
2355
- label: 'translateY()',
2356
- kind: 3
2357
- },
2358
- {
2359
- label: 'translateZ()',
2360
- kind: 3
2361
- },
2362
- {
2363
- label: 'scale()',
2364
- kind: 3
2365
- },
2366
- {
2367
- label: 'scale3d()',
2368
- kind: 3
2369
- },
2370
- {
2371
- label: 'scaleX()',
2372
- kind: 3
2373
- },
2374
- {
2375
- label: 'scaleY()',
2376
- kind: 3
2377
- },
2378
- {
2379
- label: 'scaleZ()',
2380
- kind: 3
2381
- },
2382
- {
2383
- label: 'skew()',
2384
- kind: 3
2385
- },
2386
- {
2387
- label: 'skewX()',
2388
- kind: 3
2389
- },
2390
- {
2391
- label: 'skewY()',
2392
- kind: 3
2393
- },
2394
- {
2395
- label: 'rotate()',
2396
- kind: 3
2397
- },
2398
- {
2399
- label: 'rotate3d()',
2400
- kind: 3
2401
- },
2402
- {
2403
- label: 'rotateX()',
2404
- kind: 3
2405
- },
2406
- {
2407
- label: 'rotateY()',
2408
- kind: 3
2409
- },
2410
- {
2411
- label: 'rotateZ()',
2412
- kind: 3
2413
- },
2414
- {
2415
- label: 'perspective()',
2416
- kind: 3
2417
- },
2418
- {
2419
- label: 'matrix()',
2420
- kind: 3
2421
- },
2422
- {
2423
- label: 'matrix3d()',
2424
- kind: 3
2425
- }
2426
- ]
2427
- },
2428
- {
2429
- key: [
2430
- 'transform-box',
2431
- 'transform'
2432
- ],
2433
- colored: false,
2434
- values: [
2435
- 'content-box',
2436
- 'fill-box',
2437
- 'stroke-box',
2438
- 'view-box',
2439
- 'border-box'
2440
- ]
2441
- },
2442
- {
2443
- key: [
2444
- 'transform-origin',
2445
- 'transform'
2446
- ],
2447
- colored: false,
2448
- values: [
2449
- 'top',
2450
- 'bottom',
2451
- 'right',
2452
- 'left',
2453
- 'center'
2454
- ]
2455
- },
2456
- {
2457
- key: [
2458
- 'transform-style',
2459
- 'transform'
2460
- ],
2461
- colored: false,
2462
- values: [
2463
- 'flat',
2464
- 'preserve-3d'
2465
- ]
2466
- },
2467
- //ANIMATION
2468
- {
2469
- key: [
2470
- 'animation'
2471
- ],
2472
- colored: false,
2473
- values: []
2474
- },
2475
- {
2476
- key: [
2477
- 'animation-delay',
2478
- '@delay'
2479
- ],
2480
- colored: false,
2481
- values: []
2482
- },
2483
- {
2484
- key: [
2485
- 'animation-direction',
2486
- '@direction'
2487
- ],
2488
- colored: false,
2489
- values: [
2490
- 'normal',
2491
- 'reverse',
2492
- 'alternate',
2493
- 'alternate-reverse'
2494
- ]
2495
- },
2496
- {
2497
- key: [
2498
- 'animation-duration',
2499
- '@duration'
2500
- ],
2501
- colored: false,
2502
- values: []
2503
- },
2504
- {
2505
- key: [
2506
- 'animation-fill-mode',
2507
- '@fill-mode'
2508
- ],
2509
- colored: false,
2510
- values: [
2511
- 'none',
2512
- 'forwards',
2513
- 'backwards',
2514
- 'both'
2515
- ]
2516
- },
2517
- {
2518
- key: [
2519
- 'animation-iteration-count',
2520
- '@iteration-count'
2521
- ],
2522
- colored: false,
2523
- values: [
2524
- 'infinite'
2525
- ]
2526
- },
2527
- {
2528
- key: [
2529
- 'animation-name',
2530
- '@name'
2531
- ],
2532
- colored: false,
2533
- values: []
2534
- },
2535
- {
2536
- key: [
2537
- 'animation-play-state',
2538
- '@play-state'
2539
- ],
2540
- colored: false,
2541
- values: [
2542
- 'running',
2543
- 'paused'
2544
- ]
2545
- },
2546
- {
2547
- key: [
2548
- 'animation-timing-function',
2549
- '@easing'
2550
- ],
2551
- colored: false,
2552
- values: [
2553
- 'ease',
2554
- 'ease-in',
2555
- 'ease-out',
2556
- 'ease-in-out',
2557
- 'linear',
2558
- 'step-start',
2559
- 'step-end',
2560
- {
2561
- label: 'steps(,)',
2562
- kind: 3
2563
- },
2564
- {
2565
- label: 'cubic-bezier(,,,)',
2566
- kind: 3
2567
- },
2568
- {
2569
- label: 'frames()',
2570
- kind: 3
2571
- }
2572
- ]
2573
- },
2574
- //SVG
2575
- {
2576
- key: [
2577
- 'fill'
2578
- ],
2579
- colored: true,
2580
- values: []
2581
- },
2582
- {
2583
- key: [
2584
- 'stroke'
2585
- ],
2586
- colored: true,
2587
- values: []
2588
- },
2589
- {
2590
- key: [
2591
- 'stroke-width'
2592
- ],
2593
- colored: false,
2594
- values: []
2595
- },
2596
- //VISIBILITY
2597
- {
2598
- key: [
2599
- 'opacity'
2600
- ],
2601
- colored: false,
2602
- values: []
2603
- },
2604
- {
2605
- key: [
2606
- 'visibility'
2607
- ],
2608
- colored: false,
2609
- values: [
2610
- 'visible',
2611
- 'invisible',
2612
- 'collapse'
2613
- ]
2614
- },
2615
- //EFFECT
2616
- {
2617
- key: [
2618
- 'backdrop-filter',
2619
- 'bd'
2620
- ],
2621
- colored: false,
2622
- values: [
2623
- 'none',
2624
- {
2625
- label: 'url(svg)',
2626
- kind: 3
2627
- },
2628
- {
2629
- label: 'blur()',
2630
- kind: 3
2631
- },
2632
- {
2633
- label: 'brightness()',
2634
- kind: 3
2635
- },
2636
- {
2637
- label: 'contrast()',
2638
- kind: 3
2639
- },
2640
- {
2641
- label: 'grayscale()',
2642
- kind: 3
2643
- },
2644
- {
2645
- label: 'hue-rotate(degree)',
2646
- kind: 3
2647
- },
2648
- {
2649
- label: 'invert()',
2650
- kind: 3
2651
- },
2652
- {
2653
- label: 'sepia()',
2654
- kind: 3
2655
- },
2656
- {
2657
- label: 'saturate()',
2658
- kind: 3
2659
- },
2660
- {
2661
- label: 'opacity()',
2662
- kind: 3
2663
- },
2664
- {
2665
- label: 'drop-shadow()',
2666
- kind: 3
2667
- }
2668
- ]
2669
- },
2670
- {
2671
- key: [
2672
- 'background-blend-mode'
2673
- ],
2674
- colored: false,
2675
- values: [
2676
- 'normal',
2677
- 'multiply',
2678
- 'screen',
2679
- 'overlay',
2680
- 'darken',
2681
- 'lighten',
2682
- 'color-dodge',
2683
- 'color-burn',
2684
- 'hard-light',
2685
- 'soft-light',
2686
- 'difference',
2687
- 'exclusion',
2688
- 'hue',
2689
- 'saturation',
2690
- 'color',
2691
- 'luminosity'
2692
- ]
2693
- },
2694
- {
2695
- key: [
2696
- 'box-shadow',
2697
- 'shadow',
2698
- 's'
2699
- ],
2700
- colored: true,
2701
- values: [
2702
- 'inset'
2703
- ]
2704
- },
2705
- {
2706
- key: [
2707
- 'filter'
2708
- ],
2709
- colored: false,
2710
- values: [
2711
- 'none',
2712
- {
2713
- label: 'url()',
2714
- kind: 3
2715
- },
2716
- {
2717
- label: 'blur()',
2718
- kind: 3
2719
- },
2720
- {
2721
- label: 'brightness()',
2722
- kind: 3
2723
- },
2724
- {
2725
- label: 'contrast()',
2726
- kind: 3
2727
- },
2728
- {
2729
- label: 'drop-shadow()',
2730
- kind: 3
2731
- },
2732
- {
2733
- label: 'grayscale()',
2734
- kind: 3
2735
- },
2736
- {
2737
- label: 'hue-rotate(degree)',
2738
- kind: 3
2739
- },
2740
- {
2741
- label: 'invert()',
2742
- kind: 3
2743
- },
2744
- {
2745
- label: 'opacity()',
2746
- kind: 3
2747
- },
2748
- {
2749
- label: 'saturate()',
2750
- kind: 3
2751
- },
2752
- {
2753
- label: 'sepia()',
2754
- kind: 3
2755
- }
2756
- ]
2757
- },
2758
- {
2759
- key: [
2760
- 'mask-image'
2761
- ],
2762
- colored: false,
2763
- values: []
2764
- },
2765
- {
2766
- key: [
2767
- 'mix-blend-mode',
2768
- 'blend'
2769
- ],
2770
- colored: false,
2771
- values: [
2772
- 'normal',
2773
- 'multiply',
2774
- 'screen',
2775
- 'overlay',
2776
- 'darken',
2777
- 'lighten',
2778
- 'color-dodge',
2779
- 'color-burn',
2780
- 'hard-light',
2781
- 'soft-light',
2782
- 'difference',
2783
- 'exclusion',
2784
- 'hue',
2785
- 'saturation',
2786
- 'color',
2787
- 'luminosity'
2788
- ]
2789
- },
2790
- {
2791
- key: [
2792
- 'text-shadow'
2793
- ],
2794
- colored: false,
2795
- values: []
2796
- },
2797
- //SCROLL
2798
- {
2799
- key: [
2800
- 'overscroll-behavior',
2801
- 'overscroll-behavior-x',
2802
- 'overscroll-behavior-y'
2803
- ],
2804
- colored: false,
2805
- values: [
2806
- 'auto',
2807
- 'none',
2808
- 'contain'
2809
- ]
2810
- },
2811
- {
2812
- key: [
2813
- 'scroll-behavior'
2814
- ],
2815
- colored: false,
2816
- values: [
2817
- 'auto',
2818
- 'smooth'
2819
- ]
2820
- },
2821
- {
2822
- key: [
2823
- 'scroll-margin',
2824
- 'scroll-m',
2825
- 'scroll-margin-top',
2826
- 'scroll-mt',
2827
- 'scroll-margin-bottom',
2828
- 'scroll-mb',
2829
- 'scroll-margin-left',
2830
- 'scroll-ml',
2831
- 'scroll-margin-right',
2832
- 'scroll-mr',
2833
- 'scroll-mx',
2834
- 'scroll-my'
2835
- ],
2836
- colored: false,
2837
- values: []
2838
- },
2839
- {
2840
- key: [
2841
- 'scroll-padding',
2842
- 'scroll-p',
2843
- 'scroll-padding',
2844
- 'scroll-padding-top',
2845
- 'scroll-pt',
2846
- 'scroll-padding-bottom',
2847
- 'scroll-pb',
2848
- 'scroll-padding-left',
2849
- 'scroll-pl',
2850
- 'scroll-padding-right',
2851
- 'scroll-pr',
2852
- 'scroll-px',
2853
- 'scroll-py'
2854
- ],
2855
- colored: false,
2856
- values: []
2857
- },
2858
- {
2859
- key: [
2860
- 'scroll-snap-align',
2861
- 'scroll-snap'
2862
- ],
2863
- colored: false,
2864
- values: [
2865
- 'center',
2866
- 'end',
2867
- 'start',
2868
- 'none'
2869
- ]
2870
- },
2871
- {
2872
- key: [
2873
- 'scroll-snap-stop',
2874
- 'scroll-snap'
2875
- ],
2876
- colored: false,
2877
- values: [
2878
- 'always',
2879
- 'normal'
2880
- ]
2881
- },
2882
- {
2883
- key: [
2884
- 'scroll-snap-type'
2885
- ],
2886
- colored: false,
2887
- values: [
2888
- 'none'
2889
- ]
2890
- },
2891
- {
2892
- key: [
2893
- 'scroll-snap-type',
2894
- 'scroll-snap'
2895
- ],
2896
- colored: false,
2897
- values: [
2898
- 'x',
2899
- 'y',
2900
- 'both',
2901
- 'block',
2902
- 'inline',
2903
- 'x|mandatory',
2904
- 'y|proximity',
2905
- 'both|mandatory'
2906
- ]
2907
- },
2908
- //INTERACTIVITY
2909
- {
2910
- key: [
2911
- 'pointer-events'
2912
- ],
2913
- colored: false,
2914
- values: [
2915
- 'auto',
2916
- 'none',
2917
- 'visiblePainted',
2918
- 'visibleFill',
2919
- 'visibleStroke',
2920
- 'visible',
2921
- 'painted',
2922
- 'fill',
2923
- 'stroke',
2924
- 'all',
2925
- 'bounding-box'
2926
- ]
2927
- },
2928
- {
2929
- key: [
2930
- 'resize'
2931
- ],
2932
- colored: false,
2933
- values: [
2934
- 'auto',
2935
- 'none',
2936
- 'both',
2937
- 'horizontal',
2938
- 'vertical',
2939
- 'block',
2940
- 'inline'
2941
- ]
2942
- },
2943
- {
2944
- key: [
2945
- 'touch-action'
2946
- ],
2947
- colored: false,
2948
- values: [
2949
- 'auto',
2950
- 'none',
2951
- 'pan-x',
2952
- 'pan-left',
2953
- 'pan-right',
2954
- 'pan-y',
2955
- 'pan-up',
2956
- 'pan-down',
2957
- 'pinch-zoom',
2958
- 'manipulation'
2959
- ]
2960
- },
2961
- {
2962
- key: [
2963
- 'user-drag'
2964
- ],
2965
- colored: false,
2966
- values: [
2967
- 'auto',
2968
- 'none',
2969
- 'element'
2970
- ]
2971
- },
2972
- {
2973
- key: [
2974
- 'user-select'
2975
- ],
2976
- colored: false,
2977
- values: [
2978
- 'all',
2979
- 'auto',
2980
- 'none',
2981
- 'text'
2982
- ]
2983
- },
2984
- //OPTIMIZATION
2985
- {
2986
- key: [
2987
- 'contain'
2988
- ],
2989
- colored: false,
2990
- values: [
2991
- 'none',
2992
- 'strict',
2993
- 'content',
2994
- 'size',
2995
- 'layout',
2996
- 'style',
2997
- 'paint'
2998
- ]
2999
- },
3000
- {
3001
- key: [
3002
- 'font',
3003
- 'f'
3004
- ],
3005
- colored: false,
3006
- values: [
3007
- 'antialiased',
3008
- 'subpixel-antialiased'
3009
- ]
3010
- },
3011
- {
3012
- key: [
3013
- 'text-rendering'
3014
- ],
3015
- colored: false,
3016
- values: [
3017
- 'auto'
3018
- ]
3019
- },
3020
- {
3021
- key: [
3022
- 'text-rendering',
3023
- 't'
3024
- ],
3025
- colored: false,
3026
- values: [
3027
- 'optimizeSpeed',
3028
- 'optimizeLegibility',
3029
- 'geometricPrecision'
3030
- ]
3031
- },
3032
- {
3033
- key: [
3034
- 'will-change'
3035
- ],
3036
- colored: false,
3037
- values: []
3038
- }
3039
- ];
3040
- const masterCssType = [
3041
- {
3042
- type: 'color',
3043
- values: [
3044
- '#',
3045
- {
3046
- label: 'rgb()',
3047
- kind: 3
3048
- },
3049
- {
3050
- label: 'hsl()',
3051
- kind: 3
3052
- }
3053
- ]
3054
- }
3055
- ];
3056
-
3057
- exports.commonUnit = commonUnit;
3058
- exports.masterCssCommonValues = masterCssCommonValues;
3059
- exports.masterCssElements = masterCssElements;
3060
- exports.masterCssKeyValues = masterCssKeyValues;
3061
- exports.masterCssMedia = masterCssMedia;
3062
- exports.masterCssOtherKeys = masterCssOtherKeys;
3063
- exports.masterCssSelectors = masterCssSelectors;
3064
- exports.masterCssType = masterCssType;