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