tm-grammars 0.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (181) hide show
  1. package/LICENSE +22 -0
  2. package/NOTICE +6565 -0
  3. package/README.md +211 -0
  4. package/grammars/abap.json +380 -0
  5. package/grammars/actionscript-3.json +951 -0
  6. package/grammars/ada.json +3874 -0
  7. package/grammars/apache.json +562 -0
  8. package/grammars/apex.json +3203 -0
  9. package/grammars/apl.json +1479 -0
  10. package/grammars/applescript.json +1406 -0
  11. package/grammars/ara.json +428 -0
  12. package/grammars/asm.json +1741 -0
  13. package/grammars/astro.json +776 -0
  14. package/grammars/awk.json +388 -0
  15. package/grammars/ballerina.json +3768 -0
  16. package/grammars/bat.json +783 -0
  17. package/grammars/beancount.json +831 -0
  18. package/grammars/berry.json +172 -0
  19. package/grammars/bibtex.json +315 -0
  20. package/grammars/bicep.json +239 -0
  21. package/grammars/blade.json +3870 -0
  22. package/grammars/c.json +3552 -0
  23. package/grammars/cadence.json +738 -0
  24. package/grammars/clarity.json +877 -0
  25. package/grammars/clojure.json +426 -0
  26. package/grammars/cmake.json +143 -0
  27. package/grammars/cobol.json +1124 -0
  28. package/grammars/codeql.json +1540 -0
  29. package/grammars/coffee.json +1311 -0
  30. package/grammars/cpp-macro.json +9498 -0
  31. package/grammars/cpp.json +16635 -0
  32. package/grammars/crystal.json +1866 -0
  33. package/grammars/csharp.json +5722 -0
  34. package/grammars/css.json +1860 -0
  35. package/grammars/csv.json +46 -0
  36. package/grammars/cue.json +1128 -0
  37. package/grammars/cypher.json +353 -0
  38. package/grammars/d.json +3185 -0
  39. package/grammars/dart.json +522 -0
  40. package/grammars/dax.json +185 -0
  41. package/grammars/diff.json +155 -0
  42. package/grammars/docker.json +97 -0
  43. package/grammars/dream-maker.json +640 -0
  44. package/grammars/elixir.json +1014 -0
  45. package/grammars/elm.json +751 -0
  46. package/grammars/erb.json +156 -0
  47. package/grammars/erlang.json +1757 -0
  48. package/grammars/fish.json +189 -0
  49. package/grammars/fsharp.json +1831 -0
  50. package/grammars/gdresource.json +290 -0
  51. package/grammars/gdscript.json +969 -0
  52. package/grammars/gdshader.json +405 -0
  53. package/grammars/gherkin.json +133 -0
  54. package/grammars/git-commit.json +85 -0
  55. package/grammars/git-rebase.json +56 -0
  56. package/grammars/glimmer-js.json +98 -0
  57. package/grammars/glimmer-ts.json +98 -0
  58. package/grammars/glsl.json +57 -0
  59. package/grammars/gnuplot.json +892 -0
  60. package/grammars/go.json +1012 -0
  61. package/grammars/graphql.json +1295 -0
  62. package/grammars/groovy.json +1378 -0
  63. package/grammars/hack.json +2650 -0
  64. package/grammars/haml.json +598 -0
  65. package/grammars/handlebars.json +848 -0
  66. package/grammars/haskell.json +2431 -0
  67. package/grammars/hcl.json +787 -0
  68. package/grammars/hjson.json +821 -0
  69. package/grammars/hlsl.json +212 -0
  70. package/grammars/html.json +93 -0
  71. package/grammars/imba.json +2696 -0
  72. package/grammars/ini.json +108 -0
  73. package/grammars/java.json +1885 -0
  74. package/grammars/javascript.json +5984 -0
  75. package/grammars/jinja-html.json +16 -0
  76. package/grammars/jinja.json +345 -0
  77. package/grammars/jison.json +715 -0
  78. package/grammars/jsdoc.json +21 -0
  79. package/grammars/json.json +208 -0
  80. package/grammars/json5.json +244 -0
  81. package/grammars/jsonc.json +208 -0
  82. package/grammars/jsonl.json +208 -0
  83. package/grammars/jsonnet.json +211 -0
  84. package/grammars/jssm.json +159 -0
  85. package/grammars/jsx.json +5984 -0
  86. package/grammars/julia.json +1061 -0
  87. package/grammars/kotlin.json +580 -0
  88. package/grammars/kusto.json +687 -0
  89. package/grammars/latex.json +2395 -0
  90. package/grammars/less.json +5012 -0
  91. package/grammars/liquid.json +990 -0
  92. package/grammars/lisp.json +121 -0
  93. package/grammars/logo.json +55 -0
  94. package/grammars/lua.json +956 -0
  95. package/grammars/make.json +629 -0
  96. package/grammars/markdown.json +3066 -0
  97. package/grammars/marko.json +1344 -0
  98. package/grammars/matlab.json +1131 -0
  99. package/grammars/mdc.json +571 -0
  100. package/grammars/mdx.json +5629 -0
  101. package/grammars/mermaid.json +1382 -0
  102. package/grammars/mojo.json +4153 -0
  103. package/grammars/narrat.json +227 -0
  104. package/grammars/nextflow.json +298 -0
  105. package/grammars/nginx.json +2121 -0
  106. package/grammars/nim.json +1522 -0
  107. package/grammars/nix.json +1200 -0
  108. package/grammars/nushell.json +1047 -0
  109. package/grammars/objective-c.json +3750 -0
  110. package/grammars/objective-cpp.json +7242 -0
  111. package/grammars/ocaml.json +2967 -0
  112. package/grammars/pascal.json +154 -0
  113. package/grammars/perl.json +2971 -0
  114. package/grammars/php.json +4024 -0
  115. package/grammars/plsql.json +241 -0
  116. package/grammars/postcss.json +377 -0
  117. package/grammars/powerquery.json +349 -0
  118. package/grammars/powershell.json +1024 -0
  119. package/grammars/prisma.json +443 -0
  120. package/grammars/prolog.json +298 -0
  121. package/grammars/proto.json +507 -0
  122. package/grammars/pug.json +1033 -0
  123. package/grammars/puppet.json +777 -0
  124. package/grammars/purescript.json +871 -0
  125. package/grammars/python.json +4208 -0
  126. package/grammars/r.json +637 -0
  127. package/grammars/raku.json +310 -0
  128. package/grammars/razor.json +1813 -0
  129. package/grammars/reg.json +136 -0
  130. package/grammars/rel.json +200 -0
  131. package/grammars/riscv.json +298 -0
  132. package/grammars/rst.json +734 -0
  133. package/grammars/ruby.json +2769 -0
  134. package/grammars/rust.json +1171 -0
  135. package/grammars/sas.json +302 -0
  136. package/grammars/sass.json +618 -0
  137. package/grammars/scala.json +1313 -0
  138. package/grammars/scheme.json +384 -0
  139. package/grammars/scss.json +1874 -0
  140. package/grammars/shaderlab.json +199 -0
  141. package/grammars/shellscript.json +2025 -0
  142. package/grammars/shellsession.json +33 -0
  143. package/grammars/smalltalk.json +235 -0
  144. package/grammars/solidity.json +1210 -0
  145. package/grammars/sparql.json +45 -0
  146. package/grammars/splunk.json +91 -0
  147. package/grammars/sql.json +631 -0
  148. package/grammars/ssh-config.json +88 -0
  149. package/grammars/stata.json +3050 -0
  150. package/grammars/stylus.json +1208 -0
  151. package/grammars/svelte.json +1171 -0
  152. package/grammars/swift.json +4203 -0
  153. package/grammars/system-verilog.json +1063 -0
  154. package/grammars/tasl.json +292 -0
  155. package/grammars/tcl.json +291 -0
  156. package/grammars/tex.json +281 -0
  157. package/grammars/toml.json +431 -0
  158. package/grammars/tsx.json +5984 -0
  159. package/grammars/turtle.json +261 -0
  160. package/grammars/twig.json +1394 -0
  161. package/grammars/typescript.json +5735 -0
  162. package/grammars/v.json +1001 -0
  163. package/grammars/vb.json +232 -0
  164. package/grammars/verilog.json +305 -0
  165. package/grammars/vhdl.json +1484 -0
  166. package/grammars/viml.json +445 -0
  167. package/grammars/vue-html.json +559 -0
  168. package/grammars/vue.json +1237 -0
  169. package/grammars/vyper.json +5415 -0
  170. package/grammars/wasm.json +831 -0
  171. package/grammars/wenyan.json +129 -0
  172. package/grammars/wgsl.json +391 -0
  173. package/grammars/wolfram.json +2370 -0
  174. package/grammars/xml.json +382 -0
  175. package/grammars/xsl.json +89 -0
  176. package/grammars/yaml.json +616 -0
  177. package/grammars/zenscript.json +257 -0
  178. package/grammars/zig.json +312 -0
  179. package/index.d.ts +18 -0
  180. package/index.js +2165 -0
  181. package/package.json +46 -0
