@master/css-language-server 2.0.0-beta.75 → 2.0.0-beta.78
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/completionProvider.d.ts +11 -0
- package/dist/constant.d.ts +32 -0
- package/dist/documentColorProvider.d.ts +22 -0
- package/dist/hoverProvider.d.ts +19 -0
- package/dist/masterCss.d.ts +17 -0
- package/dist/server.cjs +1 -0
- package/dist/server.d.ts +1 -0
- package/dist/server.mjs +1 -0
- package/dist/utils/hex-to-rgb.d.ts +2 -0
- package/dist/utils/regex.d.ts +1 -0
- package/package.json +1 -1
- package/src/completionProvider.ts +0 -307
- package/src/constant.ts +0 -1170
- package/src/documentColorProvider.ts +0 -296
- package/src/hoverProvider.ts +0 -158
- package/src/masterCss.ts +0 -80
- package/src/server.ts +0 -264
- package/src/utils/hex-to-rgb.ts +0 -8
- package/src/utils/regex.ts +0 -1
- package/tsconfig.json +0 -14
package/src/constant.ts
DELETED
|
@@ -1,1170 +0,0 @@
|
|
|
1
|
-
import { CompletionItem, CompletionItemKind } from 'vscode-languageserver'
|
|
2
|
-
|
|
3
|
-
interface MasterCssKey {
|
|
4
|
-
key: string[];
|
|
5
|
-
colorful: boolean,
|
|
6
|
-
values: Array<string | CompletionItem>;
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
export const masterCssSelectors = [
|
|
10
|
-
{ label: 'lang()', kind: CompletionItemKind.Function }, { label: 'has()', kind: CompletionItemKind.Function }, 'any-link', 'link', 'visited', 'target', 'scope', 'hover', 'active', 'focus', 'focus-visible', 'focus-within',
|
|
11
|
-
'autofill', 'enabled', 'disabled', 'read-only', 'read-write', 'placeholder-shown', 'default', 'checked', 'indeterminate', 'valid', 'invalid', 'in-range',
|
|
12
|
-
'out-of-range', 'required', 'optional', 'root', 'empty',
|
|
13
|
-
{ label: 'nth-child()', kind: CompletionItemKind.Function },
|
|
14
|
-
{ label: 'nth-last-child()', kind: CompletionItemKind.Function }, 'first-child', 'last-child', 'only-child',
|
|
15
|
-
{ label: 'nth-of-type()', kind: CompletionItemKind.Function },
|
|
16
|
-
|
|
17
|
-
{ label: 'nth-last-of-type()', kind: CompletionItemKind.Function }, 'first-of-type', 'last-of-type', 'only-of-type', 'defined', 'first', 'fullscreen',
|
|
18
|
-
{ label: 'host()', kind: CompletionItemKind.Function },
|
|
19
|
-
{ label: 'host-context()', kind: CompletionItemKind.Function },
|
|
20
|
-
{ label: 'is()', kind: CompletionItemKind.Function }, 'left',
|
|
21
|
-
{ label: 'not()', kind: CompletionItemKind.Function },
|
|
22
|
-
'right',
|
|
23
|
-
{ label: 'where()', kind: CompletionItemKind.Function }
|
|
24
|
-
]
|
|
25
|
-
|
|
26
|
-
export const masterCssElements = ['after', 'before', 'backdrop', 'cue', 'first-letter', 'first-line', 'file-selector-button', 'marker',
|
|
27
|
-
{ label: 'part()', kind: CompletionItemKind.Function }, 'placeholder'
|
|
28
|
-
, 'selection',
|
|
29
|
-
{ label: 'slotted()', kind: CompletionItemKind.Function }, 'resizer',
|
|
30
|
-
'search-cancel-button', 'search-results-button'
|
|
31
|
-
]
|
|
32
|
-
|
|
33
|
-
export const masterCssMedia = [
|
|
34
|
-
'all', 'print', 'screen', 'portrait', 'landscape', 'motion', 'reduced-motion',
|
|
35
|
-
{ label: 'media()', kind: CompletionItemKind.Function }
|
|
36
|
-
]
|
|
37
|
-
|
|
38
|
-
export const masterCssOtherKeys = [
|
|
39
|
-
'ext', 'gap', 'ont', 'ovf', 'quotes', 'bottom', 'center', 'left', 'middle', 'top', 'right', 'px', 'py', 'pt', 'pb', 'pl', 'pr', 'mx', 'my', 'mt', 'mb', 'ml', 'mr'
|
|
40
|
-
]
|
|
41
|
-
|
|
42
|
-
export const masterCssCommonValues = [
|
|
43
|
-
{ label: 'var()', kind: CompletionItemKind.Function },
|
|
44
|
-
{ label: 'calc()', kind: CompletionItemKind.Function },
|
|
45
|
-
'inherit',
|
|
46
|
-
'initial',
|
|
47
|
-
'unset'
|
|
48
|
-
]
|
|
49
|
-
|
|
50
|
-
export const masterCssKeyValues: MasterCssKey[] = [
|
|
51
|
-
{
|
|
52
|
-
key: ['color', 'fg', 'foreground'],
|
|
53
|
-
colorful: true,
|
|
54
|
-
values: []
|
|
55
|
-
},
|
|
56
|
-
//APPEARANCE
|
|
57
|
-
{
|
|
58
|
-
key: ['font-color', 'font', 'f'],
|
|
59
|
-
colorful: true,
|
|
60
|
-
values: []
|
|
61
|
-
},
|
|
62
|
-
{
|
|
63
|
-
key: ['accent-color', 'accent'],
|
|
64
|
-
colorful: true,
|
|
65
|
-
values: []
|
|
66
|
-
},
|
|
67
|
-
{
|
|
68
|
-
key: ['appearance'],
|
|
69
|
-
colorful: false,
|
|
70
|
-
values: ['none', 'auto', 'menulist-button', 'textfield', 'button', 'searchfield', 'textarea', 'push-button', 'slider-horizontal', 'checkbox', 'radio', 'square-button', 'menulist', 'listbox', 'meter', 'progress-bar']
|
|
71
|
-
},
|
|
72
|
-
{
|
|
73
|
-
key: ['caret-color', 'caret'],
|
|
74
|
-
colorful: true,
|
|
75
|
-
values: ['transparent']
|
|
76
|
-
},
|
|
77
|
-
{
|
|
78
|
-
key: ['cursor'],
|
|
79
|
-
colorful: false,
|
|
80
|
-
values: ['auto', 'alias', 'all-scroll', 'cell', 'col-resize', 'context-menu', 'copy', 'crosshair', 'default', 'e-resize', 'ew-resize', 'grab', 'grabbing', 'help', 'move', 'n-resize', 'ne-resize', 'nesw-resize', 'no-drop', 'none', 'not-allowed', 'ns-resize', 'nw-resize', 'nwse-resize', 'pointer', 'progress', 'row-resize', 's-resize', 'se-resize', 'sw-resize', 'text', 'vertical-text', 'w-resize', 'wait', 'zoom-in', 'zoom-out']
|
|
81
|
-
},
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
//LAYOUT
|
|
85
|
-
{
|
|
86
|
-
key: ['box-decoration-break', 'box'],
|
|
87
|
-
colorful: false,
|
|
88
|
-
values: ['slice', 'clone']
|
|
89
|
-
},
|
|
90
|
-
{
|
|
91
|
-
key: ['break-after', 'break-before'],
|
|
92
|
-
colorful: false,
|
|
93
|
-
values: ['avoid-column', 'column', 'left', 'page', 'recto', 'right', 'recto', 'verso', 'auto', 'avoid', 'avoid-column', 'avoid-page', 'revert']
|
|
94
|
-
},
|
|
95
|
-
{
|
|
96
|
-
key: ['break-inside'],
|
|
97
|
-
colorful: false,
|
|
98
|
-
values: ['auto', 'avoid', 'avoid-column', 'avoid-page', 'revert']
|
|
99
|
-
},
|
|
100
|
-
{
|
|
101
|
-
key: ['clear'],
|
|
102
|
-
colorful: false,
|
|
103
|
-
values: ['both', 'left', 'none', 'right']
|
|
104
|
-
},
|
|
105
|
-
{
|
|
106
|
-
key: ['columns', 'cols'],
|
|
107
|
-
colorful: false,
|
|
108
|
-
values: []
|
|
109
|
-
},
|
|
110
|
-
{
|
|
111
|
-
key: ['column-span', 'col-span'],
|
|
112
|
-
colorful: false,
|
|
113
|
-
values: ['all', 'none']
|
|
114
|
-
},
|
|
115
|
-
{
|
|
116
|
-
key: ['direction'],
|
|
117
|
-
colorful: false,
|
|
118
|
-
values: ['ltr', 'rtl']
|
|
119
|
-
},
|
|
120
|
-
{
|
|
121
|
-
key: ['display', 'd'],
|
|
122
|
-
colorful: false,
|
|
123
|
-
values: ['hidden', 'hide', 'flex', 'grid', 'inline', 'none', 'block', 'table', 'contents', 'inline-block', 'inline-flex', 'inline-grid', 'inline-table', 'table-cell', 'table-caption', 'flow-root', 'list-item', 'table-row', 'table-column', 'table-row-group', 'table-column-group', 'table-header-group', 'table-footer-group']
|
|
124
|
-
},
|
|
125
|
-
{
|
|
126
|
-
key: ['float'],
|
|
127
|
-
colorful: false,
|
|
128
|
-
values: ['left', 'none', 'right']
|
|
129
|
-
},
|
|
130
|
-
{
|
|
131
|
-
key: ['inset'],
|
|
132
|
-
colorful: false,
|
|
133
|
-
values: []
|
|
134
|
-
},
|
|
135
|
-
{
|
|
136
|
-
key: ['isolation'],
|
|
137
|
-
colorful: false,
|
|
138
|
-
values: ['auto', 'isolate']
|
|
139
|
-
},
|
|
140
|
-
{
|
|
141
|
-
key: ['overflow', 'overflow-x', 'overflow-y'],
|
|
142
|
-
colorful: false,
|
|
143
|
-
values: ['auto', 'hidden', 'overlay', 'scroll', 'visible', 'clip']
|
|
144
|
-
},
|
|
145
|
-
{
|
|
146
|
-
key: ['position'],
|
|
147
|
-
colorful: false,
|
|
148
|
-
values: ['absolute', 'relative', 'static', 'fixed', 'sticky']
|
|
149
|
-
},
|
|
150
|
-
{
|
|
151
|
-
key: ['z-index', 'z'],
|
|
152
|
-
colorful: false,
|
|
153
|
-
values: []
|
|
154
|
-
},
|
|
155
|
-
//FLEX
|
|
156
|
-
{
|
|
157
|
-
key: ['flex'],
|
|
158
|
-
colorful: false,
|
|
159
|
-
values: []
|
|
160
|
-
},
|
|
161
|
-
{
|
|
162
|
-
key: ['flex-basis'],
|
|
163
|
-
colorful: false,
|
|
164
|
-
values: ['100%', 'fit-content', 'max-content', 'min-content']
|
|
165
|
-
},
|
|
166
|
-
{
|
|
167
|
-
key: ['flex-direction', 'flex'],
|
|
168
|
-
colorful: false,
|
|
169
|
-
values: ['column', 'row', 'column-reverse', 'row-reverse']
|
|
170
|
-
},
|
|
171
|
-
{
|
|
172
|
-
key: ['flex-grow', 'flex-shrink'],
|
|
173
|
-
colorful: false,
|
|
174
|
-
values: []
|
|
175
|
-
},
|
|
176
|
-
{
|
|
177
|
-
key: ['flex-wrap', 'flex'],
|
|
178
|
-
colorful: false,
|
|
179
|
-
values: ['wrap', 'wrap-reverse', 'nowrap']
|
|
180
|
-
},
|
|
181
|
-
//GRID
|
|
182
|
-
{
|
|
183
|
-
key: ['grid'],
|
|
184
|
-
colorful: false,
|
|
185
|
-
values: []
|
|
186
|
-
},
|
|
187
|
-
{
|
|
188
|
-
key: ['grid-auto-columns', 'grid-auto-cols'],
|
|
189
|
-
colorful: false,
|
|
190
|
-
values: ['auto', 'min-content', 'max-content',
|
|
191
|
-
{ label: 'minmax(,)', kind: CompletionItemKind.Function }]
|
|
192
|
-
},
|
|
193
|
-
{
|
|
194
|
-
key: ['grid-auto-flow'],
|
|
195
|
-
colorful: false,
|
|
196
|
-
values: ['row', 'column', 'dense', 'row|dense', 'column|dense']
|
|
197
|
-
},
|
|
198
|
-
{
|
|
199
|
-
key: ['grid-auto-rows'],
|
|
200
|
-
colorful: false,
|
|
201
|
-
values: ['auto', 'min-content', 'max-content',
|
|
202
|
-
{ label: 'minmax(,)', kind: CompletionItemKind.Function }]
|
|
203
|
-
},
|
|
204
|
-
{
|
|
205
|
-
key: ['grid-column', 'grid-col', 'grid-column-span', 'grid-col-span', 'grid-column-start', 'grid-col-start', 'grid-column-end', 'grid-col-end'],
|
|
206
|
-
colorful: false,
|
|
207
|
-
values: []
|
|
208
|
-
},
|
|
209
|
-
{
|
|
210
|
-
key: ['grid-columns', 'grid-cols'],
|
|
211
|
-
colorful: false,
|
|
212
|
-
values: []
|
|
213
|
-
},
|
|
214
|
-
{
|
|
215
|
-
key: ['grid-row', 'grid-row-span', 'grid-row-start', 'grid-row-end'],
|
|
216
|
-
colorful: false,
|
|
217
|
-
values: []
|
|
218
|
-
},
|
|
219
|
-
{
|
|
220
|
-
key: ['grid-rows'],
|
|
221
|
-
colorful: false,
|
|
222
|
-
values: []
|
|
223
|
-
},
|
|
224
|
-
{
|
|
225
|
-
key: ['grid-template'],
|
|
226
|
-
colorful: false,
|
|
227
|
-
values: ['none']
|
|
228
|
-
},
|
|
229
|
-
{
|
|
230
|
-
key: ['grid-template-areas', 'grid-area'],
|
|
231
|
-
colorful: false,
|
|
232
|
-
values: ['none']
|
|
233
|
-
},
|
|
234
|
-
{
|
|
235
|
-
key: ['grid-template-columns', 'grid-template-cols'],
|
|
236
|
-
colorful: false,
|
|
237
|
-
values: ['none', 'min-content', 'max-content',
|
|
238
|
-
{ label: 'repeat(,)', kind: CompletionItemKind.Function },
|
|
239
|
-
{ label: 'fit-content()', kind: CompletionItemKind.Function },
|
|
240
|
-
{ label: 'minmax()', kind: CompletionItemKind.Function }]
|
|
241
|
-
},
|
|
242
|
-
{
|
|
243
|
-
key: ['grid-template-rows'],
|
|
244
|
-
colorful: false,
|
|
245
|
-
values: ['none', 'min-content', 'max-content',
|
|
246
|
-
{ label: 'repeat(,)', kind: CompletionItemKind.Function },
|
|
247
|
-
{ label: 'fit-content()', kind: CompletionItemKind.Function },
|
|
248
|
-
{ label: 'minmax()', kind: CompletionItemKind.Function }]
|
|
249
|
-
},
|
|
250
|
-
//GRID AND FLEXBOX
|
|
251
|
-
{
|
|
252
|
-
key: ['align-content', 'ac'],
|
|
253
|
-
colorful: false,
|
|
254
|
-
values: ['space-around', 'space-between', 'space-evenly', 'normal', 'baseline', 'center', 'stretch', 'start', 'end', 'flex-start', 'flex-end']
|
|
255
|
-
},
|
|
256
|
-
{
|
|
257
|
-
key: ['align-items', 'ai'],
|
|
258
|
-
colorful: false,
|
|
259
|
-
values: ['self-start', 'self-end', 'normal', 'baseline', 'center', 'stretch', 'start', 'end', 'flex-start', 'flex-end']
|
|
260
|
-
},
|
|
261
|
-
{
|
|
262
|
-
key: ['align-self', 'as'],
|
|
263
|
-
colorful: false,
|
|
264
|
-
values: ['auto', 'self-start', 'self-end', 'normal', 'baseline', 'center', 'stretch', 'start', 'end', 'flex-start', 'flex-end']
|
|
265
|
-
},
|
|
266
|
-
{
|
|
267
|
-
key: ['justify-content', 'jc'],
|
|
268
|
-
colorful: false,
|
|
269
|
-
values: ['space-around', 'space-between', 'space-evenly', 'normal', 'left', 'center', 'right', 'stretch', 'start', 'end', 'flex-start', 'flex-end']
|
|
270
|
-
},
|
|
271
|
-
{
|
|
272
|
-
key: ['justify-items', 'ji'],
|
|
273
|
-
colorful: false,
|
|
274
|
-
values: ['self-start', 'self-end', 'normal', 'left', 'center', 'right', 'stretch', 'start', 'end', 'flex-start', 'flex-end']
|
|
275
|
-
},
|
|
276
|
-
{
|
|
277
|
-
key: ['justify-self', 'js'],
|
|
278
|
-
colorful: false,
|
|
279
|
-
values: ['auto', 'self-start', 'self-end', 'normal', 'left', 'center', 'right', 'stretch', 'start', 'end', 'flex-start', 'flex-end']
|
|
280
|
-
},
|
|
281
|
-
{
|
|
282
|
-
key: ['order', 'o'],
|
|
283
|
-
colorful: false,
|
|
284
|
-
values: []
|
|
285
|
-
},
|
|
286
|
-
{
|
|
287
|
-
key: ['place-content'],
|
|
288
|
-
colorful: false,
|
|
289
|
-
values: ['space-around', 'space-between', 'space-evenly', 'normal', 'baseline', 'center', 'stretch', 'start', 'end', 'flex-start', 'flex-end']
|
|
290
|
-
},
|
|
291
|
-
{
|
|
292
|
-
key: ['place-items'],
|
|
293
|
-
colorful: false,
|
|
294
|
-
values: ['self-start', 'self-end', 'normal', 'baseline', 'center', 'stretch', 'start', 'end', 'flex-start', 'flex-end']
|
|
295
|
-
},
|
|
296
|
-
{
|
|
297
|
-
key: ['place-self'],
|
|
298
|
-
colorful: false,
|
|
299
|
-
values: ['auto', 'self-start', 'self-end', 'normal', 'baseline', 'center', 'stretch', 'start', 'end', 'flex-start', 'flex-end']
|
|
300
|
-
},
|
|
301
|
-
//TABLES
|
|
302
|
-
{
|
|
303
|
-
key: ['border-collapse', 'border'],
|
|
304
|
-
colorful: false,
|
|
305
|
-
values: ['collapse', 'separate']
|
|
306
|
-
},
|
|
307
|
-
{
|
|
308
|
-
key: ['table-layout'],
|
|
309
|
-
colorful: false,
|
|
310
|
-
values: ['auto', 'fixed']
|
|
311
|
-
},
|
|
312
|
-
//MEDIA
|
|
313
|
-
{
|
|
314
|
-
key: ['object-fit'],
|
|
315
|
-
colorful: false,
|
|
316
|
-
values: ['none']
|
|
317
|
-
},
|
|
318
|
-
{
|
|
319
|
-
key: ['object-fit', 'object', 'obj'],
|
|
320
|
-
colorful: false,
|
|
321
|
-
values: ['contain', 'cover', 'fill', 'scale-down']
|
|
322
|
-
},
|
|
323
|
-
{
|
|
324
|
-
key: ['object-position', 'object', 'obj'],
|
|
325
|
-
colorful: false,
|
|
326
|
-
values: ['top', 'bottom', 'left', 'right', 'center']
|
|
327
|
-
},
|
|
328
|
-
//FONT
|
|
329
|
-
{
|
|
330
|
-
key: ['font', 'f'],
|
|
331
|
-
colorful: false,
|
|
332
|
-
values: ['caption', 'icon', 'menu', 'message-box', 'small-caption', 'status-bar']
|
|
333
|
-
},
|
|
334
|
-
{
|
|
335
|
-
key: ['font-color', 'font', 'f'],
|
|
336
|
-
colorful: true,
|
|
337
|
-
values: []
|
|
338
|
-
},
|
|
339
|
-
{
|
|
340
|
-
key: ['font-family', 'font', 'f'],
|
|
341
|
-
colorful: false,
|
|
342
|
-
values: [
|
|
343
|
-
'\'CourierNew\',Courier,monospace',
|
|
344
|
-
'\'FranklinGothicMedium\',\'ArialNarrow\',Arial,sans-serif',
|
|
345
|
-
'\'GillSans\',\'GillSansMT\',Calibri,\'TrebuchetMS\',sans-serif',
|
|
346
|
-
'\'LucidaSans\',\'LucidaSansRegular\',\'LucidaGrande\',\'LucidaSansUnicode\',Geneva,Verdana,sans-serif',
|
|
347
|
-
'\'SegoeUI\',Tahoma,Geneva,Verdana,sans-serif',
|
|
348
|
-
'\'TimesNewRoman\',Times,serif',
|
|
349
|
-
'\'TrebuchetMS\',\'LucidaSansUnicode\',\'LucidaGrande\',\'LucidaSans\',Arial,sans-serif',
|
|
350
|
-
'Arial,Helvetica,sans-serif',
|
|
351
|
-
'Cambria,Cochin,Georgia,Times,\'TimesNewRoman\',serif',
|
|
352
|
-
'Georgia,\'TimesNewRoman\',Times,serif',
|
|
353
|
-
'Impact,Haettenschweiler,\'ArialNarrowBold\',sans-serif',
|
|
354
|
-
'Verdana,Geneva,Tahoma,sans-serif',
|
|
355
|
-
'cursive',
|
|
356
|
-
'fantasy',
|
|
357
|
-
'monospace',
|
|
358
|
-
'sans-serif',
|
|
359
|
-
'serif',
|
|
360
|
-
'-apple-system,BlinkMacSystemFont,\'SegoeUI\',Roboto,Oxygen,Ubuntu,Cantarell,\'OpenSans\',\'HelveticaNeue\',sans-serif'
|
|
361
|
-
]
|
|
362
|
-
},
|
|
363
|
-
{
|
|
364
|
-
key: ['font-size', 'font', 'f'],
|
|
365
|
-
colorful: false,
|
|
366
|
-
values: [
|
|
367
|
-
{ label: '8', kind: CompletionItemKind.Unit, sortText: '!0' },
|
|
368
|
-
{ label: '9', kind: CompletionItemKind.Unit, sortText: '!1' },
|
|
369
|
-
{ label: '10', kind: CompletionItemKind.Unit, sortText: '!2' },
|
|
370
|
-
{ label: '11', kind: CompletionItemKind.Unit, sortText: '!2' },
|
|
371
|
-
{ label: '12', kind: CompletionItemKind.Unit, sortText: '!2' },
|
|
372
|
-
{ label: '14', kind: CompletionItemKind.Unit, sortText: '!2' },
|
|
373
|
-
{ label: '16', kind: CompletionItemKind.Unit, sortText: '!2' },
|
|
374
|
-
{ label: '18', kind: CompletionItemKind.Unit, sortText: '!2' },
|
|
375
|
-
{ label: '20', kind: CompletionItemKind.Unit, sortText: '!2' },
|
|
376
|
-
{ label: '22', kind: CompletionItemKind.Unit, sortText: '!2' },
|
|
377
|
-
{ label: '24', kind: CompletionItemKind.Unit, sortText: '!2' },
|
|
378
|
-
{ label: '26', kind: CompletionItemKind.Unit, sortText: '!2' },
|
|
379
|
-
{ label: '28', kind: CompletionItemKind.Unit, sortText: '!2' },
|
|
380
|
-
{ label: '36', kind: CompletionItemKind.Unit, sortText: '!2' },
|
|
381
|
-
{ label: '48', kind: CompletionItemKind.Unit, sortText: '!2' },
|
|
382
|
-
{ label: '72', kind: CompletionItemKind.Unit, sortText: '!2' },
|
|
383
|
-
]
|
|
384
|
-
},
|
|
385
|
-
{
|
|
386
|
-
key: ['font-style'],
|
|
387
|
-
colorful: false,
|
|
388
|
-
values: ['oblique|deg']
|
|
389
|
-
},
|
|
390
|
-
{
|
|
391
|
-
key: ['font-style', 'font', 'f'],
|
|
392
|
-
colorful: false,
|
|
393
|
-
values: ['normal', 'italic', 'oblique']
|
|
394
|
-
},
|
|
395
|
-
{
|
|
396
|
-
key: ['font-variant-numeric', 'font', 'f'],
|
|
397
|
-
colorful: false,
|
|
398
|
-
values: ['normal', 'ordinal', 'slashed-zero', 'lining-nums', 'oldstyle-nums', 'proportional-nums', 'tabular-nums', 'diagonal-fractions', 'stacked-fractions']
|
|
399
|
-
},
|
|
400
|
-
{
|
|
401
|
-
key: ['font-weight', 'font', 'f'],
|
|
402
|
-
colorful: false,
|
|
403
|
-
values: [
|
|
404
|
-
'100',
|
|
405
|
-
'200',
|
|
406
|
-
'300',
|
|
407
|
-
'400',
|
|
408
|
-
'500',
|
|
409
|
-
'600',
|
|
410
|
-
'700',
|
|
411
|
-
'800',
|
|
412
|
-
'900'
|
|
413
|
-
]
|
|
414
|
-
},
|
|
415
|
-
{
|
|
416
|
-
key: ['font', 'f'],
|
|
417
|
-
colorful: false,
|
|
418
|
-
values: ['antialiased', 'subpixel-antialiased']
|
|
419
|
-
},
|
|
420
|
-
//TEXT
|
|
421
|
-
{
|
|
422
|
-
key: ['text-align', 'text', 't'],
|
|
423
|
-
colorful: false,
|
|
424
|
-
values: ['start', 'end', 'left', 'right', 'center', 'justify']
|
|
425
|
-
},
|
|
426
|
-
{
|
|
427
|
-
key: ['text-decoration', 'text', 't'],
|
|
428
|
-
colorful: false,
|
|
429
|
-
values: ['underline', 'line-through', 'overline']
|
|
430
|
-
},
|
|
431
|
-
{
|
|
432
|
-
key: ['text-decoration-color', 'text-decoration'],
|
|
433
|
-
colorful: true,
|
|
434
|
-
values: []
|
|
435
|
-
},
|
|
436
|
-
{
|
|
437
|
-
key: ['text-decoration-line', 'text', 't'],
|
|
438
|
-
colorful: false,
|
|
439
|
-
values: ['none', 'underline', 'overline', 'line-through']
|
|
440
|
-
},
|
|
441
|
-
{
|
|
442
|
-
key: ['text-decoration-style', 'text', 't'],
|
|
443
|
-
colorful: false,
|
|
444
|
-
values: ['dashed', 'dotted', 'double', 'solid', 'wavy']
|
|
445
|
-
},
|
|
446
|
-
{
|
|
447
|
-
key: ['text-decoration-thickness'],
|
|
448
|
-
colorful: false,
|
|
449
|
-
values: []
|
|
450
|
-
},
|
|
451
|
-
{
|
|
452
|
-
key: ['text-fill-color', 'text-fill'],
|
|
453
|
-
colorful: true,
|
|
454
|
-
values: []
|
|
455
|
-
},
|
|
456
|
-
{
|
|
457
|
-
key: ['text-indent'],
|
|
458
|
-
colorful: false,
|
|
459
|
-
values: []
|
|
460
|
-
},
|
|
461
|
-
{
|
|
462
|
-
key: ['text-orientation', 'text', 't'],
|
|
463
|
-
colorful: false,
|
|
464
|
-
values: ['mixed', 'sideways', 'sideways-right', 'upright', 'use-glyph-orientation']
|
|
465
|
-
},
|
|
466
|
-
{
|
|
467
|
-
key: ['text-overflow', 'text', 't'],
|
|
468
|
-
colorful: false,
|
|
469
|
-
values: ['clip', 'ellipsis']
|
|
470
|
-
},
|
|
471
|
-
{
|
|
472
|
-
key: ['text-shadow'],
|
|
473
|
-
colorful: false,
|
|
474
|
-
values: []
|
|
475
|
-
},
|
|
476
|
-
{
|
|
477
|
-
key: ['text', 't'],
|
|
478
|
-
colorful: false,
|
|
479
|
-
values: []
|
|
480
|
-
},
|
|
481
|
-
{
|
|
482
|
-
key: ['text-stroke'],
|
|
483
|
-
colorful: false,
|
|
484
|
-
values: []
|
|
485
|
-
},
|
|
486
|
-
{
|
|
487
|
-
key: ['text-stroke-color', 'text-stroke'],
|
|
488
|
-
colorful: true,
|
|
489
|
-
values: []
|
|
490
|
-
},
|
|
491
|
-
{
|
|
492
|
-
key: ['text-stroke-width', 'text-stroke'],
|
|
493
|
-
colorful: false,
|
|
494
|
-
values: []
|
|
495
|
-
},
|
|
496
|
-
{
|
|
497
|
-
key: ['text-transform'],
|
|
498
|
-
colorful: false,
|
|
499
|
-
values: ['none']
|
|
500
|
-
},
|
|
501
|
-
{
|
|
502
|
-
key: ['text-transform', 'text', 't'],
|
|
503
|
-
colorful: false,
|
|
504
|
-
values: ['capitalize', 'lowercase', 'uppercase']
|
|
505
|
-
},
|
|
506
|
-
{
|
|
507
|
-
key: ['text-underline-offset'],
|
|
508
|
-
colorful: false,
|
|
509
|
-
values: []
|
|
510
|
-
},
|
|
511
|
-
{
|
|
512
|
-
key: ['text-rendering'],
|
|
513
|
-
colorful: false,
|
|
514
|
-
values: ['auto']
|
|
515
|
-
},
|
|
516
|
-
{
|
|
517
|
-
key: ['text-rendering', 't'],
|
|
518
|
-
colorful: false,
|
|
519
|
-
values: ['optimizeSpeed', 'optimizeLegibility', 'geometricPrecision']
|
|
520
|
-
},
|
|
521
|
-
//LIST STYLE
|
|
522
|
-
{
|
|
523
|
-
key: ['list-style'],
|
|
524
|
-
colorful: false,
|
|
525
|
-
values: []
|
|
526
|
-
},
|
|
527
|
-
{
|
|
528
|
-
key: ['list-style-image', 'list-style'],
|
|
529
|
-
colorful: false,
|
|
530
|
-
values: [
|
|
531
|
-
{ label: 'url()', kind: CompletionItemKind.Function },
|
|
532
|
-
{ label: 'linear-gradient()', kind: CompletionItemKind.Function },
|
|
533
|
-
{ label: 'radial-gradient()', kind: CompletionItemKind.Function },
|
|
534
|
-
{ label: 'repeating-linear-gradient()', kind: CompletionItemKind.Function },
|
|
535
|
-
{ label: 'repeating-radial-gradient()', kind: CompletionItemKind.Function },
|
|
536
|
-
{ label: 'conic-gradient()', kind: CompletionItemKind.Function }]
|
|
537
|
-
},
|
|
538
|
-
{
|
|
539
|
-
key: ['list-style-position', 'list-style'],
|
|
540
|
-
colorful: false,
|
|
541
|
-
values: ['inside', 'outside']
|
|
542
|
-
},
|
|
543
|
-
{
|
|
544
|
-
key: ['list-style-type'],
|
|
545
|
-
colorful: false,
|
|
546
|
-
values: ['circle', 'square', 'decimal-leading-zero', 'lower-roman', 'lower-greek', 'lower-alpha', 'lower-latin', 'upper-roman', 'upper-alpha', 'upper-latin', 'arabic-indic', 'armenian', 'bengali', 'cambodian/khmer', 'cjk-earthly-branch', 'cjk-heavenly-stem', 'devanagari', 'georgian', 'gurmukhi', 'kannada', 'lao', 'malayalam', 'myanmar', 'oriya', 'telugu', 'thai']
|
|
547
|
-
},
|
|
548
|
-
{
|
|
549
|
-
key: ['list-style-type', 'list-style'],
|
|
550
|
-
colorful: false,
|
|
551
|
-
values: ['none', 'disc', 'decimal']
|
|
552
|
-
},
|
|
553
|
-
//TYPOGRAPHY
|
|
554
|
-
{
|
|
555
|
-
key: ['letter-spacing', 'ls'],
|
|
556
|
-
colorful: false,
|
|
557
|
-
values: []
|
|
558
|
-
},
|
|
559
|
-
{
|
|
560
|
-
key: ['lines'],
|
|
561
|
-
colorful: false,
|
|
562
|
-
values: []
|
|
563
|
-
},
|
|
564
|
-
{
|
|
565
|
-
key: ['line-height', 'lh'],
|
|
566
|
-
colorful: false,
|
|
567
|
-
values: []
|
|
568
|
-
},
|
|
569
|
-
{
|
|
570
|
-
key: ['content'],
|
|
571
|
-
colorful: false,
|
|
572
|
-
values: ['normal', 'none', 'no-open-quote', 'no-close-quote',
|
|
573
|
-
{ label: 'url()', kind: CompletionItemKind.Function },
|
|
574
|
-
{ label: 'linear-gradient()', kind: CompletionItemKind.Function },
|
|
575
|
-
{ label: 'image-set()', kind: CompletionItemKind.Function },
|
|
576
|
-
{ label: 'counter()', kind: CompletionItemKind.Function },
|
|
577
|
-
{ label: 'attr()', kind: CompletionItemKind.Function }]
|
|
578
|
-
},
|
|
579
|
-
{
|
|
580
|
-
key: ['vertical-align', 'v'],
|
|
581
|
-
colorful: false,
|
|
582
|
-
values: ['baseline', 'bottom', 'middle', 'sub', 'super', 'text-bottom', 'text-top', 'top']
|
|
583
|
-
},
|
|
584
|
-
{
|
|
585
|
-
key: ['white-space'],
|
|
586
|
-
colorful: false,
|
|
587
|
-
values: ['break-spaces', 'normal', 'nowrap', 'pre', 'pre-line', 'pre-wrap']
|
|
588
|
-
},
|
|
589
|
-
{
|
|
590
|
-
key: ['word-break'],
|
|
591
|
-
colorful: false,
|
|
592
|
-
values: ['normal', 'break-all', 'keep-all']
|
|
593
|
-
},
|
|
594
|
-
{
|
|
595
|
-
key: ['word-spacing'],
|
|
596
|
-
colorful: false,
|
|
597
|
-
values: []
|
|
598
|
-
},
|
|
599
|
-
{
|
|
600
|
-
key: ['writing-mode'],
|
|
601
|
-
colorful: false,
|
|
602
|
-
values: ['horizontal-tb', 'vertical-rl', 'vertical-lr', 'lr', 'lr-tb', 'rl', 'rl-tb', 'tb', 'tb-rl']
|
|
603
|
-
},
|
|
604
|
-
//BACKGROUND
|
|
605
|
-
{
|
|
606
|
-
key: ['background', 'bg'],
|
|
607
|
-
colorful: false,
|
|
608
|
-
values: []
|
|
609
|
-
},
|
|
610
|
-
{
|
|
611
|
-
key: ['backdrop-filter', 'bd'],
|
|
612
|
-
colorful: false,
|
|
613
|
-
values: ['none',
|
|
614
|
-
{ label: 'url()', kind: CompletionItemKind.Function },
|
|
615
|
-
{ label: 'blur()', kind: CompletionItemKind.Function },
|
|
616
|
-
{ label: 'brightness()', kind: CompletionItemKind.Function },
|
|
617
|
-
{ label: 'contrast()', kind: CompletionItemKind.Function },
|
|
618
|
-
{ label: 'grayscale()', kind: CompletionItemKind.Function },
|
|
619
|
-
{ label: 'hue-rotate(degree)', kind: CompletionItemKind.Function },
|
|
620
|
-
{ label: 'invert()', kind: CompletionItemKind.Function },
|
|
621
|
-
{ label: 'sepia()', kind: CompletionItemKind.Function },
|
|
622
|
-
{ label: 'saturate()', kind: CompletionItemKind.Function },
|
|
623
|
-
{ label: 'opacity()', kind: CompletionItemKind.Function },
|
|
624
|
-
{ label: 'drop-shadow()', kind: CompletionItemKind.Function }]
|
|
625
|
-
},
|
|
626
|
-
{
|
|
627
|
-
key: ['background-attachment', 'background', 'bg'],
|
|
628
|
-
colorful: false,
|
|
629
|
-
values: ['fixed', 'local', 'scroll']
|
|
630
|
-
},
|
|
631
|
-
{
|
|
632
|
-
key: ['background-blend-mode'],
|
|
633
|
-
colorful: false,
|
|
634
|
-
values: ['normal', 'multiply', 'screen', 'overlay', 'darken', 'lighten', 'color-dodge', 'color-burn', 'hard-light', 'soft-light', 'difference', 'exclusion', 'hue', 'saturation', 'color', 'luminosity']
|
|
635
|
-
},
|
|
636
|
-
{
|
|
637
|
-
key: ['background-clip', 'bg'],
|
|
638
|
-
colorful: false,
|
|
639
|
-
values: ['content-box', 'border-box', 'padding-box']
|
|
640
|
-
},
|
|
641
|
-
{
|
|
642
|
-
key: ['background-color', 'background', 'bg'],
|
|
643
|
-
colorful: true,
|
|
644
|
-
values: ['transparent']
|
|
645
|
-
},
|
|
646
|
-
{
|
|
647
|
-
key: ['background-image', 'background', 'bg'],
|
|
648
|
-
colorful: false,
|
|
649
|
-
values: [
|
|
650
|
-
{ label: 'url()', kind: CompletionItemKind.Function },
|
|
651
|
-
{ label: 'linear-gradient()', kind: CompletionItemKind.Function },
|
|
652
|
-
{ label: 'radial-gradient()', kind: CompletionItemKind.Function },
|
|
653
|
-
{ label: 'repeating-linear-gradient()', kind: CompletionItemKind.Function },
|
|
654
|
-
{ label: 'repeating-radial-gradient()', kind: CompletionItemKind.Function },
|
|
655
|
-
{ label: 'conic-gradient()', kind: CompletionItemKind.Function }]
|
|
656
|
-
},
|
|
657
|
-
{
|
|
658
|
-
key: ['background-origin', 'bg'],
|
|
659
|
-
colorful: false,
|
|
660
|
-
values: ['content-box', 'border-box', 'padding-box']
|
|
661
|
-
},
|
|
662
|
-
{
|
|
663
|
-
key: ['background-position', 'bg'],
|
|
664
|
-
colorful: false,
|
|
665
|
-
values: ['top', 'bottom', 'left', 'right', 'center']
|
|
666
|
-
},
|
|
667
|
-
{
|
|
668
|
-
key: ['background-repeat', 'bg'],
|
|
669
|
-
colorful: false,
|
|
670
|
-
values: ['repeat', 'no-repeat', 'repeat-x', 'repeat-y']
|
|
671
|
-
},
|
|
672
|
-
{
|
|
673
|
-
key: ['background-size', 'background', 'bg'],
|
|
674
|
-
colorful: false,
|
|
675
|
-
values: ['auto', 'cover', 'contain']
|
|
676
|
-
},
|
|
677
|
-
{
|
|
678
|
-
key: ['mix-blend-mode', 'blend'],
|
|
679
|
-
colorful: false,
|
|
680
|
-
values: ['normal', 'multiply', 'screen', 'overlay', 'darken', 'lighten', 'color-dodge', 'color-burn', 'hard-light', 'soft-light', 'difference', 'exclusion', 'hue', 'saturation', 'color', 'luminosity']
|
|
681
|
-
},
|
|
682
|
-
//BORDER
|
|
683
|
-
{
|
|
684
|
-
key: ['border', 'border-top', 'border-bottom', 'border-left', 'border-right', 'b', 'bt', 'bb', 'bl', 'br', 'bx', 'by'],
|
|
685
|
-
colorful: false,
|
|
686
|
-
values: []
|
|
687
|
-
},
|
|
688
|
-
{
|
|
689
|
-
key: ['border-spacing'],
|
|
690
|
-
colorful: false,
|
|
691
|
-
values: []
|
|
692
|
-
},
|
|
693
|
-
{
|
|
694
|
-
key: ['border-color', 'border', 'border-top-color', 'border-bottom-color', 'border-left-color', 'border-right-color', 'b', 'bt', 'bb', 'bl', 'br', 'bx', 'by'],
|
|
695
|
-
colorful: true,
|
|
696
|
-
values: []
|
|
697
|
-
},
|
|
698
|
-
{
|
|
699
|
-
key: ['border-radius', 'r', 'rt', 'rb', 'rl', 'rr', 'border-top-left-radius', 'rlt', 'rtl', 'border-top-right-radius', 'rrt', 'rtr'
|
|
700
|
-
, 'border-bottom-left-radius', 'rlb', 'rbl', 'border-bottom-right-radius', 'rbr', 'rrb'
|
|
701
|
-
],
|
|
702
|
-
colorful: false,
|
|
703
|
-
values: []
|
|
704
|
-
},
|
|
705
|
-
{
|
|
706
|
-
key: ['border-style', 'border', 'b', 'border-top-style', 'border-top', 'bt', 'border-bottom-style', 'border-bottom', 'bb', 'border-left-style', 'border-left', 'bl', 'border-right-style', 'border-right', 'br', 'bx', 'by'],
|
|
707
|
-
colorful: false,
|
|
708
|
-
values: ['none', 'hidden', 'dotted', 'dashed', 'solid', 'double', 'groove', 'ridge', 'inset', 'outset']
|
|
709
|
-
},
|
|
710
|
-
{
|
|
711
|
-
key: ['border-width', 'border', 'b', 'border-top-width', 'border-top', 'bt', 'border-bottom-width', 'border-bottom', 'bb', 'border-left-width', 'border-left', 'bl', 'border-right-width', 'border-right', 'br', 'bx', 'by'],
|
|
712
|
-
colorful: false,
|
|
713
|
-
values: []
|
|
714
|
-
},
|
|
715
|
-
|
|
716
|
-
//OUTLINE
|
|
717
|
-
{
|
|
718
|
-
key: ['outline'],
|
|
719
|
-
colorful: false,
|
|
720
|
-
values: []
|
|
721
|
-
},
|
|
722
|
-
{
|
|
723
|
-
key: ['outline-color', 'outline'],
|
|
724
|
-
colorful: true,
|
|
725
|
-
values: []
|
|
726
|
-
},
|
|
727
|
-
{
|
|
728
|
-
key: ['outline-offset'],
|
|
729
|
-
colorful: false,
|
|
730
|
-
values: []
|
|
731
|
-
},
|
|
732
|
-
{
|
|
733
|
-
key: ['outline-style', 'outline'],
|
|
734
|
-
colorful: false,
|
|
735
|
-
values: ['none', 'dotted', 'dashed', 'solid', 'double', 'groove', 'ridge', 'inset', 'outset']
|
|
736
|
-
},
|
|
737
|
-
{
|
|
738
|
-
key: ['outline-width', 'outline'],
|
|
739
|
-
colorful: false,
|
|
740
|
-
values: ['medium', 'thick', 'thin']
|
|
741
|
-
},
|
|
742
|
-
//SHAPE
|
|
743
|
-
{
|
|
744
|
-
key: ['shape-image-threshold'],
|
|
745
|
-
colorful: false,
|
|
746
|
-
values: []
|
|
747
|
-
},
|
|
748
|
-
{
|
|
749
|
-
key: ['shape-margin', 'shape'],
|
|
750
|
-
colorful: false,
|
|
751
|
-
values: [
|
|
752
|
-
{ label: 'max()', kind: CompletionItemKind.Function },
|
|
753
|
-
{ label: 'min()', kind: CompletionItemKind.Function },
|
|
754
|
-
{ label: 'calc()', kind: CompletionItemKind.Function },
|
|
755
|
-
{ label: 'clamp()', kind: CompletionItemKind.Function }]
|
|
756
|
-
},
|
|
757
|
-
{
|
|
758
|
-
key: ['shape-outside', 'shape'],
|
|
759
|
-
colorful: false,
|
|
760
|
-
values: ['none', 'content-box', 'border-box', 'padding-box', 'margin-box',
|
|
761
|
-
{ label: 'inset()', kind: CompletionItemKind.Function },
|
|
762
|
-
{ label: 'circle()', kind: CompletionItemKind.Function },
|
|
763
|
-
{ label: 'ellipse()', kind: CompletionItemKind.Function },
|
|
764
|
-
{ label: 'polygon()', kind: CompletionItemKind.Function },
|
|
765
|
-
{ label: 'url()', kind: CompletionItemKind.Function },
|
|
766
|
-
{ label: 'linear-gradient()', kind: CompletionItemKind.Function }]
|
|
767
|
-
},
|
|
768
|
-
{
|
|
769
|
-
key: ['clip-path', 'clip'],
|
|
770
|
-
colorful: false,
|
|
771
|
-
values: [
|
|
772
|
-
'none',
|
|
773
|
-
'content-box',
|
|
774
|
-
'border-box',
|
|
775
|
-
'padding-box',
|
|
776
|
-
'margin-box',
|
|
777
|
-
'fill-box',
|
|
778
|
-
'stroke-box',
|
|
779
|
-
'view-box',
|
|
780
|
-
{ label: 'inset()', kind: CompletionItemKind.Function },
|
|
781
|
-
{ label: 'circle()', kind: CompletionItemKind.Function },
|
|
782
|
-
{ label: 'ellipse()', kind: CompletionItemKind.Function },
|
|
783
|
-
{ label: 'polygon()', kind: CompletionItemKind.Function },
|
|
784
|
-
{ label: 'path()', kind: CompletionItemKind.Function },
|
|
785
|
-
{ label: 'url()', kind: CompletionItemKind.Function }]
|
|
786
|
-
},
|
|
787
|
-
//SIZING
|
|
788
|
-
{
|
|
789
|
-
key: ['aspect-ratio', 'aspect'],
|
|
790
|
-
colorful: false,
|
|
791
|
-
values: []
|
|
792
|
-
},
|
|
793
|
-
{
|
|
794
|
-
key: ['box-sizing', 'box'],
|
|
795
|
-
colorful: false,
|
|
796
|
-
values: ['content-box', 'border-box']
|
|
797
|
-
},
|
|
798
|
-
{
|
|
799
|
-
key: ['width', 'w'],
|
|
800
|
-
colorful: false,
|
|
801
|
-
values: ['100%', 'fit-content', 'max-content', 'min-content']
|
|
802
|
-
},
|
|
803
|
-
{
|
|
804
|
-
key: ['min-width', 'min-w'],
|
|
805
|
-
colorful: false,
|
|
806
|
-
values: ['100%', 'fit-content', 'max-content', 'min-content']
|
|
807
|
-
},
|
|
808
|
-
{
|
|
809
|
-
key: ['max-width', 'max-w'],
|
|
810
|
-
colorful: false,
|
|
811
|
-
values: ['100%', 'fit-content', 'max-content', 'min-content']
|
|
812
|
-
},
|
|
813
|
-
{
|
|
814
|
-
key: ['height', 'h'],
|
|
815
|
-
colorful: false,
|
|
816
|
-
values: ['100%', 'fit-content', 'max-content', 'min-content']
|
|
817
|
-
},
|
|
818
|
-
{
|
|
819
|
-
key: ['min-height', 'min-h'],
|
|
820
|
-
colorful: false,
|
|
821
|
-
values: ['100%', 'fit-content', 'max-content', 'min-content']
|
|
822
|
-
},
|
|
823
|
-
{
|
|
824
|
-
key: ['max-height', 'max-h'],
|
|
825
|
-
colorful: false,
|
|
826
|
-
values: ['100%', 'fit-content', 'max-content', 'min-content']
|
|
827
|
-
},
|
|
828
|
-
//TYPOGRAPHY
|
|
829
|
-
{
|
|
830
|
-
key: ['letter-spacing', 'ls'],
|
|
831
|
-
colorful: false,
|
|
832
|
-
values: []
|
|
833
|
-
},
|
|
834
|
-
{
|
|
835
|
-
key: ['margin-top', 'mt', 'margin-bottom', 'mb', 'margin-left', 'ml', 'margin-right', 'mr', 'margin', 'm', 'mx', 'my'],
|
|
836
|
-
colorful: false,
|
|
837
|
-
values: []
|
|
838
|
-
},
|
|
839
|
-
{
|
|
840
|
-
key: ['padding-top', 'pt', 'padding-bottom', 'pb', 'padding-left', 'pl', 'padding-right', 'pr', 'padding', 'p', 'px', 'py'],
|
|
841
|
-
colorful: false,
|
|
842
|
-
values: []
|
|
843
|
-
},
|
|
844
|
-
{
|
|
845
|
-
key: ['word-spacing'],
|
|
846
|
-
colorful: false,
|
|
847
|
-
values: []
|
|
848
|
-
},
|
|
849
|
-
//TRANSITION
|
|
850
|
-
{
|
|
851
|
-
key: ['transition'],
|
|
852
|
-
colorful: false,
|
|
853
|
-
values: []
|
|
854
|
-
},
|
|
855
|
-
{
|
|
856
|
-
key: ['transition-delay', '~delay'],
|
|
857
|
-
colorful: false,
|
|
858
|
-
values: []
|
|
859
|
-
},
|
|
860
|
-
{
|
|
861
|
-
key: ['transition-duration', '~duration'],
|
|
862
|
-
colorful: false,
|
|
863
|
-
values: []
|
|
864
|
-
},
|
|
865
|
-
{
|
|
866
|
-
key: ['transition-property', '~property'],
|
|
867
|
-
colorful: false,
|
|
868
|
-
values: []
|
|
869
|
-
},
|
|
870
|
-
{
|
|
871
|
-
key: ['transition-timing-function', '~easing'],
|
|
872
|
-
colorful: false,
|
|
873
|
-
values: ['ease', 'ease-in', 'ease-out', 'linear', 'step-start', 'step-end',
|
|
874
|
-
{ label: 'steps(,)', kind: CompletionItemKind.Function },
|
|
875
|
-
{ label: 'cubic-bezier(,,,)', kind: CompletionItemKind.Function },
|
|
876
|
-
{ label: 'frames()', kind: CompletionItemKind.Function }]
|
|
877
|
-
},
|
|
878
|
-
//TRANSFORM
|
|
879
|
-
{
|
|
880
|
-
key: ['transform'],
|
|
881
|
-
colorful: false,
|
|
882
|
-
values: [
|
|
883
|
-
{ label: 'translate()', kind: CompletionItemKind.Function },
|
|
884
|
-
{ label: 'translate3d()', kind: CompletionItemKind.Function },
|
|
885
|
-
{ label: 'translateX()', kind: CompletionItemKind.Function },
|
|
886
|
-
{ label: 'translateY()', kind: CompletionItemKind.Function },
|
|
887
|
-
{ label: 'translateZ()', kind: CompletionItemKind.Function },
|
|
888
|
-
{ label: 'scale()', kind: CompletionItemKind.Function },
|
|
889
|
-
{ label: 'scale3d()', kind: CompletionItemKind.Function },
|
|
890
|
-
{ label: 'scaleX()', kind: CompletionItemKind.Function },
|
|
891
|
-
{ label: 'scaleY()', kind: CompletionItemKind.Function },
|
|
892
|
-
{ label: 'scaleZ()', kind: CompletionItemKind.Function },
|
|
893
|
-
{ label: 'skew()', kind: CompletionItemKind.Function },
|
|
894
|
-
{ label: 'skewX()', kind: CompletionItemKind.Function },
|
|
895
|
-
{ label: 'skewY()', kind: CompletionItemKind.Function },
|
|
896
|
-
{ label: 'rotate()', kind: CompletionItemKind.Function },
|
|
897
|
-
{ label: 'rotate3d()', kind: CompletionItemKind.Function },
|
|
898
|
-
{ label: 'rotateX()', kind: CompletionItemKind.Function },
|
|
899
|
-
{ label: 'rotateY()', kind: CompletionItemKind.Function },
|
|
900
|
-
{ label: 'rotateZ()', kind: CompletionItemKind.Function },
|
|
901
|
-
{ label: 'perspective()', kind: CompletionItemKind.Function },
|
|
902
|
-
{ label: 'matrix()', kind: CompletionItemKind.Function },
|
|
903
|
-
{ label: 'matrix3d()', kind: CompletionItemKind.Function }]
|
|
904
|
-
},
|
|
905
|
-
{
|
|
906
|
-
key: ['transform-box', 'transform'],
|
|
907
|
-
colorful: false,
|
|
908
|
-
values: [
|
|
909
|
-
'content-box',
|
|
910
|
-
'fill-box',
|
|
911
|
-
'stroke-box',
|
|
912
|
-
'view-box',
|
|
913
|
-
'border-box'
|
|
914
|
-
]
|
|
915
|
-
},
|
|
916
|
-
{
|
|
917
|
-
key: ['transform-origin', 'transform'],
|
|
918
|
-
colorful: false,
|
|
919
|
-
values: ['top', 'bottom', 'right', 'left', 'center']
|
|
920
|
-
},
|
|
921
|
-
{
|
|
922
|
-
key: ['transform-style', 'transform'],
|
|
923
|
-
colorful: false,
|
|
924
|
-
values: ['flat', 'preserve-3d']
|
|
925
|
-
},
|
|
926
|
-
//ANIMATION
|
|
927
|
-
{
|
|
928
|
-
key: ['animation'],
|
|
929
|
-
colorful: false,
|
|
930
|
-
values: []
|
|
931
|
-
},
|
|
932
|
-
{
|
|
933
|
-
key: ['animation-delay', '@delay'],
|
|
934
|
-
colorful: false,
|
|
935
|
-
values: []
|
|
936
|
-
},
|
|
937
|
-
{
|
|
938
|
-
key: ['animation-direction', '@direction'],
|
|
939
|
-
colorful: false,
|
|
940
|
-
values: ['normal', 'reverse', 'alternate', 'alternate-reverse']
|
|
941
|
-
},
|
|
942
|
-
{
|
|
943
|
-
key: ['animation-duration', '@duration'],
|
|
944
|
-
colorful: false,
|
|
945
|
-
values: []
|
|
946
|
-
},
|
|
947
|
-
{
|
|
948
|
-
key: ['animation-fill-mode', '@fill-mode'],
|
|
949
|
-
colorful: false,
|
|
950
|
-
values: ['none', 'forwards', 'backwards', 'both']
|
|
951
|
-
},
|
|
952
|
-
{
|
|
953
|
-
key: ['animation-iteration-count', '@iteration-count'],
|
|
954
|
-
colorful: false,
|
|
955
|
-
values: ['infinite']
|
|
956
|
-
},
|
|
957
|
-
{
|
|
958
|
-
key: ['animation-name', '@name'],
|
|
959
|
-
colorful: false,
|
|
960
|
-
values: []
|
|
961
|
-
},
|
|
962
|
-
{
|
|
963
|
-
key: ['animation-play-state', '@play-state'],
|
|
964
|
-
colorful: false,
|
|
965
|
-
values: ['running', 'paused']
|
|
966
|
-
},
|
|
967
|
-
{
|
|
968
|
-
key: ['animation-timing-function', '@easing'],
|
|
969
|
-
colorful: false,
|
|
970
|
-
values: ['ease', 'ease-in', 'ease-out', 'ease-in-out', 'linear', 'step-start', 'step-end',
|
|
971
|
-
{ label: 'steps(,)', kind: CompletionItemKind.Function },
|
|
972
|
-
{ label: 'cubic-bezier(,,,)', kind: CompletionItemKind.Function },
|
|
973
|
-
{ label: 'frames()', kind: CompletionItemKind.Function }]
|
|
974
|
-
},
|
|
975
|
-
//SVG
|
|
976
|
-
{
|
|
977
|
-
key: ['fill'],
|
|
978
|
-
colorful: true,
|
|
979
|
-
values: []
|
|
980
|
-
},
|
|
981
|
-
{
|
|
982
|
-
key: ['stroke'],
|
|
983
|
-
colorful: true,
|
|
984
|
-
values: []
|
|
985
|
-
},
|
|
986
|
-
{
|
|
987
|
-
key: ['stroke-width'],
|
|
988
|
-
colorful: false,
|
|
989
|
-
values: []
|
|
990
|
-
},
|
|
991
|
-
//VISIBILITY
|
|
992
|
-
{
|
|
993
|
-
key: ['opacity'],
|
|
994
|
-
colorful: false,
|
|
995
|
-
values: []
|
|
996
|
-
},
|
|
997
|
-
{
|
|
998
|
-
key: ['visibility'],
|
|
999
|
-
colorful: false,
|
|
1000
|
-
values: ['visible', 'invisible', 'collapse']
|
|
1001
|
-
},
|
|
1002
|
-
//EFFECT
|
|
1003
|
-
|
|
1004
|
-
{
|
|
1005
|
-
key: ['backdrop-filter', 'bd'],
|
|
1006
|
-
colorful: false,
|
|
1007
|
-
values: ['none',
|
|
1008
|
-
{ label: 'url(svg)', kind: CompletionItemKind.Function },
|
|
1009
|
-
{ label: 'blur()', kind: CompletionItemKind.Function },
|
|
1010
|
-
{ label: 'brightness()', kind: CompletionItemKind.Function },
|
|
1011
|
-
{ label: 'contrast()', kind: CompletionItemKind.Function },
|
|
1012
|
-
{ label: 'grayscale()', kind: CompletionItemKind.Function },
|
|
1013
|
-
{ label: 'hue-rotate(degree)', kind: CompletionItemKind.Function },
|
|
1014
|
-
{ label: 'invert()', kind: CompletionItemKind.Function },
|
|
1015
|
-
{ label: 'sepia()', kind: CompletionItemKind.Function },
|
|
1016
|
-
{ label: 'saturate()', kind: CompletionItemKind.Function },
|
|
1017
|
-
{ label: 'opacity()', kind: CompletionItemKind.Function },
|
|
1018
|
-
{ label: 'drop-shadow()', kind: CompletionItemKind.Function }]
|
|
1019
|
-
},
|
|
1020
|
-
{
|
|
1021
|
-
key: ['background-blend-mode'],
|
|
1022
|
-
colorful: false,
|
|
1023
|
-
values: ['normal', 'multiply', 'screen', 'overlay', 'darken', 'lighten', 'color-dodge', 'color-burn', 'hard-light', 'soft-light', 'difference', 'exclusion', 'hue', 'saturation', 'color', 'luminosity']
|
|
1024
|
-
},
|
|
1025
|
-
{
|
|
1026
|
-
key: ['box-shadow', 'shadow', 's'],
|
|
1027
|
-
colorful: true,
|
|
1028
|
-
values: ['inset']
|
|
1029
|
-
},
|
|
1030
|
-
{
|
|
1031
|
-
key: ['filter'],
|
|
1032
|
-
colorful: false,
|
|
1033
|
-
values: ['none',
|
|
1034
|
-
{ label: 'url()', kind: CompletionItemKind.Function },
|
|
1035
|
-
{ label: 'blur()', kind: CompletionItemKind.Function },
|
|
1036
|
-
{ label: 'brightness()', kind: CompletionItemKind.Function },
|
|
1037
|
-
{ label: 'contrast()', kind: CompletionItemKind.Function },
|
|
1038
|
-
{ label: 'drop-shadow()', kind: CompletionItemKind.Function },
|
|
1039
|
-
{ label: 'grayscale()', kind: CompletionItemKind.Function },
|
|
1040
|
-
{ label: 'hue-rotate(degree)', kind: CompletionItemKind.Function },
|
|
1041
|
-
{ label: 'invert()', kind: CompletionItemKind.Function },
|
|
1042
|
-
{ label: 'opacity()', kind: CompletionItemKind.Function },
|
|
1043
|
-
{ label: 'saturate()', kind: CompletionItemKind.Function },
|
|
1044
|
-
{ label: 'sepia()', kind: CompletionItemKind.Function }]
|
|
1045
|
-
},
|
|
1046
|
-
{
|
|
1047
|
-
key: ['mask-image'],
|
|
1048
|
-
colorful: false,
|
|
1049
|
-
values: []
|
|
1050
|
-
},
|
|
1051
|
-
{
|
|
1052
|
-
key: ['mix-blend-mode', 'blend'],
|
|
1053
|
-
colorful: false,
|
|
1054
|
-
values: ['normal', 'multiply', 'screen', 'overlay', 'darken', 'lighten', 'color-dodge', 'color-burn', 'hard-light', 'soft-light', 'difference', 'exclusion', 'hue', 'saturation', 'color', 'luminosity']
|
|
1055
|
-
},
|
|
1056
|
-
{
|
|
1057
|
-
key: ['text-shadow'],
|
|
1058
|
-
colorful: false,
|
|
1059
|
-
values: []
|
|
1060
|
-
},
|
|
1061
|
-
//SCROLL
|
|
1062
|
-
{
|
|
1063
|
-
key: ['overscroll-behavior', 'overscroll-behavior-x', 'overscroll-behavior-y'],
|
|
1064
|
-
colorful: false,
|
|
1065
|
-
values: ['auto', 'none', 'contain']
|
|
1066
|
-
},
|
|
1067
|
-
{
|
|
1068
|
-
key: ['scroll-behavior'],
|
|
1069
|
-
colorful: false,
|
|
1070
|
-
values: ['auto', 'smooth']
|
|
1071
|
-
},
|
|
1072
|
-
{
|
|
1073
|
-
key: ['scroll-margin', 'scroll-m', 'scroll-margin-top', 'scroll-mt', 'scroll-margin-bottom', 'scroll-mb', 'scroll-margin-left', 'scroll-ml', 'scroll-margin-right', 'scroll-mr', 'scroll-mx', 'scroll-my'],
|
|
1074
|
-
colorful: false,
|
|
1075
|
-
values: []
|
|
1076
|
-
},
|
|
1077
|
-
{
|
|
1078
|
-
key: ['scroll-padding', 'scroll-p', 'scroll-padding', 'scroll-padding-top', 'scroll-pt', 'scroll-padding-bottom', 'scroll-pb', 'scroll-padding-left', 'scroll-pl', 'scroll-padding-right', 'scroll-pr', 'scroll-px', 'scroll-py'],
|
|
1079
|
-
colorful: false,
|
|
1080
|
-
values: []
|
|
1081
|
-
},
|
|
1082
|
-
{
|
|
1083
|
-
key: ['scroll-snap-align', 'scroll-snap'],
|
|
1084
|
-
colorful: false,
|
|
1085
|
-
values: ['center', 'end', 'start', 'none']
|
|
1086
|
-
},
|
|
1087
|
-
{
|
|
1088
|
-
key: ['scroll-snap-stop', 'scroll-snap'],
|
|
1089
|
-
colorful: false,
|
|
1090
|
-
values: ['always', 'normal']
|
|
1091
|
-
},
|
|
1092
|
-
{
|
|
1093
|
-
key: ['scroll-snap-type'],
|
|
1094
|
-
colorful: false,
|
|
1095
|
-
values: ['none']
|
|
1096
|
-
},
|
|
1097
|
-
{
|
|
1098
|
-
key: ['scroll-snap-type', 'scroll-snap'],
|
|
1099
|
-
colorful: false,
|
|
1100
|
-
values: ['x', 'y', 'both', 'block', 'inline', 'x|mandatory', 'y|proximity', 'both|mandatory']
|
|
1101
|
-
},
|
|
1102
|
-
//INTERACTIVITY
|
|
1103
|
-
|
|
1104
|
-
{
|
|
1105
|
-
key: ['pointer-events'],
|
|
1106
|
-
colorful: false,
|
|
1107
|
-
values: ['auto', 'none', 'visiblePainted', 'visibleFill', 'visibleStroke', 'visible', 'painted', 'fill', 'stroke', 'all', 'bounding-box']
|
|
1108
|
-
},
|
|
1109
|
-
{
|
|
1110
|
-
key: ['resize'],
|
|
1111
|
-
colorful: false,
|
|
1112
|
-
values: ['auto', 'none', 'both', 'horizontal', 'vertical', 'block', 'inline']
|
|
1113
|
-
},
|
|
1114
|
-
{
|
|
1115
|
-
key: ['touch-action'],
|
|
1116
|
-
colorful: false,
|
|
1117
|
-
values: ['auto', 'none', 'pan-x', 'pan-left', 'pan-right', 'pan-y', 'pan-up', 'pan-down', 'pinch-zoom', 'manipulation']
|
|
1118
|
-
},
|
|
1119
|
-
{
|
|
1120
|
-
key: ['user-drag'],
|
|
1121
|
-
colorful: false,
|
|
1122
|
-
values: ['auto', 'none', 'element']
|
|
1123
|
-
},
|
|
1124
|
-
{
|
|
1125
|
-
key: ['user-select'],
|
|
1126
|
-
colorful: false,
|
|
1127
|
-
values: ['all', 'auto', 'none', 'text']
|
|
1128
|
-
},
|
|
1129
|
-
//OPTIMIZATION
|
|
1130
|
-
{
|
|
1131
|
-
key: ['contain'],
|
|
1132
|
-
colorful: false,
|
|
1133
|
-
values: ['none', 'strict', 'content', 'size', 'layout', 'style', 'paint']
|
|
1134
|
-
},
|
|
1135
|
-
{
|
|
1136
|
-
key: ['font', 'f'],
|
|
1137
|
-
colorful: false,
|
|
1138
|
-
values: ['antialiased', 'subpixel-antialiased']
|
|
1139
|
-
},
|
|
1140
|
-
{
|
|
1141
|
-
key: ['text-rendering'],
|
|
1142
|
-
colorful: false,
|
|
1143
|
-
values: ['auto']
|
|
1144
|
-
},
|
|
1145
|
-
{
|
|
1146
|
-
key: ['text-rendering', 't'],
|
|
1147
|
-
colorful: false,
|
|
1148
|
-
values: ['optimizeSpeed', 'optimizeLegibility', 'geometricPrecision']
|
|
1149
|
-
},
|
|
1150
|
-
{
|
|
1151
|
-
key: ['will-change'],
|
|
1152
|
-
colorful: false,
|
|
1153
|
-
values: []
|
|
1154
|
-
},
|
|
1155
|
-
//VARIABLE
|
|
1156
|
-
{
|
|
1157
|
-
key: ['$'],
|
|
1158
|
-
colorful: false,
|
|
1159
|
-
values: []
|
|
1160
|
-
}
|
|
1161
|
-
]
|
|
1162
|
-
|
|
1163
|
-
export const masterCssType = [
|
|
1164
|
-
{
|
|
1165
|
-
type: 'color',
|
|
1166
|
-
values: ['#',
|
|
1167
|
-
{ label: 'rgb()', kind: CompletionItemKind.Function },
|
|
1168
|
-
{ label: 'hsl()', kind: CompletionItemKind.Function }]
|
|
1169
|
-
}
|
|
1170
|
-
]
|