@@ -0,0 +1,1860 @@
1
+ {
2
+ "displayName": "CSS",
3
+ "name": "css",
4
+ "patterns": [
5
+ {
6
+ "include": "#comment-block"
7
+ },
8
+ {
9
+ "include": "#escapes"
10
+ },
11
+ {
12
+ "include": "#combinators"
13
+ },
14
+ {
15
+ "include": "#selector"
16
+ },
17
+ {
18
+ "include": "#at-rules"
19
+ },
20
+ {
21
+ "include": "#rule-list"
22
+ }
23
+ ],
24
+ "repository": {
25
+ "at-rules": {
26
+ "patterns": [
27
+ {
28
+ "begin": "\\A(?:\\xEF\\xBB\\xBF)?(?i:(?=\\s*@charset\\b))",
29
+ "end": ";|(?=$)",
30
+ "endCaptures": {
31
+ "0": {
32
+ "name": "punctuation.terminator.rule.css"
33
+ }
34
+ },
35
+ "name": "meta.at-rule.charset.css",
36
+ "patterns": [
37
+ {
38
+ "captures": {
39
+ "1": {
40
+ "name": "invalid.illegal.not-lowercase.charset.css"
41
+ },
42
+ "2": {
43
+ "name": "invalid.illegal.leading-whitespace.charset.css"
44
+ },
45
+ "3": {
46
+ "name": "invalid.illegal.no-whitespace.charset.css"
47
+ },
48
+ "4": {
49
+ "name": "invalid.illegal.whitespace.charset.css"
50
+ },
51
+ "5": {
52
+ "name": "invalid.illegal.not-double-quoted.charset.css"
53
+ },
54
+ "6": {
55
+ "name": "invalid.illegal.unclosed-string.charset.css"
56
+ },
57
+ "7": {
58
+ "name": "invalid.illegal.unexpected-characters.charset.css"
59
+ }
60
+ },
61
+ "match": "(?x) # Possible errors:\n\\G\n((?!@charset)@\\w+) # Not lowercase (@charset is case-sensitive)\n|\n\\G(\\s+) # Preceding whitespace\n|\n(@charset\\S[^;]*) # No whitespace after @charset\n|\n(?<=@charset) # Before quoted charset name\n(\\x20{2,}|\\t+) # More than one space used, or a tab\n|\n(?<=@charset\\x20) # Beginning of charset name\n([^\";]+) # Not double-quoted\n|\n(\"[^\"]+$) # Unclosed quote\n|\n(?<=\") # After charset name\n([^;]+) # Unexpected junk instead of semicolon"
62
+ },
63
+ {
64
+ "captures": {
65
+ "1": {
66
+ "name": "keyword.control.at-rule.charset.css"
67
+ },
68
+ "2": {
69
+ "name": "punctuation.definition.keyword.css"
70
+ }
71
+ },
72
+ "match": "((@)charset)(?=\\s)"
73
+ },
74
+ {
75
+ "begin": "\"",
76
+ "beginCaptures": {
77
+ "0": {
78
+ "name": "punctuation.definition.string.begin.css"
79
+ }
80
+ },
81
+ "end": "\"|$",
82
+ "endCaptures": {
83
+ "0": {
84
+ "name": "punctuation.definition.string.end.css"
85
+ }
86
+ },
87
+ "name": "string.quoted.double.css",
88
+ "patterns": [
89
+ {
90
+ "begin": "(?:\\G|^)(?=(?:[^\"])+$)",
91
+ "end": "$",
92
+ "name": "invalid.illegal.unclosed.string.css"
93
+ }
94
+ ]
95
+ }
96
+ ]
97
+ },
98
+ {
99
+ "begin": "(?i)((@)import)(?:\\s+|$|(?=['\"]|/\\*))",
100
+ "beginCaptures": {
101
+ "1": {
102
+ "name": "keyword.control.at-rule.import.css"
103
+ },
104
+ "2": {
105
+ "name": "punctuation.definition.keyword.css"
106
+ }
107
+ },
108
+ "end": ";",
109
+ "endCaptures": {
110
+ "0": {
111
+ "name": "punctuation.terminator.rule.css"
112
+ }
113
+ },
114
+ "name": "meta.at-rule.import.css",
115
+ "patterns": [
116
+ {
117
+ "begin": "\\G\\s*(?=/\\*)",
118
+ "end": "(?<=\\*/)\\s*",
119
+ "patterns": [
120
+ {
121
+ "include": "#comment-block"
122
+ }
123
+ ]
124
+ },
125
+ {
126
+ "include": "#string"
127
+ },
128
+ {
129
+ "include": "#url"
130
+ },
131
+ {
132
+ "include": "#media-query-list"
133
+ }
134
+ ]
135
+ },
136
+ {
137
+ "begin": "(?i)((@)font-face)(?=\\s*|{|/\\*|$)",
138
+ "beginCaptures": {
139
+ "1": {
140
+ "name": "keyword.control.at-rule.font-face.css"
141
+ },
142
+ "2": {
143
+ "name": "punctuation.definition.keyword.css"
144
+ }
145
+ },
146
+ "end": "(?!\\G)",
147
+ "name": "meta.at-rule.font-face.css",
148
+ "patterns": [
149
+ {
150
+ "include": "#comment-block"
151
+ },
152
+ {
153
+ "include": "#escapes"
154
+ },
155
+ {
156
+ "include": "#rule-list"
157
+ }
158
+ ]
159
+ },
160
+ {
161
+ "begin": "(?i)(@)page(?=[\\s:{]|/\\*|$)",
162
+ "captures": {
163
+ "0": {
164
+ "name": "keyword.control.at-rule.page.css"
165
+ },
166
+ "1": {
167
+ "name": "punctuation.definition.keyword.css"
168
+ }
169
+ },
170
+ "end": "(?=\\s*($|[:{;]))",
171
+ "name": "meta.at-rule.page.css",
172
+ "patterns": [
173
+ {
174
+ "include": "#rule-list"
175
+ }
176
+ ]
177
+ },
178
+ {
179
+ "begin": "(?i)(?=@media(\\s|\\(|/\\*|$))",
180
+ "end": "(?<=})(?!\\G)",
181
+ "patterns": [
182
+ {
183
+ "begin": "(?i)\\G(@)media",
184
+ "beginCaptures": {
185
+ "0": {
186
+ "name": "keyword.control.at-rule.media.css"
187
+ },
188
+ "1": {
189
+ "name": "punctuation.definition.keyword.css"
190
+ }
191
+ },
192
+ "end": "(?=\\s*[{;])",
193
+ "name": "meta.at-rule.media.header.css",
194
+ "patterns": [
195
+ {
196
+ "include": "#media-query-list"
197
+ }
198
+ ]
199
+ },
200
+ {
201
+ "begin": "{",
202
+ "beginCaptures": {
203
+ "0": {
204
+ "name": "punctuation.section.media.begin.bracket.curly.css"
205
+ }
206
+ },
207
+ "end": "}",
208
+ "endCaptures": {
209
+ "0": {
210
+ "name": "punctuation.section.media.end.bracket.curly.css"
211
+ }
212
+ },
213
+ "name": "meta.at-rule.media.body.css",
214
+ "patterns": [
215
+ {
216
+ "include": "$self"
217
+ }
218
+ ]
219
+ }
220
+ ]
221
+ },
222
+ {
223
+ "begin": "(?i)(?=@counter-style([\\s'\"{;]|/\\*|$))",
224
+ "end": "(?<=})(?!\\G)",
225
+ "patterns": [
226
+ {
227
+ "begin": "(?i)\\G(@)counter-style",
228
+ "beginCaptures": {
229
+ "0": {
230
+ "name": "keyword.control.at-rule.counter-style.css"
231
+ },
232
+ "1": {
233
+ "name": "punctuation.definition.keyword.css"
234
+ }
235
+ },
236
+ "end": "(?=\\s*{)",
237
+ "name": "meta.at-rule.counter-style.header.css",
238
+ "patterns": [
239
+ {
240
+ "include": "#comment-block"
241
+ },
242
+ {
243
+ "include": "#escapes"
244
+ },
245
+ {
246
+ "captures": {
247
+ "0": {
248
+ "patterns": [
249
+ {
250
+ "include": "#escapes"
251
+ }
252
+ ]
253
+ }
254
+ },
255
+ "match": "(?x)\n(?:[-a-zA-Z_] | [^\\x00-\\x7F]) # First letter\n(?:[-a-zA-Z0-9_] | [^\\x00-\\x7F] # Remainder of identifier\n |\\\\(?:[0-9a-fA-F]{1,6}|.)\n)*",
256
+ "name": "variable.parameter.style-name.css"
257
+ }
258
+ ]
259
+ },
260
+ {
261
+ "begin": "{",
262
+ "beginCaptures": {
263
+ "0": {
264
+ "name": "punctuation.section.property-list.begin.bracket.curly.css"
265
+ }
266
+ },
267
+ "end": "}",
268
+ "endCaptures": {
269
+ "0": {
270
+ "name": "punctuation.section.property-list.end.bracket.curly.css"
271
+ }
272
+ },
273
+ "name": "meta.at-rule.counter-style.body.css",
274
+ "patterns": [
275
+ {
276
+ "include": "#comment-block"
277
+ },
278
+ {
279
+ "include": "#escapes"
280
+ },
281
+ {
282
+ "include": "#rule-list-innards"
283
+ }
284
+ ]
285
+ }
286
+ ]
287
+ },
288
+ {
289
+ "begin": "(?i)(?=@document([\\s'\"{;]|/\\*|$))",
290
+ "end": "(?<=})(?!\\G)",
291
+ "patterns": [
292
+ {
293
+ "begin": "(?i)\\G(@)document",
294
+ "beginCaptures": {
295
+ "0": {
296
+ "name": "keyword.control.at-rule.document.css"
297
+ },
298
+ "1": {
299
+ "name": "punctuation.definition.keyword.css"
300
+ }
301
+ },
302
+ "end": "(?=\\s*[{;])",
303
+ "name": "meta.at-rule.document.header.css",
304
+ "patterns": [
305
+ {
306
+ "begin": "(?i)(?<![\\w-])(url-prefix|domain|regexp)(\\()",
307
+ "beginCaptures": {
308
+ "1": {
309
+ "name": "support.function.document-rule.css"
310
+ },
311
+ "2": {
312
+ "name": "punctuation.section.function.begin.bracket.round.css"
313
+ }
314
+ },
315
+ "end": "\\)",
316
+ "endCaptures": {
317
+ "0": {
318
+ "name": "punctuation.section.function.end.bracket.round.css"
319
+ }
320
+ },
321
+ "name": "meta.function.document-rule.css",
322
+ "patterns": [
323
+ {
324
+ "include": "#string"
325
+ },
326
+ {
327
+ "include": "#comment-block"
328
+ },
329
+ {
330
+ "include": "#escapes"
331
+ },
332
+ {
333
+ "match": "[^'\")\\s]+",
334
+ "name": "variable.parameter.document-rule.css"
335
+ }
336
+ ]
337
+ },
338
+ {
339
+ "include": "#url"
340
+ },
341
+ {
342
+ "include": "#commas"
343
+ },
344
+ {
345
+ "include": "#comment-block"
346
+ },
347
+ {
348
+ "include": "#escapes"
349
+ }
350
+ ]
351
+ },
352
+ {
353
+ "begin": "{",
354
+ "beginCaptures": {
355
+ "0": {
356
+ "name": "punctuation.section.document.begin.bracket.curly.css"
357
+ }
358
+ },
359
+ "end": "}",
360
+ "endCaptures": {
361
+ "0": {
362
+ "name": "punctuation.section.document.end.bracket.curly.css"
363
+ }
364
+ },
365
+ "name": "meta.at-rule.document.body.css",
366
+ "patterns": [
367
+ {
368
+ "include": "$self"
369
+ }
370
+ ]
371
+ }
372
+ ]
373
+ },
374
+ {
375
+ "begin": "(?i)(?=@(?:-(?:webkit|moz|o|ms)-)?keyframes([\\s'\"{;]|/\\*|$))",
376
+ "end": "(?<=})(?!\\G)",
377
+ "patterns": [
378
+ {
379
+ "begin": "(?i)\\G(@)(?:-(?:webkit|moz|o|ms)-)?keyframes",
380
+ "beginCaptures": {
381
+ "0": {
382
+ "name": "keyword.control.at-rule.keyframes.css"
383
+ },
384
+ "1": {
385
+ "name": "punctuation.definition.keyword.css"
386
+ }
387
+ },
388
+ "end": "(?=\\s*{)",
389
+ "name": "meta.at-rule.keyframes.header.css",
390
+ "patterns": [
391
+ {
392
+ "include": "#comment-block"
393
+ },
394
+ {
395
+ "include": "#escapes"
396
+ },
397
+ {
398
+ "captures": {
399
+ "0": {
400
+ "patterns": [
401
+ {
402
+ "include": "#escapes"
403
+ }
404
+ ]
405
+ }
406
+ },
407
+ "match": "(?x)\n(?:[-a-zA-Z_] | [^\\x00-\\x7F]) # First letter\n(?:[-a-zA-Z0-9_] | [^\\x00-\\x7F] # Remainder of identifier\n |\\\\(?:[0-9a-fA-F]{1,6}|.)\n)*",
408
+ "name": "variable.parameter.keyframe-list.css"
409
+ }
410
+ ]
411
+ },
412
+ {
413
+ "begin": "{",
414
+ "beginCaptures": {
415
+ "0": {
416
+ "name": "punctuation.section.keyframes.begin.bracket.curly.css"
417
+ }
418
+ },
419
+ "end": "}",
420
+ "endCaptures": {
421
+ "0": {
422
+ "name": "punctuation.section.keyframes.end.bracket.curly.css"
423
+ }
424
+ },
425
+ "name": "meta.at-rule.keyframes.body.css",
426
+ "patterns": [
427
+ {
428
+ "include": "#comment-block"
429
+ },
430
+ {
431
+ "include": "#escapes"
432
+ },
433
+ {
434
+ "captures": {
435
+ "1": {
436
+ "name": "entity.other.keyframe-offset.css"
437
+ },
438
+ "2": {
439
+ "name": "entity.other.keyframe-offset.percentage.css"
440
+ }
441
+ },
442
+ "match": "(?xi)\n(?<![\\w-]) (from|to) (?![\\w-]) # Keywords for 0% | 100%\n|\n([-+]?(?:\\d+(?:\\.\\d+)?|\\.\\d+)%) # Percentile value"
443
+ },
444
+ {
445
+ "include": "#rule-list"
446
+ }
447
+ ]
448
+ }
449
+ ]
450
+ },
451
+ {
452
+ "begin": "(?i)(?=@supports(\\s|\\(|/\\*|$))",
453
+ "end": "(?<=})(?!\\G)|(?=;)",
454
+ "patterns": [
455
+ {
456
+ "begin": "(?i)\\G(@)supports",
457
+ "beginCaptures": {
458
+ "0": {
459
+ "name": "keyword.control.at-rule.supports.css"
460
+ },
461
+ "1": {
462
+ "name": "punctuation.definition.keyword.css"
463
+ }
464
+ },
465
+ "end": "(?=\\s*[{;])",
466
+ "name": "meta.at-rule.supports.header.css",
467
+ "patterns": [
468
+ {
469
+ "include": "#feature-query-operators"
470
+ },
471
+ {
472
+ "include": "#feature-query"
473
+ },
474
+ {
475
+ "include": "#comment-block"
476
+ },
477
+ {
478
+ "include": "#escapes"
479
+ }
480
+ ]
481
+ },
482
+ {
483
+ "begin": "{",
484
+ "beginCaptures": {
485
+ "0": {
486
+ "name": "punctuation.section.supports.begin.bracket.curly.css"
487
+ }
488
+ },
489
+ "end": "}",
490
+ "endCaptures": {
491
+ "0": {
492
+ "name": "punctuation.section.supports.end.bracket.curly.css"
493
+ }
494
+ },
495
+ "name": "meta.at-rule.supports.body.css",
496
+ "patterns": [
497
+ {
498
+ "include": "$self"
499
+ }
500
+ ]
501
+ }
502
+ ]
503
+ },
504
+ {
505
+ "begin": "(?i)((@)(-(ms|o)-)?viewport)(?=[\\s'\"{;]|/\\*|$)",
506
+ "beginCaptures": {
507
+ "1": {
508
+ "name": "keyword.control.at-rule.viewport.css"
509
+ },
510
+ "2": {
511
+ "name": "punctuation.definition.keyword.css"
512
+ }
513
+ },
514
+ "end": "(?=\\s*[@{;])",
515
+ "name": "meta.at-rule.viewport.css",
516
+ "patterns": [
517
+ {
518
+ "include": "#comment-block"
519
+ },
520
+ {
521
+ "include": "#escapes"
522
+ }
523
+ ]
524
+ },
525
+ {
526
+ "begin": "(?i)((@)font-feature-values)(?=[\\s'\"{;]|/\\*|$)\\s*",
527
+ "beginCaptures": {
528
+ "1": {
529
+ "name": "keyword.control.at-rule.font-feature-values.css"
530
+ },
531
+ "2": {
532
+ "name": "punctuation.definition.keyword.css"
533
+ }
534
+ },
535
+ "contentName": "variable.parameter.font-name.css",
536
+ "end": "(?=\\s*[@{;])",
537
+ "name": "meta.at-rule.font-features.css",
538
+ "patterns": [
539
+ {
540
+ "include": "#comment-block"
541
+ },
542
+ {
543
+ "include": "#escapes"
544
+ }
545
+ ]
546
+ },
547
+ {
548
+ "include": "#font-features"
549
+ },
550
+ {
551
+ "begin": "(?i)((@)namespace)(?=[\\s'\";]|/\\*|$)",
552
+ "beginCaptures": {
553
+ "1": {
554
+ "name": "keyword.control.at-rule.namespace.css"
555
+ },
556
+ "2": {
557
+ "name": "punctuation.definition.keyword.css"
558
+ }
559
+ },
560
+ "end": ";|(?=[@{])",
561
+ "endCaptures": {
562
+ "0": {
563
+ "name": "punctuation.terminator.rule.css"
564
+ }
565
+ },
566
+ "name": "meta.at-rule.namespace.css",
567
+ "patterns": [
568
+ {
569
+ "include": "#url"
570
+ },
571
+ {
572
+ "captures": {
573
+ "1": {
574
+ "patterns": [
575
+ {
576
+ "include": "#comment-block"
577
+ }
578
+ ]
579
+ },
580
+ "2": {
581
+ "name": "entity.name.function.namespace-prefix.css",
582
+ "patterns": [
583
+ {
584
+ "include": "#escapes"
585
+ }
586
+ ]
587
+ }
588
+ },
589
+ "match": "(?xi)\n(?:\\G|^|(?<=\\s))\n(?=\n (?<=\\s|^) # Starts with whitespace\n (?:[-a-zA-Z_]|[^\\x00-\\x7F]) # Then a valid identifier character\n |\n \\s* # Possible adjoining whitespace\n /\\*(?:[^*]|\\*[^/])*\\*/ # Injected comment\n)\n(.*?) # Grouped to embed #comment-block\n(\n (?:[-a-zA-Z_] | [^\\x00-\\x7F]) # First letter\n (?:[-a-zA-Z0-9_] | [^\\x00-\\x7F] # Remainder of identifier\n |\\\\(?:[0-9a-fA-F]{1,6}|.)\n )*\n)"
590
+ },
591
+ {
592
+ "include": "#comment-block"
593
+ },
594
+ {
595
+ "include": "#escapes"
596
+ },
597
+ {
598
+ "include": "#string"
599
+ }
600
+ ]
601
+ },
602
+ {
603
+ "begin": "(?i)(?=@[\\w-]+[^;]+;s*$)",
604
+ "end": "(?<=;)(?!\\G)",
605
+ "patterns": [
606
+ {
607
+ "begin": "(?i)\\G(@)[\\w-]+",
608
+ "beginCaptures": {
609
+ "0": {
610
+ "name": "keyword.control.at-rule.css"
611
+ },
612
+ "1": {
613
+ "name": "punctuation.definition.keyword.css"
614
+ }
615
+ },
616
+ "end": ";",
617
+ "endCaptures": {
618
+ "0": {
619
+ "name": "punctuation.terminator.rule.css"
620
+ }
621
+ },
622
+ "name": "meta.at-rule.header.css"
623
+ }
624
+ ]
625
+ },
626
+ {
627
+ "begin": "(?i)(?=@[\\w-]+(\\s|\\(|{|/\\*|$))",
628
+ "end": "(?<=})(?!\\G)",
629
+ "patterns": [
630
+ {
631
+ "begin": "(?i)\\G(@)[\\w-]+",
632
+ "beginCaptures": {
633
+ "0": {
634
+ "name": "keyword.control.at-rule.css"
635
+ },
636
+ "1": {
637
+ "name": "punctuation.definition.keyword.css"
638
+ }
639
+ },
640
+ "end": "(?=\\s*[{;])",
641
+ "name": "meta.at-rule.header.css"
642
+ },
643
+ {
644
+ "begin": "{",
645
+ "beginCaptures": {
646
+ "0": {
647
+ "name": "punctuation.section.begin.bracket.curly.css"
648
+ }
649
+ },
650
+ "end": "}",
651
+ "endCaptures": {
652
+ "0": {
653
+ "name": "punctuation.section.end.bracket.curly.css"
654
+ }
655
+ },
656
+ "name": "meta.at-rule.body.css",
657
+ "patterns": [
658
+ {
659
+ "include": "$self"
660
+ }
661
+ ]
662
+ }
663
+ ]
664
+ }
665
+ ]
666
+ },
667
+ "color-keywords": {
668
+ "patterns": [
669
+ {
670
+ "match": "(?i)(?<![\\w-])(aqua|black|blue|fuchsia|gray|green|lime|maroon|navy|olive|orange|purple|red|silver|teal|white|yellow)(?![\\w-])",
671
+ "name": "support.constant.color.w3c-standard-color-name.css"
672
+ },
673
+ {
674
+ "match": "(?xi) (?<![\\w-])\n(aliceblue|antiquewhite|aquamarine|azure|beige|bisque|blanchedalmond|blueviolet|brown|burlywood\n|cadetblue|chartreuse|chocolate|coral|cornflowerblue|cornsilk|crimson|cyan|darkblue|darkcyan\n|darkgoldenrod|darkgray|darkgreen|darkgrey|darkkhaki|darkmagenta|darkolivegreen|darkorange\n|darkorchid|darkred|darksalmon|darkseagreen|darkslateblue|darkslategray|darkslategrey|darkturquoise\n|darkviolet|deeppink|deepskyblue|dimgray|dimgrey|dodgerblue|firebrick|floralwhite|forestgreen\n|gainsboro|ghostwhite|gold|goldenrod|greenyellow|grey|honeydew|hotpink|indianred|indigo|ivory|khaki\n|lavender|lavenderblush|lawngreen|lemonchiffon|lightblue|lightcoral|lightcyan|lightgoldenrodyellow\n|lightgray|lightgreen|lightgrey|lightpink|lightsalmon|lightseagreen|lightskyblue|lightslategray\n|lightslategrey|lightsteelblue|lightyellow|limegreen|linen|magenta|mediumaquamarine|mediumblue\n|mediumorchid|mediumpurple|mediumseagreen|mediumslateblue|mediumspringgreen|mediumturquoise\n|mediumvioletred|midnightblue|mintcream|mistyrose|moccasin|navajowhite|oldlace|olivedrab|orangered\n|orchid|palegoldenrod|palegreen|paleturquoise|palevioletred|papayawhip|peachpuff|peru|pink|plum\n|powderblue|rebeccapurple|rosybrown|royalblue|saddlebrown|salmon|sandybrown|seagreen|seashell\n|sienna|skyblue|slateblue|slategray|slategrey|snow|springgreen|steelblue|tan|thistle|tomato\n|transparent|turquoise|violet|wheat|whitesmoke|yellowgreen)\n(?![\\w-])",
675
+ "name": "support.constant.color.w3c-extended-color-name.css"
676
+ },
677
+ {
678
+ "match": "(?i)(?<![\\w-])currentColor(?![\\w-])",
679
+ "name": "support.constant.color.current.css"
680
+ },
681
+ {
682
+ "match": "(?xi) (?<![\\w-])\n(ActiveBorder|ActiveCaption|AppWorkspace|Background|ButtonFace|ButtonHighlight|ButtonShadow\n|ButtonText|CaptionText|GrayText|Highlight|HighlightText|InactiveBorder|InactiveCaption\n|InactiveCaptionText|InfoBackground|InfoText|Menu|MenuText|Scrollbar|ThreeDDarkShadow\n|ThreeDFace|ThreeDHighlight|ThreeDLightShadow|ThreeDShadow|Window|WindowFrame|WindowText)\n(?![\\w-])",
683
+ "name": "invalid.deprecated.color.system.css"
684
+ }
685
+ ]
686
+ },
687
+ "combinators": {
688
+ "patterns": [
689
+ {
690
+ "match": "/deep/|>>>",
691
+ "name": "invalid.deprecated.combinator.css"
692
+ },
693
+ {
694
+ "match": ">>|>|\\+|~",
695
+ "name": "keyword.operator.combinator.css"
696
+ }
697
+ ]
698
+ },
699
+ "commas": {
700
+ "match": ",",
701
+ "name": "punctuation.separator.list.comma.css"
702
+ },
703
+ "comment-block": {
704
+ "begin": "/\\*",
705
+ "beginCaptures": {
706
+ "0": {
707
+ "name": "punctuation.definition.comment.begin.css"
708
+ }
709
+ },
710
+ "end": "\\*/",
711
+ "endCaptures": {
712
+ "0": {
713
+ "name": "punctuation.definition.comment.end.css"
714
+ }
715
+ },
716
+ "name": "comment.block.css"
717
+ },
718
+ "escapes": {
719
+ "patterns": [
720
+ {
721
+ "match": "\\\\[0-9a-fA-F]{1,6}",
722
+ "name": "constant.character.escape.codepoint.css"
723
+ },
724
+ {
725
+ "begin": "\\\\$\\s*",
726
+ "end": "^(?<!\\G)",
727
+ "name": "constant.character.escape.newline.css"
728
+ },
729
+ {
730
+ "match": "\\\\.",
731
+ "name": "constant.character.escape.css"
732
+ }
733
+ ]
734
+ },
735
+ "feature-query": {
736
+ "begin": "\\(",
737
+ "beginCaptures": {
738
+ "0": {
739
+ "name": "punctuation.definition.condition.begin.bracket.round.css"
740
+ }
741
+ },
742
+ "end": "\\)",
743
+ "endCaptures": {
744
+ "0": {
745
+ "name": "punctuation.definition.condition.end.bracket.round.css"
746
+ }
747
+ },
748
+ "name": "meta.feature-query.css",
749
+ "patterns": [
750
+ {
751
+ "include": "#feature-query-operators"
752
+ },
753
+ {
754
+ "include": "#feature-query"
755
+ }
756
+ ]
757
+ },
758
+ "feature-query-operators": {
759
+ "patterns": [
760
+ {
761
+ "match": "(?i)(?<=[\\s()]|^|\\*/)(and|not|or)(?=[\\s()]|/\\*|$)",
762
+ "name": "keyword.operator.logical.feature.$1.css"
763
+ },
764
+ {
765
+ "include": "#rule-list-innards"
766
+ }
767
+ ]
768
+ },
769
+ "font-features": {
770
+ "begin": "(?xi)\n((@)(annotation|character-variant|ornaments|styleset|stylistic|swash))\n(?=[\\s@'\"{;]|/\\*|$)",
771
+ "beginCaptures": {
772
+ "1": {
773
+ "name": "keyword.control.at-rule.${3:/downcase}.css"
774
+ },
775
+ "2": {
776
+ "name": "punctuation.definition.keyword.css"
777
+ }
778
+ },
779
+ "end": "(?<=})",
780
+ "name": "meta.at-rule.${3:/downcase}.css",
781
+ "patterns": [
782
+ {
783
+ "begin": "{",
784
+ "beginCaptures": {
785
+ "0": {
786
+ "name": "punctuation.section.property-list.begin.bracket.curly.css"
787
+ }
788
+ },
789
+ "end": "}",
790
+ "endCaptures": {
791
+ "0": {
792
+ "name": "punctuation.section.property-list.end.bracket.curly.css"
793
+ }
794
+ },
795
+ "name": "meta.property-list.font-feature.css",
796
+ "patterns": [
797
+ {
798
+ "captures": {
799
+ "0": {
800
+ "patterns": [
801
+ {
802
+ "include": "#escapes"
803
+ }
804
+ ]
805
+ }
806
+ },
807
+ "match": "(?x)\n(?: [-a-zA-Z_] | [^\\x00-\\x7F] ) # First letter\n(?: [-a-zA-Z0-9_] | [^\\x00-\\x7F] # Remainder of identifier\n | \\\\(?:[0-9a-fA-F]{1,6}|.)\n)*",
808
+ "name": "variable.font-feature.css"
809
+ },
810
+ {
811
+ "include": "#rule-list-innards"
812
+ }
813
+ ]
814
+ }
815
+ ]
816
+ },
817
+ "functional-pseudo-classes": {
818
+ "patterns": [
819
+ {
820
+ "begin": "(?i)((:)dir)(\\()",
821
+ "beginCaptures": {
822
+ "1": {
823
+ "name": "entity.other.attribute-name.pseudo-class.css"
824
+ },
825
+ "2": {
826
+ "name": "punctuation.definition.entity.css"
827
+ },
828
+ "3": {
829
+ "name": "punctuation.section.function.begin.bracket.round.css"
830
+ }
831
+ },
832
+ "end": "\\)",
833
+ "endCaptures": {
834
+ "0": {
835
+ "name": "punctuation.section.function.end.bracket.round.css"
836
+ }
837
+ },
838
+ "patterns": [
839
+ {
840
+ "include": "#comment-block"
841
+ },
842
+ {
843
+ "include": "#escapes"
844
+ },
845
+ {
846
+ "match": "(?i)(?<![\\w-])(ltr|rtl)(?![\\w-])",
847
+ "name": "support.constant.text-direction.css"
848
+ },
849
+ {
850
+ "include": "#property-values"
851
+ }
852
+ ]
853
+ },
854
+ {
855
+ "begin": "(?i)((:)lang)(\\()",
856
+ "beginCaptures": {
857
+ "1": {
858
+ "name": "entity.other.attribute-name.pseudo-class.css"
859
+ },
860
+ "2": {
861
+ "name": "punctuation.definition.entity.css"
862
+ },
863
+ "3": {
864
+ "name": "punctuation.section.function.begin.bracket.round.css"
865
+ }
866
+ },
867
+ "end": "\\)",
868
+ "endCaptures": {
869
+ "0": {
870
+ "name": "punctuation.section.function.end.bracket.round.css"
871
+ }
872
+ },
873
+ "patterns": [
874
+ {
875
+ "match": "(?<=[(,\\s])[a-zA-Z]+(-[a-zA-Z0-9]*|\\\\(?:[0-9a-fA-F]{1,6}|.))*(?=[),\\s])",
876
+ "name": "support.constant.language-range.css"
877
+ },
878
+ {
879
+ "begin": "\"",
880
+ "beginCaptures": {
881
+ "0": {
882
+ "name": "punctuation.definition.string.begin.css"
883
+ }
884
+ },
885
+ "end": "\"",
886
+ "endCaptures": {
887
+ "0": {
888
+ "name": "punctuation.definition.string.end.css"
889
+ }
890
+ },
891
+ "name": "string.quoted.double.css",
892
+ "patterns": [
893
+ {
894
+ "include": "#escapes"
895
+ },
896
+ {
897
+ "match": "(?<=[\"\\s])[a-zA-Z*]+(-[a-zA-Z0-9*]*)*(?=[\"\\s])",
898
+ "name": "support.constant.language-range.css"
899
+ }
900
+ ]
901
+ },
902
+ {
903
+ "begin": "'",
904
+ "beginCaptures": {
905
+ "0": {
906
+ "name": "punctuation.definition.string.begin.css"
907
+ }
908
+ },
909
+ "end": "'",
910
+ "endCaptures": {
911
+ "0": {
912
+ "name": "punctuation.definition.string.end.css"
913
+ }
914
+ },
915
+ "name": "string.quoted.single.css",
916
+ "patterns": [
917
+ {
918
+ "include": "#escapes"
919
+ },
920
+ {
921
+ "match": "(?<=['\\s])[a-zA-Z*]+(-[a-zA-Z0-9*]*)*(?=['\\s])",
922
+ "name": "support.constant.language-range.css"
923
+ }
924
+ ]
925
+ },
926
+ {
927
+ "include": "#commas"
928
+ }
929
+ ]
930
+ },
931
+ {
932
+ "begin": "(?i)((:)(?:not|has|matches|where|is))(\\()",
933
+ "beginCaptures": {
934
+ "1": {
935
+ "name": "entity.other.attribute-name.pseudo-class.css"
936
+ },
937
+ "2": {
938
+ "name": "punctuation.definition.entity.css"
939
+ },
940
+ "3": {
941
+ "name": "punctuation.section.function.begin.bracket.round.css"
942
+ }
943
+ },
944
+ "end": "\\)",
945
+ "endCaptures": {
946
+ "0": {
947
+ "name": "punctuation.section.function.end.bracket.round.css"
948
+ }
949
+ },
950
+ "patterns": [
951
+ {
952
+ "include": "#selector-innards"
953
+ }
954
+ ]
955
+ },
956
+ {
957
+ "begin": "(?i)((:)nth-(?:last-)?(?:child|of-type))(\\()",
958
+ "beginCaptures": {
959
+ "1": {
960
+ "name": "entity.other.attribute-name.pseudo-class.css"
961
+ },
962
+ "2": {
963
+ "name": "punctuation.definition.entity.css"
964
+ },
965
+ "3": {
966
+ "name": "punctuation.section.function.begin.bracket.round.css"
967
+ }
968
+ },
969
+ "end": "\\)",
970
+ "endCaptures": {
971
+ "0": {
972
+ "name": "punctuation.section.function.end.bracket.round.css"
973
+ }
974
+ },
975
+ "patterns": [
976
+ {
977
+ "match": "(?i)[+-]?(\\d+n?|n)(\\s*[+-]\\s*\\d+)?",
978
+ "name": "constant.numeric.css"
979
+ },
980
+ {
981
+ "match": "(?i)even|odd",
982
+ "name": "support.constant.parity.css"
983
+ }
984
+ ]
985
+ }
986
+ ]
987
+ },
988
+ "functions": {
989
+ "patterns": [
990
+ {
991
+ "begin": "(?i)(?<![\\w-])(calc)(\\()",
992
+ "beginCaptures": {
993
+ "1": {
994
+ "name": "support.function.calc.css"
995
+ },
996
+ "2": {
997
+ "name": "punctuation.section.function.begin.bracket.round.css"
998
+ }
999
+ },
1000
+ "end": "\\)",
1001
+ "endCaptures": {
1002
+ "0": {
1003
+ "name": "punctuation.section.function.end.bracket.round.css"
1004
+ }
1005
+ },
1006
+ "name": "meta.function.calc.css",
1007
+ "patterns": [
1008
+ {
1009
+ "match": "[*/]|(?<=\\s|^)[-+](?=\\s|$)",
1010
+ "name": "keyword.operator.arithmetic.css"
1011
+ },
1012
+ {
1013
+ "include": "#property-values"
1014
+ }
1015
+ ]
1016
+ },
1017
+ {
1018
+ "begin": "(?i)(?<![\\w-])(rgba?|rgb|hsla?|hsl|hwb|lab|oklab|lch|oklch|color)(\\()",
1019
+ "beginCaptures": {
1020
+ "1": {
1021
+ "name": "support.function.misc.css"
1022
+ },
1023
+ "2": {
1024
+ "name": "punctuation.section.function.begin.bracket.round.css"
1025
+ }
1026
+ },
1027
+ "end": "\\)",
1028
+ "endCaptures": {
1029
+ "0": {
1030
+ "name": "punctuation.section.function.end.bracket.round.css"
1031
+ }
1032
+ },
1033
+ "name": "meta.function.color.css",
1034
+ "patterns": [
1035
+ {
1036
+ "include": "#property-values"
1037
+ }
1038
+ ]
1039
+ },
1040
+ {
1041
+ "begin": "(?xi) (?<![\\w-])\n(\n (?:-webkit-|-moz-|-o-)? # Accept prefixed/historical variants\n (?:repeating-)? # \"Repeating\"-type gradient\n (?:linear|radial|conic) # Shape\n -gradient\n)\n(\\()",
1042
+ "beginCaptures": {
1043
+ "1": {
1044
+ "name": "support.function.gradient.css"
1045
+ },
1046
+ "2": {
1047
+ "name": "punctuation.section.function.begin.bracket.round.css"
1048
+ }
1049
+ },
1050
+ "end": "\\)",
1051
+ "endCaptures": {
1052
+ "0": {
1053
+ "name": "punctuation.section.function.end.bracket.round.css"
1054
+ }
1055
+ },
1056
+ "name": "meta.function.gradient.css",
1057
+ "patterns": [
1058
+ {
1059
+ "match": "(?i)(?<![\\w-])(from|to|at|in|hue)(?![\\w-])",
1060
+ "name": "keyword.operator.gradient.css"
1061
+ },
1062
+ {
1063
+ "include": "#property-values"
1064
+ }
1065
+ ]
1066
+ },
1067
+ {
1068
+ "begin": "(?i)(?<![\\w-])(-webkit-gradient)(\\()",
1069
+ "beginCaptures": {
1070
+ "1": {
1071
+ "name": "invalid.deprecated.gradient.function.css"
1072
+ },
1073
+ "2": {
1074
+ "name": "punctuation.section.function.begin.bracket.round.css"
1075
+ }
1076
+ },
1077
+ "end": "\\)",
1078
+ "endCaptures": {
1079
+ "0": {
1080
+ "name": "punctuation.section.function.end.bracket.round.css"
1081
+ }
1082
+ },
1083
+ "name": "meta.function.gradient.invalid.deprecated.gradient.css",
1084
+ "patterns": [
1085
+ {
1086
+ "begin": "(?i)(?<![\\w-])(from|to|color-stop)(\\()",
1087
+ "beginCaptures": {
1088
+ "1": {
1089
+ "name": "invalid.deprecated.function.css"
1090
+ },
1091
+ "2": {
1092
+ "name": "punctuation.section.function.begin.bracket.round.css"
1093
+ }
1094
+ },
1095
+ "end": "\\)",
1096
+ "endCaptures": {
1097
+ "0": {
1098
+ "name": "punctuation.section.function.end.bracket.round.css"
1099
+ }
1100
+ },
1101
+ "patterns": [
1102
+ {
1103
+ "include": "#property-values"
1104
+ }
1105
+ ]
1106
+ },
1107
+ {
1108
+ "include": "#property-values"
1109
+ }
1110
+ ]
1111
+ },
1112
+ {
1113
+ "begin": "(?xi) (?<![\\w-])\n(annotation|attr|blur|brightness|character-variant|clamp|contrast|counters?\n|cross-fade|drop-shadow|element|fit-content|format|grayscale|hue-rotate|color-mix\n|image-set|invert|local|max|min|minmax|opacity|ornaments|repeat|saturate|sepia\n|styleset|stylistic|swash|symbols\n|cos|sin|tan|acos|asin|atan|atan2|hypot|sqrt|pow|log|exp|abs|sign)\n(\\()",
1114
+ "beginCaptures": {
1115
+ "1": {
1116
+ "name": "support.function.misc.css"
1117
+ },
1118
+ "2": {
1119
+ "name": "punctuation.section.function.begin.bracket.round.css"
1120
+ }
1121
+ },
1122
+ "end": "\\)",
1123
+ "endCaptures": {
1124
+ "0": {
1125
+ "name": "punctuation.section.function.end.bracket.round.css"
1126
+ }
1127
+ },
1128
+ "name": "meta.function.misc.css",
1129
+ "patterns": [
1130
+ {
1131
+ "match": "(?i)(?<=[,\\s\"]|\\*/|^)\\d+x(?=[\\s,\"')]|/\\*|$)",
1132
+ "name": "constant.numeric.other.density.css"
1133
+ },
1134
+ {
1135
+ "include": "#property-values"
1136
+ },
1137
+ {
1138
+ "match": "[^'\"),\\s]+",
1139
+ "name": "variable.parameter.misc.css"
1140
+ }
1141
+ ]
1142
+ },
1143
+ {
1144
+ "begin": "(?i)(?<![\\w-])(circle|ellipse|inset|polygon|rect)(\\()",
1145
+ "beginCaptures": {
1146
+ "1": {
1147
+ "name": "support.function.shape.css"
1148
+ },
1149
+ "2": {
1150
+ "name": "punctuation.section.function.begin.bracket.round.css"
1151
+ }
1152
+ },
1153
+ "end": "\\)",
1154
+ "endCaptures": {
1155
+ "0": {
1156
+ "name": "punctuation.section.function.end.bracket.round.css"
1157
+ }
1158
+ },
1159
+ "name": "meta.function.shape.css",
1160
+ "patterns": [
1161
+ {
1162
+ "match": "(?i)(?<=\\s|^|\\*/)(at|round)(?=\\s|/\\*|$)",
1163
+ "name": "keyword.operator.shape.css"
1164
+ },
1165
+ {
1166
+ "include": "#property-values"
1167
+ }
1168
+ ]
1169
+ },
1170
+ {
1171
+ "begin": "(?i)(?<![\\w-])(cubic-bezier|steps)(\\()",
1172
+ "beginCaptures": {
1173
+ "1": {
1174
+ "name": "support.function.timing-function.css"
1175
+ },
1176
+ "2": {
1177
+ "name": "punctuation.section.function.begin.bracket.round.css"
1178
+ }
1179
+ },
1180
+ "end": "\\)",
1181
+ "endCaptures": {
1182
+ "0": {
1183
+ "name": "punctuation.section.function.end.bracket.round.css"
1184
+ }
1185
+ },
1186
+ "name": "meta.function.timing-function.css",
1187
+ "patterns": [
1188
+ {
1189
+ "match": "(?i)(?<![\\w-])(start|end)(?=\\s*\\)|$)",
1190
+ "name": "support.constant.step-direction.css"
1191
+ },
1192
+ {
1193
+ "include": "#property-values"
1194
+ }
1195
+ ]
1196
+ },
1197
+ {
1198
+ "begin": "(?xi) (?<![\\w-])\n( (?:translate|scale|rotate)(?:[XYZ]|3D)?\n| matrix(?:3D)?\n| skew[XY]?\n| perspective\n)\n(\\()",
1199
+ "beginCaptures": {
1200
+ "1": {
1201
+ "name": "support.function.transform.css"
1202
+ },
1203
+ "2": {
1204
+ "name": "punctuation.section.function.begin.bracket.round.css"
1205
+ }
1206
+ },
1207
+ "end": "\\)",
1208
+ "endCaptures": {
1209
+ "0": {
1210
+ "name": "punctuation.section.function.end.bracket.round.css"
1211
+ }
1212
+ },
1213
+ "patterns": [
1214
+ {
1215
+ "include": "#property-values"
1216
+ }
1217
+ ]
1218
+ },
1219
+ {
1220
+ "include": "#url"
1221
+ },
1222
+ {
1223
+ "begin": "(?i)(?<![\\w-])(var)(\\()",
1224
+ "beginCaptures": {
1225
+ "1": {
1226
+ "name": "support.function.misc.css"
1227
+ },
1228
+ "2": {
1229
+ "name": "punctuation.section.function.begin.bracket.round.css"
1230
+ }
1231
+ },
1232
+ "end": "\\)",
1233
+ "endCaptures": {
1234
+ "0": {
1235
+ "name": "punctuation.section.function.end.bracket.round.css"
1236
+ }
1237
+ },
1238
+ "name": "meta.function.variable.css",
1239
+ "patterns": [
1240
+ {
1241
+ "match": "(?x)\n--\n(?:[-a-zA-Z_] | [^\\x00-\\x7F]) # First letter\n(?:[-a-zA-Z0-9_] | [^\\x00-\\x7F] # Remainder of identifier\n |\\\\(?:[0-9a-fA-F]{1,6}|.)\n)*",
1242
+ "name": "variable.argument.css"
1243
+ },
1244
+ {
1245
+ "include": "#property-values"
1246
+ }
1247
+ ]
1248
+ }
1249
+ ]
1250
+ },
1251
+ "media-feature-keywords": {
1252
+ "match": "(?xi)\n(?<=^|\\s|:|\\*/)\n(?: portrait # Orientation\n | landscape\n | progressive # Scan types\n | interlace\n | fullscreen # Display modes\n | standalone\n | minimal-ui\n | browser\n | hover\n)\n(?=\\s|\\)|$)",
1253
+ "name": "support.constant.property-value.css"
1254
+ },
1255
+ "media-features": {
1256
+ "captures": {
1257
+ "1": {
1258
+ "name": "support.type.property-name.media.css"
1259
+ },
1260
+ "2": {
1261
+ "name": "support.type.property-name.media.css"
1262
+ },
1263
+ "3": {
1264
+ "name": "support.type.vendored.property-name.media.css"
1265
+ }
1266
+ },
1267
+ "match": "(?xi)\n(?<=^|\\s|\\(|\\*/) # Preceded by whitespace, bracket or comment\n(?:\n # Standardised features\n (\n (?:min-|max-)? # Range features\n (?: height\n | width\n | aspect-ratio\n | color\n | color-index\n | monochrome\n | resolution\n )\n | grid # Discrete features\n | scan\n | orientation\n | display-mode\n | hover\n )\n |\n # Deprecated features\n (\n (?:min-|max-)? # Deprecated in Media Queries 4\n device-\n (?: height\n | width\n | aspect-ratio\n )\n )\n |\n # Vendor extensions\n (\n (?:\n # Spec-compliant syntax\n [-_]\n (?: webkit # Webkit/Blink\n | apple|khtml # Webkit aliases\n | epub # ePub3\n | moz # Gecko\n | ms # Microsoft\n | o # Presto (pre-Opera 15)\n | xv|ah|rim|atsc| # Less common vendors\n hp|tc|wap|ro\n )\n |\n # Non-standard prefixes\n (?: mso # Microsoft Office\n | prince # YesLogic\n )\n )\n -\n [\\w-]+ # Feature name\n (?= # Terminates correctly\n \\s* # Possible whitespace\n (?: # Possible injected comment\n /\\*\n (?:[^*]|\\*[^/])*\n \\*/\n )?\n \\s*\n [:)] # Ends with a colon or closed bracket\n )\n )\n)\n(?=\\s|$|[><:=]|\\)|/\\*) # Terminates cleanly"
1268
+ },
1269
+ "media-query": {
1270
+ "begin": "\\G",
1271
+ "end": "(?=\\s*[{;])",
1272
+ "patterns": [
1273
+ {
1274
+ "include": "#comment-block"
1275
+ },
1276
+ {
1277
+ "include": "#escapes"
1278
+ },
1279
+ {
1280
+ "include": "#media-types"
1281
+ },
1282
+ {
1283
+ "match": "(?i)(?<=\\s|^|,|\\*/)(only|not)(?=\\s|{|/\\*|$)",
1284
+ "name": "keyword.operator.logical.$1.media.css"
1285
+ },
1286
+ {
1287
+ "match": "(?i)(?<=\\s|^|\\*/|\\))and(?=\\s|/\\*|$)",
1288
+ "name": "keyword.operator.logical.and.media.css"
1289
+ },
1290
+ {
1291
+ "match": ",(?:(?:\\s*,)+|(?=\\s*[;){]))",
1292
+ "name": "invalid.illegal.comma.css"
1293
+ },
1294
+ {
1295
+ "include": "#commas"
1296
+ },
1297
+ {
1298
+ "begin": "\\(",
1299
+ "beginCaptures": {
1300
+ "0": {
1301
+ "name": "punctuation.definition.parameters.begin.bracket.round.css"
1302
+ }
1303
+ },
1304
+ "end": "\\)",
1305
+ "endCaptures": {
1306
+ "0": {
1307
+ "name": "punctuation.definition.parameters.end.bracket.round.css"
1308
+ }
1309
+ },
1310
+ "patterns": [
1311
+ {
1312
+ "include": "#media-features"
1313
+ },
1314
+ {
1315
+ "include": "#media-feature-keywords"
1316
+ },
1317
+ {
1318
+ "match": ":",
1319
+ "name": "punctuation.separator.key-value.css"
1320
+ },
1321
+ {
1322
+ "match": ">=|<=|=|<|>",
1323
+ "name": "keyword.operator.comparison.css"
1324
+ },
1325
+ {
1326
+ "captures": {
1327
+ "1": {
1328
+ "name": "constant.numeric.css"
1329
+ },
1330
+ "2": {
1331
+ "name": "keyword.operator.arithmetic.css"
1332
+ },
1333
+ "3": {
1334
+ "name": "constant.numeric.css"
1335
+ }
1336
+ },
1337
+ "match": "(\\d+)\\s*(/)\\s*(\\d+)",
1338
+ "name": "meta.ratio.css"
1339
+ },
1340
+ {
1341
+ "include": "#numeric-values"
1342
+ },
1343
+ {
1344
+ "include": "#comment-block"
1345
+ }
1346
+ ]
1347
+ }
1348
+ ]
1349
+ },
1350
+ "media-query-list": {
1351
+ "begin": "(?=\\s*[^{;])",
1352
+ "end": "(?=\\s*[{;])",
1353
+ "patterns": [
1354
+ {
1355
+ "include": "#media-query"
1356
+ }
1357
+ ]
1358
+ },
1359
+ "media-types": {
1360
+ "captures": {
1361
+ "1": {
1362
+ "name": "support.constant.media.css"
1363
+ },
1364
+ "2": {
1365
+ "name": "invalid.deprecated.constant.media.css"
1366
+ }
1367
+ },
1368
+ "match": "(?xi)\n(?<=^|\\s|,|\\*/)\n(?:\n # Valid media types\n (all|print|screen|speech)\n |\n # Deprecated in Media Queries 4: http://dev.w3.org/csswg/mediaqueries/#media-types\n (aural|braille|embossed|handheld|projection|tty|tv)\n)\n(?=$|[{,\\s;]|/\\*)"
1369
+ },
1370
+ "numeric-values": {
1371
+ "patterns": [
1372
+ {
1373
+ "captures": {
1374
+ "1": {
1375
+ "name": "punctuation.definition.constant.css"
1376
+ }
1377
+ },
1378
+ "match": "(#)(?:[0-9a-fA-F]{3,4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})\\b",
1379
+ "name": "constant.other.color.rgb-value.hex.css"
1380
+ },
1381
+ {
1382
+ "captures": {
1383
+ "1": {
1384
+ "name": "keyword.other.unit.percentage.css"
1385
+ },
1386
+ "2": {
1387
+ "name": "keyword.other.unit.${2:/downcase}.css"
1388
+ }
1389
+ },
1390
+ "match": "(?xi) (?<![\\w-])\n[-+]? # Sign indicator\n\n(?: # Numerals\n [0-9]+ (?:\\.[0-9]+)? # Integer/float with leading digits\n | \\.[0-9]+ # Float without leading digits\n)\n\n(?: # Scientific notation\n (?<=[0-9]) # Exponent must follow a digit\n E # Exponent indicator\n [-+]? # Possible sign indicator\n [0-9]+ # Exponent value\n)?\n\n(?: # Possible unit for data-type:\n (%) # - Percentage\n | ( deg|grad|rad|turn # - Angle\n | Hz|kHz # - Frequency\n | ch|cm|em|ex|fr|in|mm|mozmm| # - Length\n pc|pt|px|q|rem|rch|rex|rlh|\n ic|ric|rcap|vh|vw|vb|vi|svh|\n svw|svb|svi|dvh|dvw|dvb|dvi|\n lvh|lvw|lvb|lvi|vmax|vmin|\n cqw|cqi|cqh|cqb|cqmin|cqmax\n | dpi|dpcm|dppx # - Resolution\n | s|ms # - Time\n )\n \\b # Boundary checking intentionally lax to\n)? # facilitate embedding in CSS-like grammars",
1391
+ "name": "constant.numeric.css"
1392
+ }
1393
+ ]
1394
+ },
1395
+ "property-keywords": {
1396
+ "patterns": [
1397
+ {
1398
+ "match": "(?xi) (?<![\\w-])\n(above|absolute|active|add|additive|after-edge|alias|all|all-petite-caps|all-scroll|all-small-caps|alpha|alphabetic|alternate|alternate-reverse\n|always|antialiased|auto|auto-fill|auto-fit|auto-pos|available|avoid|avoid-column|avoid-page|avoid-region|backwards|balance|baseline|before-edge|below|bevel\n|bidi-override|blink|block|block-axis|block-start|block-end|bold|bolder|border|border-box|both|bottom|bottom-outside|break-all|break-word|bullets\n|butt|capitalize|caption|cell|center|central|char|circle|clip|clone|close-quote|closest-corner|closest-side|col-resize|collapse|color|color-burn\n|color-dodge|column|column-reverse|common-ligatures|compact|condensed|contain|content|content-box|contents|context-menu|contextual|copy|cover\n|crisp-edges|crispEdges|crosshair|cyclic|dark|darken|dashed|decimal|default|dense|diagonal-fractions|difference|digits|disabled|disc|discretionary-ligatures\n|distribute|distribute-all-lines|distribute-letter|distribute-space|dot|dotted|double|double-circle|downleft|downright|e-resize|each-line|ease|ease-in\n|ease-in-out|ease-out|economy|ellipse|ellipsis|embed|end|evenodd|ew-resize|exact|exclude|exclusion|expanded|extends|extra-condensed|extra-expanded\n|fallback|farthest-corner|farthest-side|fill|fill-available|fill-box|filled|fit-content|fixed|flat|flex|flex-end|flex-start|flip|flow-root|forwards|freeze\n|from-image|full-width|geometricPrecision|georgian|grab|grabbing|grayscale|grid|groove|hand|hanging|hard-light|help|hidden|hide\n|historical-forms|historical-ligatures|horizontal|horizontal-tb|hue|icon|ideograph-alpha|ideograph-numeric|ideograph-parenthesis|ideograph-space\n|ideographic|inactive|infinite|inherit|initial|inline|inline-axis|inline-block|inline-end|inline-flex|inline-grid|inline-list-item|inline-start\n|inline-table|inset|inside|inter-character|inter-ideograph|inter-word|intersect|invert|isolate|isolate-override|italic|jis04|jis78|jis83\n|jis90|justify|justify-all|kannada|keep-all|landscape|large|larger|left|light|lighten|lighter|line|line-edge|line-through|linear|linearRGB\n|lining-nums|list-item|local|loose|lowercase|lr|lr-tb|ltr|luminance|luminosity|main-size|mandatory|manipulation|manual|margin-box|match-parent\n|match-source|mathematical|max-content|medium|menu|message-box|middle|min-content|miter|mixed|move|multiply|n-resize|narrower|ne-resize\n|nearest-neighbor|nesw-resize|newspaper|no-change|no-clip|no-close-quote|no-common-ligatures|no-contextual|no-discretionary-ligatures\n|no-drop|no-historical-ligatures|no-open-quote|no-repeat|none|nonzero|normal|not-allowed|nowrap|ns-resize|numbers|numeric|nw-resize|nwse-resize\n|oblique|oldstyle-nums|open|open-quote|optimizeLegibility|optimizeQuality|optimizeSpeed|optional|ordinal|outset|outside|over|overlay|overline|padding\n|padding-box|page|painted|pan-down|pan-left|pan-right|pan-up|pan-x|pan-y|paused|petite-caps|pixelated|plaintext|pointer|portrait|pre|pre-line\n|pre-wrap|preserve-3d|progress|progressive|proportional-nums|proportional-width|proximity|radial|recto|region|relative|remove|repeat|repeat-[xy]\n|reset-size|reverse|revert|ridge|right|rl|rl-tb|round|row|row-resize|row-reverse|row-severse|rtl|ruby|ruby-base|ruby-base-container|ruby-text\n|ruby-text-container|run-in|running|s-resize|saturation|scale-down|screen|scroll|scroll-position|se-resize|semi-condensed|semi-expanded|separate\n|sesame|show|sideways|sideways-left|sideways-lr|sideways-right|sideways-rl|simplified|slashed-zero|slice|small|small-caps|small-caption|smaller\n|smooth|soft-light|solid|space|space-around|space-between|space-evenly|spell-out|square|sRGB|stacked-fractions|start|static|status-bar|swap\n|step-end|step-start|sticky|stretch|strict|stroke|stroke-box|style|sub|subgrid|subpixel-antialiased|subtract|super|sw-resize|symbolic|table\n|table-caption|table-cell|table-column|table-column-group|table-footer-group|table-header-group|table-row|table-row-group|tabular-nums|tb|tb-rl\n|text|text-after-edge|text-before-edge|text-bottom|text-top|thick|thin|titling-caps|top|top-outside|touch|traditional|transparent|triangle\n|ultra-condensed|ultra-expanded|under|underline|unicase|unset|upleft|uppercase|upright|use-glyph-orientation|use-script|verso|vertical\n|vertical-ideographic|vertical-lr|vertical-rl|vertical-text|view-box|visible|visibleFill|visiblePainted|visibleStroke|w-resize|wait|wavy\n|weight|whitespace|wider|words|wrap|wrap-reverse|x|x-large|x-small|xx-large|xx-small|y|zero|zoom-in|zoom-out)\n(?![\\w-])",
1399
+ "name": "support.constant.property-value.css"
1400
+ },
1401
+ {
1402
+ "match": "(?xi) (?<![\\w-])\n(arabic-indic|armenian|bengali|cambodian|circle|cjk-decimal|cjk-earthly-branch|cjk-heavenly-stem|cjk-ideographic\n|decimal|decimal-leading-zero|devanagari|disc|disclosure-closed|disclosure-open|ethiopic-halehame-am\n|ethiopic-halehame-ti-e[rt]|ethiopic-numeric|georgian|gujarati|gurmukhi|hangul|hangul-consonant|hebrew\n|hiragana|hiragana-iroha|japanese-formal|japanese-informal|kannada|katakana|katakana-iroha|khmer\n|korean-hangul-formal|korean-hanja-formal|korean-hanja-informal|lao|lower-alpha|lower-armenian|lower-greek\n|lower-latin|lower-roman|malayalam|mongolian|myanmar|oriya|persian|simp-chinese-formal|simp-chinese-informal\n|square|tamil|telugu|thai|tibetan|trad-chinese-formal|trad-chinese-informal|upper-alpha|upper-armenian\n|upper-latin|upper-roman|urdu)\n(?![\\w-])",
1403
+ "name": "support.constant.property-value.list-style-type.css"
1404
+ },
1405
+ {
1406
+ "match": "(?<![\\w-])(?i:-(?:ah|apple|atsc|epub|hp|khtml|moz|ms|o|rim|ro|tc|wap|webkit|xv)|(?:mso|prince))-[a-zA-Z-]+",
1407
+ "name": "support.constant.vendored.property-value.css"
1408
+ },
1409
+ {
1410
+ "match": "(?<![\\w-])(?i:arial|century|comic|courier|garamond|georgia|helvetica|impact|lucida|symbol|system-ui|system|tahoma|times|trebuchet|ui-monospace|ui-rounded|ui-sans-serif|ui-serif|utopia|verdana|webdings|sans-serif|serif|monospace)(?![\\w-])",
1411
+ "name": "support.constant.font-name.css"
1412
+ }
1413
+ ]
1414
+ },
1415
+ "property-names": {
1416
+ "patterns": [
1417
+ {
1418
+ "match": "(?xi) (?<![\\w-])\n(?:\n # Standard CSS\n accent-color|additive-symbols|align-content|align-items|align-self|all|animation|animation-delay|animation-direction|animation-duration\n | animation-fill-mode|animation-iteration-count|animation-name|animation-play-state|animation-timing-function|backdrop-filter\n | backface-visibility|background|background-attachment|background-blend-mode|background-clip|background-color|background-image\n | background-origin|background-position|background-position-[xy]|background-repeat|background-size|bleed|block-size|border\n | border-block-end|border-block-end-color|border-block-end-style|border-block-end-width|border-block-start|border-block-start-color\n | border-block-start-style|border-block-start-width|border-bottom|border-bottom-color|border-bottom-left-radius|border-bottom-right-radius\n | border-bottom-style|border-bottom-width|border-collapse|border-color|border-end-end-radius|border-end-start-radius|border-image\n | border-image-outset|border-image-repeat|border-image-slice|border-image-source|border-image-width|border-inline-end\n | border-inline-end-color|border-inline-end-style|border-inline-end-width|border-inline-start|border-inline-start-color\n | border-inline-start-style|border-inline-start-width|border-left|border-left-color|border-left-style|border-left-width\n | border-radius|border-right|border-right-color|border-right-style|border-right-width|border-spacing|border-start-end-radius\n | border-start-start-radius|border-style|border-top|border-top-color|border-top-left-radius|border-top-right-radius|border-top-style\n | border-top-width|border-width|bottom|box-decoration-break|box-shadow|box-sizing|break-after|break-before|break-inside|caption-side\n | caret-color|clear|clip|clip-path|clip-rule|color|color-adjust|color-interpolation-filters|color-scheme|column-count|column-fill|column-gap\n | column-rule|column-rule-color|column-rule-style|column-rule-width|column-span|column-width|columns|contain|container|container-name|container-type|content|counter-increment\n | counter-reset|cursor|direction|display|empty-cells|enable-background|fallback|fill|fill-opacity|fill-rule|filter|flex|flex-basis\n | flex-direction|flex-flow|flex-grow|flex-shrink|flex-wrap|float|flood-color|flood-opacity|font|font-display|font-family\n | font-feature-settings|font-kerning|font-language-override|font-optical-sizing|font-size|font-size-adjust|font-stretch\n | font-style|font-synthesis|font-variant|font-variant-alternates|font-variant-caps|font-variant-east-asian|font-variant-ligatures\n | font-variant-numeric|font-variant-position|font-variation-settings|font-weight|gap|glyph-orientation-horizontal|glyph-orientation-vertical\n | grid|grid-area|grid-auto-columns|grid-auto-flow|grid-auto-rows|grid-column|grid-column-end|grid-column-gap|grid-column-start\n | grid-gap|grid-row|grid-row-end|grid-row-gap|grid-row-start|grid-template|grid-template-areas|grid-template-columns|grid-template-rows\n | hanging-punctuation|height|hyphens|image-orientation|image-rendering|image-resolution|ime-mode|initial-letter|initial-letter-align\n | inline-size|inset|inset-block|inset-block-end|inset-block-start|inset-inline|inset-inline-end|inset-inline-start|isolation\n | justify-content|justify-items|justify-self|kerning|left|letter-spacing|lighting-color|line-break|line-clamp|line-height|list-style\n | list-style-image|list-style-position|list-style-type|margin|margin-block|margin-block-end|margin-block-start|margin-bottom|margin-inline|margin-inline-end|margin-inline-start\n | margin-left|margin-right|margin-top|marker-end|marker-mid|marker-start|marks|mask|mask-border|mask-border-mode|mask-border-outset\n | mask-border-repeat|mask-border-slice|mask-border-source|mask-border-width|mask-clip|mask-composite|mask-image|mask-mode\n | mask-origin|mask-position|mask-repeat|mask-size|mask-type|max-block-size|max-height|max-inline-size|max-lines|max-width\n | max-zoom|min-block-size|min-height|min-inline-size|min-width|min-zoom|mix-blend-mode|negative|object-fit|object-position\n | offset|offset-anchor|offset-distance|offset-path|offset-position|offset-rotation|opacity|order|orientation|orphans\n | outline|outline-color|outline-offset|outline-style|outline-width|overflow|overflow-anchor|overflow-block|overflow-inline\n | overflow-wrap|overflow-[xy]|overscroll-behavior|overscroll-behavior-block|overscroll-behavior-inline|overscroll-behavior-[xy]\n | pad|padding|padding-block|padding-block-end|padding-block-start|padding-bottom|padding-inline|padding-inline-end|padding-inline-start|padding-left\n | padding-right|padding-top|page-break-after|page-break-before|page-break-inside|paint-order|perspective|perspective-origin\n | place-content|place-items|place-self|pointer-events|position|prefix|quotes|range|resize|right|rotate|row-gap|ruby-align\n | ruby-merge|ruby-position|scale|scroll-behavior|scroll-margin|scroll-margin-block|scroll-margin-block-end|scroll-margin-block-start\n | scroll-margin-bottom|scroll-margin-inline|scroll-margin-inline-end|scroll-margin-inline-start|scroll-margin-left|scroll-margin-right\n | scroll-margin-top|scroll-padding|scroll-padding-block|scroll-padding-block-end|scroll-padding-block-start|scroll-padding-bottom\n | scroll-padding-inline|scroll-padding-inline-end|scroll-padding-inline-start|scroll-padding-left|scroll-padding-right\n | scroll-padding-top|scroll-snap-align|scroll-snap-coordinate|scroll-snap-destination|scroll-snap-stop|scroll-snap-type\n | scrollbar-color|scrollbar-gutter|scrollbar-width|shape-image-threshold|shape-margin|shape-outside|shape-rendering|size\n | speak-as|src|stop-color|stop-opacity|stroke|stroke-dasharray|stroke-dashoffset|stroke-linecap|stroke-linejoin|stroke-miterlimit\n | stroke-opacity|stroke-width|suffix|symbols|system|tab-size|table-layout|text-align|text-align-last|text-anchor|text-combine-upright\n | text-decoration|text-decoration-color|text-decoration-line|text-decoration-skip|text-decoration-skip-ink|text-decoration-style|text-decoration-thickness\n | text-emphasis|text-emphasis-color|text-emphasis-position|text-emphasis-style|text-indent|text-justify|text-orientation\n | text-overflow|text-rendering|text-shadow|text-size-adjust|text-transform|text-underline-offset|text-underline-position|top|touch-action|transform\n | transform-box|transform-origin|transform-style|transition|transition-delay|transition-duration|transition-property|transition-timing-function\n | translate|unicode-bidi|unicode-range|user-select|user-zoom|vertical-align|visibility|white-space|widows|width|will-change\n | word-break|word-spacing|word-wrap|writing-mode|z-index|zoom\n\n # SVG attributes\n | alignment-baseline|baseline-shift|clip-rule|color-interpolation|color-interpolation-filters|color-profile\n | color-rendering|cx|cy|dominant-baseline|enable-background|fill|fill-opacity|fill-rule|flood-color|flood-opacity\n | glyph-orientation-horizontal|glyph-orientation-vertical|height|kerning|lighting-color|marker-end|marker-mid\n | marker-start|r|rx|ry|shape-rendering|stop-color|stop-opacity|stroke|stroke-dasharray|stroke-dashoffset|stroke-linecap\n | stroke-linejoin|stroke-miterlimit|stroke-opacity|stroke-width|text-anchor|width|x|y\n\n # Not listed on MDN; presumably deprecated\n | adjust|after|align|align-last|alignment|alignment-adjust|appearance|attachment|azimuth|background-break\n | balance|baseline|before|bidi|binding|bookmark|bookmark-label|bookmark-level|bookmark-target|border-length\n | bottom-color|bottom-left-radius|bottom-right-radius|bottom-style|bottom-width|box|box-align|box-direction\n | box-flex|box-flex-group|box-lines|box-ordinal-group|box-orient|box-pack|break|character|collapse|column\n | column-break-after|column-break-before|count|counter|crop|cue|cue-after|cue-before|decoration|decoration-break\n | delay|display-model|display-role|down|drop|drop-initial-after-adjust|drop-initial-after-align|drop-initial-before-adjust\n | drop-initial-before-align|drop-initial-size|drop-initial-value|duration|elevation|emphasis|family|fit|fit-position\n | flex-group|float-offset|gap|grid-columns|grid-rows|hanging-punctuation|header|hyphenate|hyphenate-after|hyphenate-before\n | hyphenate-character|hyphenate-lines|hyphenate-resource|icon|image|increment|indent|index|initial-after-adjust\n | initial-after-align|initial-before-adjust|initial-before-align|initial-size|initial-value|inline-box-align|iteration-count\n | justify|label|left-color|left-style|left-width|length|level|line|line-stacking|line-stacking-ruby|line-stacking-shift\n | line-stacking-strategy|lines|list|mark|mark-after|mark-before|marks|marquee|marquee-direction|marquee-play-count|marquee-speed\n | marquee-style|max|min|model|move-to|name|nav|nav-down|nav-index|nav-left|nav-right|nav-up|new|numeral|offset|ordinal-group\n | orient|origin|overflow-style|overhang|pack|page|page-policy|pause|pause-after|pause-before|phonemes|pitch|pitch-range\n | play-count|play-during|play-state|point|presentation|presentation-level|profile|property|punctuation|punctuation-trim\n | radius|rate|rendering-intent|repeat|replace|reset|resolution|resource|respond-to|rest|rest-after|rest-before|richness\n | right-color|right-style|right-width|role|rotation|rotation-point|rows|ruby|ruby-overhang|ruby-span|rule|rule-color\n | rule-style|rule-width|shadow|size|size-adjust|sizing|space|space-collapse|spacing|span|speak|speak-header|speak-numeral\n | speak-punctuation|speech|speech-rate|speed|stacking|stacking-ruby|stacking-shift|stacking-strategy|stress|stretch\n | string-set|style|style-image|style-position|style-type|target|target-name|target-new|target-position|text|text-height\n | text-justify|text-outline|text-replace|text-wrap|timing-function|top-color|top-left-radius|top-right-radius|top-style\n | top-width|trim|unicode|up|user-select|variant|voice|voice-balance|voice-duration|voice-family|voice-pitch|voice-pitch-range\n | voice-rate|voice-stress|voice-volume|volume|weight|white|white-space-collapse|word|wrap\n)\n(?![\\w-])",
1419
+ "name": "support.type.property-name.css"
1420
+ },
1421
+ {
1422
+ "match": "(?<![\\w-])(?i:-(?:ah|apple|atsc|epub|hp|khtml|moz|ms|o|rim|ro|tc|wap|webkit|xv)|(?:mso|prince))-[a-zA-Z-]+",
1423
+ "name": "support.type.vendored.property-name.css"
1424
+ }
1425
+ ]
1426
+ },
1427
+ "property-values": {
1428
+ "patterns": [
1429
+ {
1430
+ "include": "#commas"
1431
+ },
1432
+ {
1433
+ "include": "#comment-block"
1434
+ },
1435
+ {
1436
+ "include": "#escapes"
1437
+ },
1438
+ {
1439
+ "include": "#functions"
1440
+ },
1441
+ {
1442
+ "include": "#property-keywords"
1443
+ },
1444
+ {
1445
+ "include": "#unicode-range"
1446
+ },
1447
+ {
1448
+ "include": "#numeric-values"
1449
+ },
1450
+ {
1451
+ "include": "#color-keywords"
1452
+ },
1453
+ {
1454
+ "include": "#string"
1455
+ },
1456
+ {
1457
+ "match": "!\\s*important(?![\\w-])",
1458
+ "name": "keyword.other.important.css"
1459
+ }
1460
+ ]
1461
+ },
1462
+ "pseudo-classes": {
1463
+ "captures": {
1464
+ "1": {
1465
+ "name": "punctuation.definition.entity.css"
1466
+ },
1467
+ "2": {
1468
+ "name": "invalid.illegal.colon.css"
1469
+ }
1470
+ },
1471
+ "match": "(?xi)\n(:)(:*)\n(?: active|any-link|checked|default|disabled|empty|enabled|first\n | (?:first|last|only)-(?:child|of-type)|focus|focus-visible|focus-within|fullscreen|host|hover\n | in-range|indeterminate|invalid|left|link|optional|out-of-range\n | read-only|read-write|required|right|root|scope|target|unresolved\n | valid|visited\n)(?![\\w-]|\\s*[;}])",
1472
+ "name": "entity.other.attribute-name.pseudo-class.css"
1473
+ },
1474
+ "pseudo-elements": {
1475
+ "captures": {
1476
+ "1": {
1477
+ "name": "punctuation.definition.entity.css"
1478
+ },
1479
+ "2": {
1480
+ "name": "punctuation.definition.entity.css"
1481
+ }
1482
+ },
1483
+ "match": "(?xi)\n(?:\n (::?) # Elements using both : and :: notation\n (?: after\n | before\n | first-letter\n | first-line\n | (?:-(?:ah|apple|atsc|epub|hp|khtml|moz\n |ms|o|rim|ro|tc|wap|webkit|xv)\n | (?:mso|prince))\n -[a-z-]+\n )\n |\n (::) # Double-colon only\n (?: backdrop\n | content\n | grammar-error\n | marker\n | placeholder\n | selection\n | shadow\n | spelling-error\n )\n)\n(?![\\w-]|\\s*[;}])",
1484
+ "name": "entity.other.attribute-name.pseudo-element.css"
1485
+ },
1486
+ "rule-list": {
1487
+ "begin": "{",
1488
+ "beginCaptures": {
1489
+ "0": {
1490
+ "name": "punctuation.section.property-list.begin.bracket.curly.css"
1491
+ }
1492
+ },
1493
+ "end": "}",
1494
+ "endCaptures": {
1495
+ "0": {
1496
+ "name": "punctuation.section.property-list.end.bracket.curly.css"
1497
+ }
1498
+ },
1499
+ "name": "meta.property-list.css",
1500
+ "patterns": [
1501
+ {
1502
+ "include": "#rule-list-innards"
1503
+ }
1504
+ ]
1505
+ },
1506
+ "rule-list-innards": {
1507
+ "patterns": [
1508
+ {
1509
+ "include": "#comment-block"
1510
+ },
1511
+ {
1512
+ "include": "#escapes"
1513
+ },
1514
+ {
1515
+ "include": "#font-features"
1516
+ },
1517
+ {
1518
+ "match": "(?x) (?<![\\w-])\n--\n(?:[-a-zA-Z_] | [^\\x00-\\x7F]) # First letter\n(?:[-a-zA-Z0-9_] | [^\\x00-\\x7F] # Remainder of identifier\n |\\\\(?:[0-9a-fA-F]{1,6}|.)\n)*",
1519
+ "name": "variable.css"
1520
+ },
1521
+ {
1522
+ "begin": "(?<![-a-zA-Z])(?=[-a-zA-Z])",
1523
+ "end": "$|(?![-a-zA-Z])",
1524
+ "name": "meta.property-name.css",
1525
+ "patterns": [
1526
+ {
1527
+ "include": "#property-names"
1528
+ }
1529
+ ]
1530
+ },
1531
+ {
1532
+ "begin": "(:)\\s*",
1533
+ "beginCaptures": {
1534
+ "1": {
1535
+ "name": "punctuation.separator.key-value.css"
1536
+ }
1537
+ },
1538
+ "contentName": "meta.property-value.css",
1539
+ "end": "\\s*(;)|\\s*(?=}|\\))",
1540
+ "endCaptures": {
1541
+ "1": {
1542
+ "name": "punctuation.terminator.rule.css"
1543
+ }
1544
+ },
1545
+ "patterns": [
1546
+ {
1547
+ "include": "#comment-block"
1548
+ },
1549
+ {
1550
+ "include": "#property-values"
1551
+ }
1552
+ ]
1553
+ },
1554
+ {
1555
+ "match": ";",
1556
+ "name": "punctuation.terminator.rule.css"
1557
+ }
1558
+ ]
1559
+ },
1560
+ "selector": {
1561
+ "begin": "(?x)\n(?=\n (?:\\|)? # Possible anonymous namespace prefix\n (?:\n [-\\[:.*\\#a-zA-Z_] # Valid selector character\n |\n [^\\x00-\\x7F] # Which can include non-ASCII symbols\n |\n \\\\ # Or an escape sequence\n (?:[0-9a-fA-F]{1,6}|.)\n )\n)",
1562
+ "end": "(?=\\s*[/@{)])",
1563
+ "name": "meta.selector.css",
1564
+ "patterns": [
1565
+ {
1566
+ "include": "#selector-innards"
1567
+ }
1568
+ ]
1569
+ },
1570
+ "selector-innards": {
1571
+ "patterns": [
1572
+ {
1573
+ "include": "#comment-block"
1574
+ },
1575
+ {
1576
+ "include": "#commas"
1577
+ },
1578
+ {
1579
+ "include": "#escapes"
1580
+ },
1581
+ {
1582
+ "include": "#combinators"
1583
+ },
1584
+ {
1585
+ "captures": {
1586
+ "1": {
1587
+ "name": "entity.other.namespace-prefix.css"
1588
+ },
1589
+ "2": {
1590
+ "name": "punctuation.separator.css"
1591
+ }
1592
+ },
1593
+ "match": "(?x)\n(?:^|(?<=[\\s,(};])) # Follows whitespace, comma, semicolon, or bracket\n(?!\n [-\\w*]+\n \\|\n (?!\n [-\\[:.*\\#a-zA-Z_] # Make sure there's a selector to match\n | [^\\x00-\\x7F]\n )\n)\n(\n (?: [-a-zA-Z_] | [^\\x00-\\x7F] ) # First letter\n (?: [-a-zA-Z0-9_] | [^\\x00-\\x7F] # Remainder of identifier\n | \\\\(?:[0-9a-fA-F]{1,6}|.)\n )*\n |\n \\* # Universal namespace\n)?\n(\\|) # Namespace separator"
1594
+ },
1595
+ {
1596
+ "include": "#tag-names"
1597
+ },
1598
+ {
1599
+ "match": "\\*",
1600
+ "name": "entity.name.tag.wildcard.css"
1601
+ },
1602
+ {
1603
+ "captures": {
1604
+ "1": {
1605
+ "name": "punctuation.definition.entity.css"
1606
+ },
1607
+ "2": {
1608
+ "patterns": [
1609
+ {
1610
+ "include": "#escapes"
1611
+ }
1612
+ ]
1613
+ }
1614
+ },
1615
+ "match": "(?x) (?<![@\\w-])\n([.\\#])\n# Invalid identifier\n(\n (?:\n # Starts with ASCII digits, with possible hyphen preceding it\n -?[0-9]\n |\n # Consists of a hyphen only\n - # Terminated by either:\n (?= $ # - End-of-line\n | [\\s,.\\#)\\[:{>+~|] # - Followed by another selector\n | /\\* # - Followed by a block comment\n )\n |\n # Name contains unescaped ASCII symbol\n (?: # Check for acceptable preceding characters\n [-a-zA-Z_0-9]|[^\\x00-\\x7F] # - Valid selector character\n | \\\\(?:[0-9a-fA-F]{1,6}|.) # - Escape sequence\n )*\n (?: # Invalid punctuation\n [!\"'%&(*;<?@^`|\\]}] # - NOTE: We exempt `)` from the list of checked\n | # symbols to avoid matching `:not(.invalid)`\n / (?!\\*) # - Avoid invalidating the start of a comment\n )+\n )\n # Mark remainder of selector invalid\n (?: [-a-zA-Z_0-9]|[^\\x00-\\x7F] # - Otherwise valid identifier characters\n | \\\\(?:[0-9a-fA-F]{1,6}|.) # - Escape sequence\n )*\n)",
1616
+ "name": "invalid.illegal.bad-identifier.css"
1617
+ },
1618
+ {
1619
+ "captures": {
1620
+ "1": {
1621
+ "name": "punctuation.definition.entity.css"
1622
+ },
1623
+ "2": {
1624
+ "patterns": [
1625
+ {
1626
+ "include": "#escapes"
1627
+ }
1628
+ ]
1629
+ }
1630
+ },
1631
+ "match": "(?x)\n(\\.) # Valid class-name\n(\n (?: [-a-zA-Z_0-9]|[^\\x00-\\x7F] # Valid identifier characters\n | \\\\(?:[0-9a-fA-F]{1,6}|.) # Escape sequence\n )+\n) # Followed by either:\n(?= $ # - End of the line\n | [\\s,.\\#)\\[:{>+~|] # - Another selector\n | /\\* # - A block comment\n)",
1632
+ "name": "entity.other.attribute-name.class.css"
1633
+ },
1634
+ {
1635
+ "captures": {
1636
+ "1": {
1637
+ "name": "punctuation.definition.entity.css"
1638
+ },
1639
+ "2": {
1640
+ "patterns": [
1641
+ {
1642
+ "include": "#escapes"
1643
+ }
1644
+ ]
1645
+ }
1646
+ },
1647
+ "match": "(?x)\n(\\#)\n(\n -?\n (?![0-9])\n (?:[-a-zA-Z0-9_]|[^\\x00-\\x7F]|\\\\(?:[0-9a-fA-F]{1,6}|.))+\n)\n(?=$|[\\s,.\\#)\\[:{>+~|]|/\\*)",
1648
+ "name": "entity.other.attribute-name.id.css"
1649
+ },
1650
+ {
1651
+ "begin": "\\[",
1652
+ "beginCaptures": {
1653
+ "0": {
1654
+ "name": "punctuation.definition.entity.begin.bracket.square.css"
1655
+ }
1656
+ },
1657
+ "end": "\\]",
1658
+ "endCaptures": {
1659
+ "0": {
1660
+ "name": "punctuation.definition.entity.end.bracket.square.css"
1661
+ }
1662
+ },
1663
+ "name": "meta.attribute-selector.css",
1664
+ "patterns": [
1665
+ {
1666
+ "include": "#comment-block"
1667
+ },
1668
+ {
1669
+ "include": "#string"
1670
+ },
1671
+ {
1672
+ "captures": {
1673
+ "1": {
1674
+ "name": "storage.modifier.ignore-case.css"
1675
+ }
1676
+ },
1677
+ "match": "(?<=[\"'\\s]|^|\\*/)\\s*([iI])\\s*(?=[\\s\\]]|/\\*|$)"
1678
+ },
1679
+ {
1680
+ "captures": {
1681
+ "1": {
1682
+ "name": "string.unquoted.attribute-value.css",
1683
+ "patterns": [
1684
+ {
1685
+ "include": "#escapes"
1686
+ }
1687
+ ]
1688
+ }
1689
+ },
1690
+ "match": "(?x)(?<==)\\s*((?!/\\*)(?:[^\\\\\"'\\s\\]]|\\\\.)+)"
1691
+ },
1692
+ {
1693
+ "include": "#escapes"
1694
+ },
1695
+ {
1696
+ "match": "[~|^$*]?=",
1697
+ "name": "keyword.operator.pattern.css"
1698
+ },
1699
+ {
1700
+ "match": "\\|",
1701
+ "name": "punctuation.separator.css"
1702
+ },
1703
+ {
1704
+ "captures": {
1705
+ "1": {
1706
+ "name": "entity.other.namespace-prefix.css",
1707
+ "patterns": [
1708
+ {
1709
+ "include": "#escapes"
1710
+ }
1711
+ ]
1712
+ }
1713
+ },
1714
+ "match": "(?x)\n# Qualified namespace prefix\n( -?(?!\\d)(?:[\\w-]|[^\\x00-\\x7F]|\\\\(?:[0-9a-fA-F]{1,6}|.))+\n| \\*\n)\n# Lookahead to ensure there's a valid identifier ahead\n(?=\n \\| (?!\\s|=|$|\\])\n (?: -?(?!\\d)\n | [\\\\\\w-]\n | [^\\x00-\\x7F]\n )\n)"
1715
+ },
1716
+ {
1717
+ "captures": {
1718
+ "1": {
1719
+ "name": "entity.other.attribute-name.css",
1720
+ "patterns": [
1721
+ {
1722
+ "include": "#escapes"
1723
+ }
1724
+ ]
1725
+ }
1726
+ },
1727
+ "match": "(?x)\n(-?(?!\\d)(?>[\\w-]|[^\\x00-\\x7F]|\\\\(?:[0-9a-fA-F]{1,6}|.))+)\n\\s*\n(?=[~|^\\]$*=]|/\\*)"
1728
+ }
1729
+ ]
1730
+ },
1731
+ {
1732
+ "include": "#pseudo-classes"
1733
+ },
1734
+ {
1735
+ "include": "#pseudo-elements"
1736
+ },
1737
+ {
1738
+ "include": "#functional-pseudo-classes"
1739
+ },
1740
+ {
1741
+ "match": "(?x) (?<![@\\w-])\n(?= # Custom element names must:\n [a-z] # - start with a lowercase ASCII letter,\n \\w* - # - contain at least one dash\n)\n(?:\n (?![A-Z]) # No uppercase ASCII letters are allowed\n [\\w-] # Allow any other word character or dash\n)+\n(?![(\\w-])",
1742
+ "name": "entity.name.tag.custom.css"
1743
+ }
1744
+ ]
1745
+ },
1746
+ "string": {
1747
+ "patterns": [
1748
+ {
1749
+ "begin": "\"",
1750
+ "beginCaptures": {
1751
+ "0": {
1752
+ "name": "punctuation.definition.string.begin.css"
1753
+ }
1754
+ },
1755
+ "end": "\"|(?<!\\\\)(?=$|\\n)",
1756
+ "endCaptures": {
1757
+ "0": {
1758
+ "name": "punctuation.definition.string.end.css"
1759
+ }
1760
+ },
1761
+ "name": "string.quoted.double.css",
1762
+ "patterns": [
1763
+ {
1764
+ "begin": "(?:\\G|^)(?=(?:[^\\\\\"]|\\\\.)+$)",
1765
+ "end": "$",
1766
+ "name": "invalid.illegal.unclosed.string.css",
1767
+ "patterns": [
1768
+ {
1769
+ "include": "#escapes"
1770
+ }
1771
+ ]
1772
+ },
1773
+ {
1774
+ "include": "#escapes"
1775
+ }
1776
+ ]
1777
+ },
1778
+ {
1779
+ "begin": "'",
1780
+ "beginCaptures": {
1781
+ "0": {
1782
+ "name": "punctuation.definition.string.begin.css"
1783
+ }
1784
+ },
1785
+ "end": "'|(?<!\\\\)(?=$|\\n)",
1786
+ "endCaptures": {
1787
+ "0": {
1788
+ "name": "punctuation.definition.string.end.css"
1789
+ }
1790
+ },
1791
+ "name": "string.quoted.single.css",
1792
+ "patterns": [
1793
+ {
1794
+ "begin": "(?:\\G|^)(?=(?:[^\\\\']|\\\\.)+$)",
1795
+ "end": "$",
1796
+ "name": "invalid.illegal.unclosed.string.css",
1797
+ "patterns": [
1798
+ {
1799
+ "include": "#escapes"
1800
+ }
1801
+ ]
1802
+ },
1803
+ {
1804
+ "include": "#escapes"
1805
+ }
1806
+ ]
1807
+ }
1808
+ ]
1809
+ },
1810
+ "tag-names": {
1811
+ "match": "(?xi) (?<![\\w:-])\n(?:\n # HTML\n a|abbr|acronym|address|applet|area|article|aside|audio|b|base|basefont|bdi|bdo|bgsound\n | big|blink|blockquote|body|br|button|canvas|caption|center|cite|code|col|colgroup|command\n | content|data|datalist|dd|del|details|dfn|dialog|dir|div|dl|dt|element|em|embed|fieldset\n | figcaption|figure|font|footer|form|frame|frameset|h[1-6]|head|header|hgroup|hr|html|i\n | iframe|image|img|input|ins|isindex|kbd|keygen|label|legend|li|link|listing|main|map|mark\n | marquee|math|menu|menuitem|meta|meter|multicol|nav|nextid|nobr|noembed|noframes|noscript\n | object|ol|optgroup|option|output|p|param|picture|plaintext|pre|progress|q|rb|rp|rt|rtc\n | ruby|s|samp|script|section|select|shadow|slot|small|source|spacer|span|strike|strong\n | style|sub|summary|sup|table|tbody|td|template|textarea|tfoot|th|thead|time|title|tr\n | track|tt|u|ul|var|video|wbr|xmp\n\n # SVG\n | altGlyph|altGlyphDef|altGlyphItem|animate|animateColor|animateMotion|animateTransform\n | circle|clipPath|color-profile|cursor|defs|desc|discard|ellipse|feBlend|feColorMatrix\n | feComponentTransfer|feComposite|feConvolveMatrix|feDiffuseLighting|feDisplacementMap\n | feDistantLight|feDropShadow|feFlood|feFuncA|feFuncB|feFuncG|feFuncR|feGaussianBlur\n | feImage|feMerge|feMergeNode|feMorphology|feOffset|fePointLight|feSpecularLighting\n | feSpotLight|feTile|feTurbulence|filter|font-face|font-face-format|font-face-name\n | font-face-src|font-face-uri|foreignObject|g|glyph|glyphRef|hatch|hatchpath|hkern\n | line|linearGradient|marker|mask|mesh|meshgradient|meshpatch|meshrow|metadata\n | missing-glyph|mpath|path|pattern|polygon|polyline|radialGradient|rect|set|solidcolor\n | stop|svg|switch|symbol|text|textPath|tref|tspan|use|view|vkern\n\n # MathML\n | annotation|annotation-xml|maction|maligngroup|malignmark|math|menclose|merror|mfenced\n | mfrac|mglyph|mi|mlabeledtr|mlongdiv|mmultiscripts|mn|mo|mover|mpadded|mphantom|mroot\n | mrow|ms|mscarries|mscarry|msgroup|msline|mspace|msqrt|msrow|mstack|mstyle|msub|msubsup\n | msup|mtable|mtd|mtext|mtr|munder|munderover|semantics\n)\n(?=[+~>\\s,.\\#|){:\\[]|/\\*|$)",
1812
+ "name": "entity.name.tag.css"
1813
+ },
1814
+ "unicode-range": {
1815
+ "captures": {
1816
+ "0": {
1817
+ "name": "constant.other.unicode-range.css"
1818
+ },
1819
+ "1": {
1820
+ "name": "punctuation.separator.dash.unicode-range.css"
1821
+ }
1822
+ },
1823
+ "match": "(?<![\\w-])[Uu]\\+[0-9A-Fa-f?]{1,6}(?:(-)[0-9A-Fa-f]{1,6})?(?![\\w-])"
1824
+ },
1825
+ "url": {
1826
+ "begin": "(?i)(?<![\\w@-])(url)(\\()",
1827
+ "beginCaptures": {
1828
+ "1": {
1829
+ "name": "support.function.url.css"
1830
+ },
1831
+ "2": {
1832
+ "name": "punctuation.section.function.begin.bracket.round.css"
1833
+ }
1834
+ },
1835
+ "end": "\\)",
1836
+ "endCaptures": {
1837
+ "0": {
1838
+ "name": "punctuation.section.function.end.bracket.round.css"
1839
+ }
1840
+ },
1841
+ "name": "meta.function.url.css",
1842
+ "patterns": [
1843
+ {
1844
+ "match": "[^'\")\\s]+",
1845
+ "name": "variable.parameter.url.css"
1846
+ },
1847
+ {
1848
+ "include": "#string"
1849
+ },
1850
+ {
1851
+ "include": "#comment-block"
1852
+ },
1853
+ {
1854
+ "include": "#escapes"
1855
+ }
1856
+ ]
1857
+ }
1858
+ },
1859
+ "scopeName": "source.css"
1860
+ }