ultraviolet 0.10.2 → 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (178) hide show
  1. data/.gitmodules +3 -0
  2. data/Gemfile +10 -0
  3. data/Gemfile.lock +28 -0
  4. data/Rakefile +18 -47
  5. data/Readme.md +89 -0
  6. data/bin/theme2latexrender +0 -0
  7. data/bin/theme2xhtmlrender +0 -0
  8. data/bin/uv +0 -0
  9. data/lib/uv.rb +78 -75
  10. data/lib/uv/render_processor.rb +128 -119
  11. data/lib/uv/utility.rb +62 -62
  12. data/lib/uv/version.rb +3 -0
  13. data/spec/spec_helper.rb +2 -0
  14. data/spec/ultraviolet_spec.rb +13 -0
  15. data/ultraviolet.gemspec +15 -0
  16. metadata +123 -271
  17. data/History.txt +0 -25
  18. data/Manifest.txt +0 -233
  19. data/README.txt +0 -52
  20. data/syntax/actionscript.syntax +0 -97
  21. data/syntax/active4d.syntax +0 -276
  22. data/syntax/active4d_html.syntax +0 -311
  23. data/syntax/active4d_ini.syntax +0 -50
  24. data/syntax/active4d_library.syntax +0 -21
  25. data/syntax/ada.syntax +0 -33
  26. data/syntax/antlr.syntax +0 -151
  27. data/syntax/apache.syntax +0 -191
  28. data/syntax/applescript.syntax +0 -384
  29. data/syntax/asp.syntax +0 -70
  30. data/syntax/asp_vb.net.syntax +0 -129
  31. data/syntax/bibtex.syntax +0 -151
  32. data/syntax/blog_html.syntax +0 -41
  33. data/syntax/blog_markdown.syntax +0 -42
  34. data/syntax/blog_text.syntax +0 -27
  35. data/syntax/blog_textile.syntax +0 -27
  36. data/syntax/build.syntax +0 -53
  37. data/syntax/bulletin_board.syntax +0 -287
  38. data/syntax/c++.syntax +0 -109
  39. data/syntax/c.syntax +0 -326
  40. data/syntax/cake.syntax +0 -55
  41. data/syntax/camlp4.syntax +0 -36
  42. data/syntax/cm.syntax +0 -32
  43. data/syntax/coldfusion.syntax +0 -119
  44. data/syntax/context_free.syntax +0 -176
  45. data/syntax/cs.syntax +0 -59
  46. data/syntax/css.syntax +0 -195
  47. data/syntax/css_experimental.syntax +0 -1925
  48. data/syntax/csv.syntax +0 -68
  49. data/syntax/d.syntax +0 -142
  50. data/syntax/diff.syntax +0 -81
  51. data/syntax/dokuwiki.syntax +0 -204
  52. data/syntax/dot.syntax +0 -47
  53. data/syntax/doxygen.syntax +0 -43
  54. data/syntax/dylan.syntax +0 -62
  55. data/syntax/eiffel.syntax +0 -78
  56. data/syntax/erlang.syntax +0 -922
  57. data/syntax/f-script.syntax +0 -80
  58. data/syntax/fortran.syntax +0 -141
  59. data/syntax/fxscript.syntax +0 -142
  60. data/syntax/greasemonkey.syntax +0 -34
  61. data/syntax/gri.syntax +0 -83
  62. data/syntax/groovy.syntax +0 -191
  63. data/syntax/gtd.syntax +0 -22
  64. data/syntax/gtdalt.syntax +0 -143
  65. data/syntax/haml.syntax +0 -88
  66. data/syntax/haskell.syntax +0 -88
  67. data/syntax/html-asp.syntax +0 -27
  68. data/syntax/html.syntax +0 -362
  69. data/syntax/html_django.syntax +0 -36
  70. data/syntax/html_for_asp.net.syntax +0 -424
  71. data/syntax/html_mason.syntax +0 -119
  72. data/syntax/html_rails.syntax +0 -40
  73. data/syntax/html_tcl.syntax +0 -26
  74. data/syntax/icalendar.syntax +0 -32
  75. data/syntax/inform.syntax +0 -48
  76. data/syntax/ini.syntax +0 -55
  77. data/syntax/installer_distribution_script.syntax +0 -77
  78. data/syntax/io.syntax +0 -81
  79. data/syntax/java.syntax +0 -211
  80. data/syntax/javaproperties.syntax +0 -20
  81. data/syntax/javascript.syntax +0 -256
  82. data/syntax/javascript_+_prototype.syntax +0 -72
  83. data/syntax/javascript_+_prototype_bracketed.syntax +0 -140
  84. data/syntax/jquery_javascript.syntax +0 -114
  85. data/syntax/json.syntax +0 -136
  86. data/syntax/languagedefinition.syntax +0 -708
  87. data/syntax/latex.syntax +0 -566
  88. data/syntax/latex_beamer.syntax +0 -41
  89. data/syntax/latex_log.syntax +0 -50
  90. data/syntax/latex_memoir.syntax +0 -64
  91. data/syntax/lexflex.syntax +0 -219
  92. data/syntax/lighttpd.syntax +0 -54
  93. data/syntax/lilypond.syntax +0 -492
  94. data/syntax/lisp.syntax +0 -61
  95. data/syntax/literate_haskell.syntax +0 -24
  96. data/syntax/logo.syntax +0 -29
  97. data/syntax/logtalk.syntax +0 -152
  98. data/syntax/lua.syntax +0 -86
  99. data/syntax/m.syntax +0 -142
  100. data/syntax/macports_portfile.syntax +0 -163
  101. data/syntax/mail.syntax +0 -118
  102. data/syntax/makefile.syntax +0 -36
  103. data/syntax/man.syntax +0 -17
  104. data/syntax/markdown.syntax +0 -543
  105. data/syntax/mediawiki.syntax +0 -567
  106. data/syntax/mel.syntax +0 -92
  107. data/syntax/mips.syntax +0 -66
  108. data/syntax/mod_perl.syntax +0 -50
  109. data/syntax/modula-3.syntax +0 -47
  110. data/syntax/moinmoin.syntax +0 -189
  111. data/syntax/mootools.syntax +0 -572
  112. data/syntax/movable_type.syntax +0 -162
  113. data/syntax/multimarkdown.syntax +0 -39
  114. data/syntax/objective-c++.syntax +0 -18
  115. data/syntax/objective-c.syntax +0 -233
  116. data/syntax/ocaml.syntax +0 -764
  117. data/syntax/ocamllex.syntax +0 -167
  118. data/syntax/ocamlyacc.syntax +0 -184
  119. data/syntax/opengl.syntax +0 -14
  120. data/syntax/pascal.syntax +0 -77
  121. data/syntax/perl.syntax +0 -1115
  122. data/syntax/php.syntax +0 -1253
  123. data/syntax/plain_text.syntax +0 -32
  124. data/syntax/pmwiki.syntax +0 -113
  125. data/syntax/postscript.syntax +0 -114
  126. data/syntax/processing.syntax +0 -106
  127. data/syntax/prolog.syntax +0 -40
  128. data/syntax/property_list.syntax +0 -635
  129. data/syntax/python.syntax +0 -868
  130. data/syntax/python_django.syntax +0 -21
  131. data/syntax/qmake_project.syntax +0 -114
  132. data/syntax/qt_c++.syntax +0 -26
  133. data/syntax/quake3_config.syntax +0 -32
  134. data/syntax/r.syntax +0 -81
  135. data/syntax/r_console.syntax +0 -16
  136. data/syntax/ragel.syntax +0 -201
  137. data/syntax/rd_r_documentation.syntax +0 -91
  138. data/syntax/regexp.syntax +0 -50
  139. data/syntax/regular_expressions_oniguruma.syntax +0 -107
  140. data/syntax/regular_expressions_python.syntax +0 -109
  141. data/syntax/release_notes.syntax +0 -46
  142. data/syntax/remind.syntax +0 -253
  143. data/syntax/restructuredtext.syntax +0 -250
  144. data/syntax/rez.syntax +0 -80
  145. data/syntax/ruby.syntax +0 -1035
  146. data/syntax/ruby_experimental.syntax +0 -145
  147. data/syntax/ruby_on_rails.syntax +0 -88
  148. data/syntax/s5.syntax +0 -69
  149. data/syntax/scheme.syntax +0 -347
  150. data/syntax/scilab.syntax +0 -41
  151. data/syntax/setext.syntax +0 -147
  152. data/syntax/shell-unix-generic.syntax +0 -384
  153. data/syntax/slate.syntax +0 -149
  154. data/syntax/smarty.syntax +0 -63
  155. data/syntax/sql.syntax +0 -237
  156. data/syntax/sql_rails.syntax +0 -18
  157. data/syntax/ssh-config.syntax +0 -33
  158. data/syntax/standard_ml.syntax +0 -121
  159. data/syntax/strings_file.syntax +0 -39
  160. data/syntax/subversion_commit_message.syntax +0 -36
  161. data/syntax/sweave.syntax +0 -84
  162. data/syntax/swig.syntax +0 -57
  163. data/syntax/tcl.syntax +0 -152
  164. data/syntax/template_toolkit.syntax +0 -121
  165. data/syntax/tex.syntax +0 -86
  166. data/syntax/tex_math.syntax +0 -49
  167. data/syntax/textile.syntax +0 -215
  168. data/syntax/tsv.syntax +0 -50
  169. data/syntax/twiki.syntax +0 -241
  170. data/syntax/txt2tags.syntax +0 -79
  171. data/syntax/vectorscript.syntax +0 -57
  172. data/syntax/xhtml_1.0.syntax +0 -4027
  173. data/syntax/xml.syntax +0 -180
  174. data/syntax/xml_strict.syntax +0 -92
  175. data/syntax/xsl.syntax +0 -60
  176. data/syntax/yaml.syntax +0 -160
  177. data/syntax/yui_javascript.syntax +0 -176
  178. data/test/test_uv.rb +0 -0
@@ -1,1925 +0,0 @@
1
- ---
2
- name: CSS v3 beta
3
- fileTypes:
4
- - css
5
- scopeName: source.css.beta
6
- repository:
7
- font-weight:
8
- captures:
9
- "2":
10
- name: support.constant.property-value.css
11
- "4":
12
- name: constant.numeric.css
13
- match: ((normal|bold(er)?|lighter)|(100|200|300|400|500|600|700|800|900))
14
- font-variant:
15
- name: support.constant.property-value.css
16
- match: (normal|small-caps)
17
- font-other:
18
- name: support.constant.property-value.css
19
- match: (caption|icon|menu|message-box|small-caption|status-bar)
20
- uri:
21
- name: meta.constructor.css
22
- endCaptures:
23
- "1":
24
- name: punctuation.definition.constructor.css
25
- begin: (url)\s*(\()\s*
26
- contentName: meta.constructor.argument.css
27
- beginCaptures:
28
- "1":
29
- name: storage.type.constructor.css
30
- "2":
31
- name: punctuation.definition.constructor.css
32
- end: (\))
33
- patterns:
34
- - include: "#string-single"
35
- - include: "#string-double"
36
- angle:
37
- captures:
38
- "1":
39
- name: constant.numeric.degree.css
40
- "5":
41
- name: constant.other.unit.css
42
- match: ([-+]?(3([1-5][0-9]|60)|[12]?([0-9]?[0-9]))(deg|rad|grad))
43
- font-adjust:
44
- name: support.constant.property-value.css
45
- match: (none)
46
- font-absolute:
47
- name: support.constant.property-value.css
48
- match: (xx-small|x-small|small|medium|large|x-large|xx-large)\b
49
- string-single:
50
- name: string.quoted.single.css
51
- endCaptures:
52
- "0":
53
- name: punctuation.definition.string.end.css
54
- begin: "'"
55
- beginCaptures:
56
- "0":
57
- name: punctuation.definition.string.begin.css
58
- end: "'"
59
- patterns:
60
- - name: constant.character.escape.css
61
- match: \\.
62
- shape:
63
- name: meta.constructor.css
64
- endCaptures:
65
- "1":
66
- name: punctuation.definition.constructor.css
67
- begin: (rect)\s*(\()
68
- contentName: meta.constructor.argument.css
69
- beginCaptures:
70
- "1":
71
- name: storage.type.constructor.css
72
- "2":
73
- name: punctuation.definition.constructor.css
74
- end: (\))
75
- patterns:
76
- - include: "#length"
77
- - include: "#percentage"
78
- - name: support.constant.property-value.css
79
- match: auto
80
- border-width:
81
- name: support.constant.property-value.css
82
- match: (thin|thick|medium)
83
- border-style:
84
- name: support.constant.property-value.css
85
- match: (dashed|dotted|double|groove|hidden|inset|outset|ridge|solid|collapse|separate)
86
- string-double:
87
- name: string.quoted.double.css
88
- endCaptures:
89
- "0":
90
- name: punctuation.definition.string.end.css
91
- begin: "\""
92
- beginCaptures:
93
- "0":
94
- name: punctuation.definition.string.begin.css
95
- end: "\""
96
- patterns:
97
- - name: constant.character.escape.css
98
- match: \\.
99
- length:
100
- captures:
101
- "6":
102
- name: constant.numeric.css
103
- "2":
104
- name: constant.numeric.css
105
- "5":
106
- name: constant.other.unit.css
107
- match: (((-|\+)?\s*[0-9]*(\.)?[0-9]+)(px|pt|cm|mm|in|em|ex|pc)|(0))
108
- important:
109
- name: support.constant.property-value.css
110
- match: (inherit|!important)
111
- font-stretch:
112
- name: support.constant.property-value.css
113
- match: (normal|wider|narrower|ultra-condensed|extra-condensed|condensed|semi-condensed|semi-expanded|expanded|extra-expanded|ultra-expanded)
114
- font-generic:
115
- name: support.constant.font-family.css
116
- match: (serif|sans-serif|cursive|fantasy|monospace)
117
- color-rgb:
118
- name: meta.constructor.css
119
- endCaptures:
120
- "1":
121
- name: punctuation.definition.constructor.css
122
- begin: (rgb)\s*(\()
123
- contentName: meta.constructor.argument.css
124
- beginCaptures:
125
- "1":
126
- name: storage.type.constructor.css
127
- "2":
128
- name: punctuation.definition.constructor.css
129
- end: (\))
130
- patterns:
131
- - name: constant.numeric.css
132
- match: "[12]?[0-9]?[0-9]"
133
- - include: "#percentage"
134
- percentage:
135
- captures:
136
- "1":
137
- name: constant.numeric.css
138
- "2":
139
- name: constant.other.unit.css
140
- match: ([0-9]+)(%)
141
- font-style:
142
- name: support.constant.property-value.css
143
- match: (normal|italic|oblique)
144
- color-named:
145
- name: support.constant.named-color.css
146
- match: (transparent|aqua|black|blue|fuchsia|gr[ae]y|green|lime|maroon|navy|olive|purple|red|silver|teal|white|yellow)
147
- list-style-type:
148
- name: support.constant.property-value.css
149
- match: (none|decimal(-leading-zero)?|lower(-roman|-alpha|-greek|-alpha|-latin)?|upper(-roman|-alpha|-greek|-alpha|-latin)?|hebrew|armenian|georgian|cjk-ideographic|hiragana(-iroha)?|katakana(-iroha)?)
150
- font-specific:
151
- name: support.constant.font-name.css
152
- match: ((?i:arial( black)?|century|comic|courier|garamond|georgia|geneva|helvetica|impact|lucida( sans)?( grande)?( unicode)?|symbol|system|tahoma|times( new roman)?|trebuchet( ms)?|utopia|verdana|webdings|monospace))
153
- comment-block:
154
- name: comment.block.css
155
- captures:
156
- "0":
157
- name: punctuation.definition.comment.css
158
- begin: /\*
159
- end: \*/
160
- font-relative:
161
- name: support.constant.property-value.css
162
- match: (larger|smaller)
163
- counter:
164
- name: meta.constructor.css
165
- endCaptures:
166
- "1":
167
- name: punctuation.definition.constructor.css
168
- begin: (counter)\s*(\()
169
- contentName: meta.constructor.argument.css
170
- beginCaptures:
171
- "1":
172
- name: storage.type.constructor.css
173
- "2":
174
- name: punctuation.definition.constructor.css
175
- end: (\))
176
- patterns:
177
- - include: "#list-style-type"
178
- color-hex:
179
- name: constant.other.color.rgb-value.css
180
- captures:
181
- "1":
182
- name: punctuation.definition.constant.css
183
- match: (#)([0-9a-fA-F]{6}|[0-9a-fA-F]{3})
184
- attr:
185
- name: meta.constructor.css
186
- endCaptures:
187
- "1":
188
- name: punctuation.definition.constructor.css
189
- begin: (attr)\s*(\()
190
- contentName: meta.constructor.argument.css
191
- beginCaptures:
192
- "1":
193
- name: storage.type.constructor.css
194
- "2":
195
- name: punctuation.definition.constructor.css
196
- end: (\))
197
- patterns:
198
- - name: variable.parameter.css
199
- match: "[^'\") \\t]+"
200
- uuid: 5A0E986A-BE73-11D9-8214-000A957B2E42
201
- foldingStartMarker: (/\*|\{|\()
202
- patterns:
203
- - name: meta.selector.css
204
- begin: (^)?(?=\s*[.*#a-zA-Z])
205
- end: (/\*|(?=\{))
206
- patterns:
207
- - name: entity.name.tag.css
208
- match: \b(?i:a|abbr|acronym|address|area|b|base|big|blockquote|body|br|button|caption|cite|code|col|colgroup|dd|del|dfn|div|dl|dt|em|embed|fieldset|form|frame|frameset|(h[1-6])|head|hr|html|i|iframe|img|input|ins|kbd|label|legend|li|link|map|meta|noframes|noscript|object|ol|optgroup|option|p|param|pre|q|samp|script|select|small|span|strike|strong|style|sub|sup|table|tbody|td|textarea|tfoot|th|thead|title|tr|tt|ul|var)\b
209
- - name: meta.attribute-match.css
210
- captures:
211
- "1":
212
- name: punctuation.definition.attribute-name.css
213
- "2":
214
- name: entity.other.attribute-name.css
215
- "3":
216
- name: keyword.operator.css
217
- "4":
218
- name: string.other.attribute-value.css
219
- comment: according to CSS spec, this is an identifier or string
220
- "5":
221
- name: punctuation.definition.attribute-name.css
222
- match: (\[)(.*?)(?:([\|~]?=)([^\]]*))?(\])
223
- - name: entity.other.attribute-name.class.css
224
- captures:
225
- "1":
226
- name: punctuation.definition.entity.css
227
- match: (\.)[a-zA-Z0-9_-]+
228
- - name: entity.other.attribute-name.id.css
229
- captures:
230
- "1":
231
- name: punctuation.definition.entity.css
232
- match: (#)[a-zA-Z0-9_-]+
233
- - name: entity.other.attribute-name.universal.css
234
- match: \*
235
- - name: entity.other.attribute-name.tag.pseudo-class.css
236
- captures:
237
- "1":
238
- name: punctuation.definition.entity.css
239
- match: (:)(active|after|before|first-(letter|line)|focus|hover|link|visited)
240
- - include: "#comment-block"
241
- - name: invalid.illegal.bad-comma.css
242
- match: "[^} \\t{/@][^{,]*?(,)\\s*?(?=\\{)"
243
- - name: meta.preprocessor.at-rule.import.css
244
- captures:
245
- "2":
246
- name: keyword.control.at-rule.import.css
247
- "3":
248
- name: punctuation.definition.keyword.css
249
- begin: (^\s*)?((@)import)
250
- end: ((?=;|\}))
251
- patterns:
252
- - include: "#string-double"
253
- - include: "#uri"
254
- - name: meta.preprocessor.at-rule.media.css
255
- captures:
256
- "1":
257
- name: keyword.control.at-rule.media.css
258
- "2":
259
- name: punctuation.definition.keyword.css
260
- "3":
261
- name: support.constant.media.css
262
- begin: ^\s*((@)media)\s+(((all|aural|braille|embossed|handheld|print|projection|screen|tty|tv)\s*,?\s*)+)\s*{
263
- end: \s*((?=;|\}))
264
- patterns:
265
- - include: source.css
266
- - name: meta.scope.property-list.css
267
- captures:
268
- "0":
269
- name: punctuation.section.property-list.css
270
- begin: \{
271
- end: \}
272
- patterns:
273
- - include: "#comment-block"
274
- - name: meta.property.azimuth.css
275
- captures:
276
- "1":
277
- name: support.type.property-name.css
278
- begin: (azimuth)
279
- end: (?=[;}])
280
- patterns:
281
- - name: meta.property-value.css
282
- begin: ":"
283
- beginCaptures:
284
- "0":
285
- name: punctuation.separator.key-value.css
286
- end: (?=[;}])
287
- patterns:
288
- - name: support.constant.property-value.css
289
- match: ((left|right)(-side|wards)?|(center|far)(-left|-right)?|behind)
290
- - include: "#comment-block"
291
- - include: "#angle"
292
- - include: "#important"
293
- - name: meta.property-group.background.css
294
- begin: (?=background)
295
- end: (?=[;}])
296
- patterns:
297
- - name: meta.property.background.css
298
- captures:
299
- "1":
300
- name: support.type.property-name.css
301
- begin: (background)(?=[:\s])
302
- end: (?=[;}])
303
- patterns:
304
- - name: meta.property-value.css
305
- begin: ":"
306
- beginCaptures:
307
- "0":
308
- name: punctuation.separator.key-value.css
309
- end: (?=[;}])
310
- patterns:
311
- - include: "#color-hex"
312
- - include: "#color-rgb"
313
- - include: "#color-named"
314
- - include: "#comment-block"
315
- - include: "#important"
316
- - include: "#length"
317
- - include: "#percentage"
318
- - include: "#uri"
319
- - name: support.constant.property-value.css
320
- match: ((no-repeat)|repeat(-x|-y)?)
321
- - name: support.constant.property-value.css
322
- match: (none)
323
- - name: support.constant.property-value.css
324
- match: (top|left|right|bottom|center)
325
- - name: support.constant.property-value.css
326
- match: (fixed|scroll)
327
- - name: meta.property.background-attachment.css
328
- captures:
329
- "1":
330
- name: support.type.property-name.css
331
- begin: (background-attachment)
332
- end: (?=[;}])
333
- patterns:
334
- - name: meta.property-value.css
335
- begin: ":"
336
- beginCaptures:
337
- "0":
338
- name: punctuation.separator.key-value.css
339
- end: (?=[;}])
340
- patterns:
341
- - include: "#comment-block"
342
- - include: "#important"
343
- - name: support.constant.property-value.css
344
- match: (scroll|fixed)
345
- - name: meta.property.background-color.css
346
- captures:
347
- "1":
348
- name: support.type.property-name.css
349
- begin: (background-color)
350
- end: (?=[;}])
351
- patterns:
352
- - name: meta.property-value.css
353
- begin: ":"
354
- beginCaptures:
355
- "0":
356
- name: punctuation.separator.key-value.css
357
- end: (?=[;}])
358
- patterns:
359
- - include: "#color-hex"
360
- - include: "#color-rgb"
361
- - include: "#color-named"
362
- - include: "#comment-block"
363
- - include: "#important"
364
- - name: meta.property.background-image.css
365
- captures:
366
- "1":
367
- name: support.type.property-name.css
368
- begin: (background-image)
369
- end: (?=[;}])
370
- patterns:
371
- - name: meta.property-value.css
372
- begin: ":"
373
- beginCaptures:
374
- "0":
375
- name: punctuation.separator.key-value.css
376
- end: (?=[;}])
377
- patterns:
378
- - include: "#comment-block"
379
- - include: "#important"
380
- - include: "#uri"
381
- - name: support.constant.property-value.css
382
- match: (none)
383
- - name: meta.property.background-position.css
384
- captures:
385
- "1":
386
- name: support.type.property-name.css
387
- begin: (background-position)
388
- end: (?=[;}])
389
- patterns:
390
- - name: meta.property-value.css
391
- begin: ":"
392
- beginCaptures:
393
- "0":
394
- name: punctuation.separator.key-value.css
395
- end: (?=[;}])
396
- patterns:
397
- - include: "#comment-block"
398
- - include: "#important"
399
- - include: "#length"
400
- - include: "#percentage"
401
- - name: support.constant.property-value.css
402
- match: (top|left|right|bottom|center)
403
- - name: meta.property.background-repeat.css
404
- captures:
405
- "1":
406
- name: support.type.property-name.css
407
- begin: (background-repeat)
408
- end: (?=[;}])
409
- patterns:
410
- - name: meta.property-value.css
411
- begin: ":"
412
- beginCaptures:
413
- "0":
414
- name: punctuation.separator.key-value.css
415
- end: (?=[;}])
416
- patterns:
417
- - include: "#comment-block"
418
- - include: "#important"
419
- - name: support.constant.property-value.css
420
- match: ((no-repeat)|repeat(-x|-y)?)
421
- - name: meta.property-group.border.css
422
- begin: (?=border)
423
- end: (?=[;}])
424
- patterns:
425
- - name: meta.property.border.css
426
- captures:
427
- "1":
428
- name: support.type.property-name.css
429
- begin: (border(-bottom|-left|-right|-top)?)(?=[:\s])
430
- end: (?=[;}])
431
- patterns:
432
- - name: meta.property-value.css
433
- begin: ":"
434
- beginCaptures:
435
- "0":
436
- name: punctuation.separator.key-value.css
437
- end: (?=[;}])
438
- patterns:
439
- - include: "#color-hex"
440
- - include: "#color-rgb"
441
- - include: "#color-named"
442
- - include: "#length"
443
- - include: "#border-style"
444
- - include: "#border-width"
445
- - include: "#comment-block"
446
- - include: "#important"
447
- - name: support.constant.property-value.css
448
- match: none
449
- - name: meta.property.border-collapse.css
450
- captures:
451
- "1":
452
- name: support.type.property-name.css
453
- begin: (border-collapse)
454
- end: (?=[;}])
455
- patterns:
456
- - name: meta.property-value.css
457
- begin: ":"
458
- beginCaptures:
459
- "0":
460
- name: punctuation.separator.key-value.css
461
- end: (?=[;}])
462
- patterns:
463
- - include: "#comment-block"
464
- - include: "#important"
465
- - name: support.constant.property-value.css
466
- match: (collapse|separate)
467
- - name: meta.property.border-spacing.css
468
- captures:
469
- "1":
470
- name: support.type.property-name.css
471
- begin: (border-spacing)
472
- end: (?=[;}])
473
- patterns:
474
- - name: meta.property-value.css
475
- begin: ":"
476
- beginCaptures:
477
- "0":
478
- name: punctuation.separator.key-value.css
479
- end: (?=[;}])
480
- patterns:
481
- - include: "#length"
482
- - include: "#comment-block"
483
- - include: "#important"
484
- - name: meta.property.border-color.css
485
- captures:
486
- "1":
487
- name: support.type.property-name.css
488
- begin: (border((-bottom|-left|-right|-top)?(-color)))
489
- end: (?=[;}])
490
- patterns:
491
- - name: meta.property-value.css
492
- begin: ":"
493
- beginCaptures:
494
- "0":
495
- name: punctuation.separator.key-value.css
496
- end: (?=[;}])
497
- patterns:
498
- - include: "#color-hex"
499
- - include: "#color-rgb"
500
- - include: "#color-named"
501
- - include: "#comment-block"
502
- - include: "#important"
503
- - name: meta.property.border-style.css
504
- captures:
505
- "1":
506
- name: support.type.property-name.css
507
- begin: (border((-bottom|-left|-right|-top)?(-style)))
508
- end: (?=[;}])
509
- patterns:
510
- - name: meta.property-value.css
511
- begin: ":"
512
- beginCaptures:
513
- "0":
514
- name: punctuation.separator.key-value.css
515
- end: (?=[;}])
516
- patterns:
517
- - include: "#border-style"
518
- - include: "#comment-block"
519
- - include: "#important"
520
- - name: meta.property.border-width.css
521
- captures:
522
- "1":
523
- name: support.type.property-name.css
524
- begin: (border((-bottom|-left|-right|-top)?(-width)))
525
- end: (?=[;}])
526
- patterns:
527
- - name: meta.property-value.css
528
- begin: ":"
529
- beginCaptures:
530
- "0":
531
- name: punctuation.separator.key-value.css
532
- end: (?=[;}])
533
- patterns:
534
- - include: "#length"
535
- - include: "#border-width"
536
- - include: "#comment-block"
537
- - include: "#important"
538
- - name: meta.property.caption-side.css
539
- captures:
540
- "1":
541
- name: support.type.property-name.css
542
- begin: (caption-side)
543
- end: (?=[;}])
544
- patterns:
545
- - name: meta.property-value.css
546
- begin: ":"
547
- beginCaptures:
548
- "0":
549
- name: punctuation.separator.key-value.css
550
- end: (?=[;}])
551
- patterns:
552
- - name: support.constant.property-value.css
553
- match: (top|bottom|left|right)
554
- - name: meta.property.clear.css
555
- captures:
556
- "1":
557
- name: support.type.property-name.css
558
- begin: (clear)
559
- end: (?=[;}])
560
- patterns:
561
- - name: meta.property-value.css
562
- begin: ":"
563
- beginCaptures:
564
- "0":
565
- name: punctuation.separator.key-value.css
566
- end: (?=[;}])
567
- patterns:
568
- - name: support.constant.property-value.css
569
- match: (left|right|both|none)
570
- - include: "#comment-block"
571
- - include: "#important"
572
- - name: meta.property.clip.css
573
- captures:
574
- "1":
575
- name: support.type.property-name.css
576
- begin: (clip)
577
- end: (?=[;}])
578
- patterns:
579
- - name: meta.property-value.css
580
- begin: ":"
581
- beginCaptures:
582
- "0":
583
- name: punctuation.separator.key-value.css
584
- end: (?=[;}])
585
- patterns:
586
- - name: support.constant.property-value.css
587
- match: auto
588
- - include: "#shape"
589
- - include: "#comment-block"
590
- - include: "#important"
591
- - name: meta.property.color.css
592
- captures:
593
- "1":
594
- name: support.type.property-name.css
595
- begin: (color)
596
- end: (?=[;}])
597
- patterns:
598
- - name: meta.property-value.css
599
- begin: ":"
600
- beginCaptures:
601
- "0":
602
- name: punctuation.separator.key-value.css
603
- end: (?=[;}])
604
- patterns:
605
- - include: "#color-hex"
606
- - include: "#color-rgb"
607
- - include: "#color-named"
608
- - include: "#comment-block"
609
- - include: "#important"
610
- - name: meta.property.content.css
611
- captures:
612
- "1":
613
- name: support.type.property-name.css
614
- begin: (content)
615
- end: (?=[;}])
616
- patterns:
617
- - name: meta.property-value.css
618
- begin: ":"
619
- beginCaptures:
620
- "0":
621
- name: punctuation.separator.key-value.css
622
- end: (?=[;}])
623
- patterns:
624
- - include: "#counter"
625
- - include: "#string-double"
626
- - include: "#string-single"
627
- - include: "#uri"
628
- - include: "#attr"
629
- - name: support.constant.property-value.css
630
- match: (open-quote|close-quote|no-open-quote|no-close-quote)
631
- - include: "#comment-block"
632
- - include: "#important"
633
- - name: meta.property-group.counter.css
634
- begin: (?=counter)
635
- end: (?=[;}])
636
- patterns:
637
- - name: meta.property.counter-increment.css
638
- captures:
639
- "1":
640
- name: support.type.property-name.css
641
- begin: (counter-increment)
642
- end: (?=[;}])
643
- patterns:
644
- - name: meta.property-value.css
645
- begin: ":"
646
- beginCaptures:
647
- "0":
648
- name: punctuation.separator.key-value.css
649
- end: (?=[;}])
650
- patterns:
651
- - include: "#comment-block"
652
- - include: "#important"
653
- - name: support.constant.property-value.css
654
- match: (none)
655
- - name: meta.property.counter-reset.css
656
- captures:
657
- "1":
658
- name: support.type.property-name.css
659
- begin: (counter-reset)
660
- end: (?=[;}])
661
- patterns:
662
- - name: meta.property-value.css
663
- begin: ":"
664
- beginCaptures:
665
- "0":
666
- name: punctuation.separator.key-value.css
667
- end: (?=[;}])
668
- patterns:
669
- - include: "#comment-block"
670
- - include: "#important"
671
- - name: support.constant.property-value.css
672
- match: (none)
673
- - name: meta.property-group.cue.css
674
- begin: (?=cue)
675
- end: (?=[;}])
676
- patterns:
677
- - name: meta.property.cue.css
678
- captures:
679
- "1":
680
- name: support.type.property-name.css
681
- begin: (cue[:|\s])
682
- end: (?=[;}])
683
- patterns:
684
- - name: meta.property-value.css
685
- begin: ":"
686
- beginCaptures:
687
- "0":
688
- name: punctuation.separator.key-value.css
689
- end: (?=[;}])
690
- patterns:
691
- - include: "#comment-block"
692
- - include: "#important"
693
- - include: "#uri"
694
- - name: support.constant.property-value.css
695
- match: (none)
696
- - name: meta.property.cue-after.css
697
- captures:
698
- "1":
699
- name: support.type.property-name.css
700
- begin: (cue-after)
701
- end: (?=[;}])
702
- patterns:
703
- - name: meta.property-value.css
704
- begin: ":"
705
- beginCaptures:
706
- "0":
707
- name: punctuation.separator.key-value.css
708
- end: (?=[;}])
709
- patterns:
710
- - include: "#comment-block"
711
- - include: "#important"
712
- - include: "#uri"
713
- - name: support.constant.property-value.css
714
- match: (none)
715
- - name: meta.property.cue-before.css
716
- captures:
717
- "1":
718
- name: support.type.property-name.css
719
- begin: (cue-before)
720
- end: (?=[;}])
721
- patterns:
722
- - name: meta.property-value.css
723
- begin: ":"
724
- beginCaptures:
725
- "0":
726
- name: punctuation.separator.key-value.css
727
- end: (?=[;}])
728
- patterns:
729
- - include: "#comment-block"
730
- - include: "#important"
731
- - include: "#uri"
732
- - name: support.constant.property-value.css
733
- match: (none)
734
- - name: meta.property.cursor.css
735
- captures:
736
- "1":
737
- name: support.type.property-name.css
738
- begin: (cursor)
739
- end: (?=[;}])
740
- patterns:
741
- - name: meta.property-value.css
742
- begin: ":"
743
- beginCaptures:
744
- "0":
745
- name: punctuation.separator.key-value.css
746
- end: (?=[;}])
747
- patterns:
748
- - include: "#comment-block"
749
- - include: "#important"
750
- - include: "#uri"
751
- - name: support.constant.property-value.css
752
- match: (auto|crosshair|default|pointer|move|e-resize|ne-resize|nw-resize|n-resize|se-resize|sw-resize|s-resize|w-resize|text|wait|help)
753
- - name: meta.property.direction.css
754
- captures:
755
- "1":
756
- name: support.type.property-name.css
757
- begin: (direction)
758
- end: (?=[;}])
759
- patterns:
760
- - name: meta.property-value.css
761
- begin: ":"
762
- beginCaptures:
763
- "0":
764
- name: punctuation.separator.key-value.css
765
- end: (?=[;}])
766
- patterns:
767
- - name: support.constant.property-value.css
768
- match: (ltr|rtl)
769
- - include: "#comment-block"
770
- - include: "#important"
771
- - name: meta.property.display.css
772
- captures:
773
- "1":
774
- name: support.type.property-name.css
775
- begin: (display)
776
- end: (?=[;}])
777
- patterns:
778
- - name: meta.property-value.css
779
- begin: ":"
780
- beginCaptures:
781
- "0":
782
- name: punctuation.separator.key-value.css
783
- end: (?=[;}])
784
- patterns:
785
- - name: support.constant.property-value.css
786
- match: (block|list-item|run-in|compact|marker|inline(-table|-block)?|table(((-row|-header|-footer|-column)-group)|-column|-row|-cell|-caption)?|none)
787
- - include: "#comment-block"
788
- - include: "#important"
789
- - name: meta.property.elevation.css
790
- captures:
791
- "1":
792
- name: support.type.property-name.css
793
- begin: (elevation)
794
- end: (?=[;}])
795
- patterns:
796
- - name: meta.property-value.css
797
- begin: ":"
798
- beginCaptures:
799
- "0":
800
- name: punctuation.separator.key-value.css
801
- end: (?=[;}])
802
- patterns:
803
- - name: support.constant.property-value.css
804
- match: (below|level|above|higher|lower)
805
- - include: "#comment-block"
806
- - include: "#important"
807
- - include: "#angle"
808
- - name: meta.property.empty-cells.css
809
- captures:
810
- "1":
811
- name: support.type.property-name.css
812
- begin: (empty-cells)
813
- end: (?=[;}])
814
- patterns:
815
- - name: meta.property-value.css
816
- begin: ":"
817
- beginCaptures:
818
- "0":
819
- name: punctuation.separator.key-value.css
820
- end: (?=[;}])
821
- patterns:
822
- - name: support.constant.property-value.css
823
- match: (show|hide)
824
- - include: "#comment-block"
825
- - include: "#important"
826
- - name: meta.property.float.css
827
- captures:
828
- "1":
829
- name: support.type.property-name.css
830
- begin: (float)
831
- end: (?=[;}])
832
- patterns:
833
- - name: meta.property-value.css
834
- begin: ":"
835
- beginCaptures:
836
- "0":
837
- name: punctuation.separator.key-value.css
838
- end: (?=[;}])
839
- patterns:
840
- - name: support.constant.property-value.css
841
- match: (none|left|right)
842
- - include: "#comment-block"
843
- - include: "#important"
844
- - name: meta.property-group.font.css
845
- begin: (?=font)
846
- end: (?=[;}])
847
- patterns:
848
- - name: meta.property.font.css
849
- captures:
850
- "1":
851
- name: support.type.property-name.css
852
- begin: (font)(?=[:\s])
853
- end: (?=[;}])
854
- patterns:
855
- - name: meta.property-value.css
856
- begin: ":"
857
- beginCaptures:
858
- "0":
859
- name: punctuation.separator.key-value.css
860
- end: (?=[;}])
861
- patterns:
862
- - include: "#comment-block"
863
- - include: "#important"
864
- - include: "#length"
865
- - include: "#percentage"
866
- - include: "#string-double"
867
- - include: "#string-single"
868
- - include: "#font-specific"
869
- - include: "#font-generic"
870
- - include: "#font-weight"
871
- - include: "#font-stretch"
872
- - include: "#font-style"
873
- - include: "#font-variant"
874
- - include: "#font-other"
875
- - include: "#font-absolute"
876
- - include: "#font-relative"
877
- - include: "#font-adjust"
878
- - name: meta.property.font-family.css
879
- captures:
880
- "1":
881
- name: support.type.property-name.css
882
- begin: (font-family)
883
- end: (?=[;}])
884
- patterns:
885
- - name: meta.property-value.css
886
- begin: ":"
887
- beginCaptures:
888
- "0":
889
- name: punctuation.separator.key-value.css
890
- end: (?=[;}])
891
- patterns:
892
- - include: "#comment-block"
893
- - include: "#important"
894
- - include: "#font-specific"
895
- - include: "#font-generic"
896
- - include: "#string-double"
897
- - include: "#string-single"
898
- - name: meta.property.font-size.css
899
- captures:
900
- "1":
901
- name: support.type.property-name.css
902
- begin: (font-size(-adjust)?)
903
- end: (?=[;}])
904
- patterns:
905
- - name: meta.property-value.css
906
- begin: ":"
907
- beginCaptures:
908
- "0":
909
- name: punctuation.separator.key-value.css
910
- end: (?=[;}])
911
- patterns:
912
- - include: "#comment-block"
913
- - include: "#important"
914
- - include: "#length"
915
- - include: "#percentage"
916
- - include: "#font-absolute"
917
- - include: "#font-relative"
918
- - include: "#font-adjust"
919
- - name: meta.property.font-stretch.css
920
- captures:
921
- "1":
922
- name: support.type.property-name.css
923
- begin: (font-stretch)
924
- end: (?=[;}])
925
- patterns:
926
- - name: meta.property-value.css
927
- begin: ":"
928
- beginCaptures:
929
- "0":
930
- name: punctuation.separator.key-value.css
931
- end: (?=[;}])
932
- patterns:
933
- - include: "#comment-block"
934
- - include: "#important"
935
- - include: "#font-stretch"
936
- - name: meta.property.font-style.css
937
- captures:
938
- "1":
939
- name: support.type.property-name.css
940
- begin: (font-style)
941
- end: (?=[;}])
942
- patterns:
943
- - name: meta.property-value.css
944
- begin: ":"
945
- beginCaptures:
946
- "0":
947
- name: punctuation.separator.key-value.css
948
- end: (?=[;}])
949
- patterns:
950
- - include: "#comment-block"
951
- - include: "#important"
952
- - include: "#font-style"
953
- - name: meta.property.font-variant.css
954
- captures:
955
- "1":
956
- name: support.type.property-name.css
957
- begin: (font-variant)
958
- end: (?=[;}])
959
- patterns:
960
- - name: meta.property-value.css
961
- begin: ":"
962
- beginCaptures:
963
- "0":
964
- name: punctuation.separator.key-value.css
965
- end: (?=[;}])
966
- patterns:
967
- - include: "#comment-block"
968
- - include: "#important"
969
- - include: "#font-variant"
970
- - name: meta.property.font-weight.css
971
- captures:
972
- "1":
973
- name: support.type.property-name.css
974
- begin: (font-weight)
975
- end: (?=[;}])
976
- patterns:
977
- - name: meta.property-value.css
978
- begin: ":"
979
- beginCaptures:
980
- "0":
981
- name: punctuation.separator.key-value.css
982
- end: (?=[;}])
983
- patterns:
984
- - include: "#comment-block"
985
- - include: "#important"
986
- - include: "#font-weight"
987
- - name: meta.property.letter-spacing.css
988
- captures:
989
- "1":
990
- name: support.type.property-name.css
991
- begin: (letter-spacing)
992
- end: (?=[;}])
993
- patterns:
994
- - name: meta.property-value.css
995
- begin: ":"
996
- beginCaptures:
997
- "0":
998
- name: punctuation.separator.key-value.css
999
- end: (?=[;}])
1000
- patterns:
1001
- - include: "#length"
1002
- - include: "#comment-block"
1003
- - include: "#important"
1004
- - name: support.constant.property-value.css
1005
- match: (normal)
1006
- - name: meta.property.line-height.css
1007
- captures:
1008
- "1":
1009
- name: support.type.property-name.css
1010
- begin: (line-height)
1011
- end: (?=[;}])
1012
- patterns:
1013
- - name: meta.property-value.css
1014
- begin: ":"
1015
- beginCaptures:
1016
- "0":
1017
- name: punctuation.separator.key-value.css
1018
- end: (?=[;}])
1019
- patterns:
1020
- - include: "#length"
1021
- - include: "#percentage"
1022
- - include: "#comment-block"
1023
- - include: "#important"
1024
- - name: support.constant.property-value.css
1025
- match: (normal)
1026
- - name: meta.property-group.list-style.css
1027
- begin: (?=list)
1028
- end: (?=[;}])
1029
- patterns:
1030
- - name: meta.property.list-style.css
1031
- captures:
1032
- "1":
1033
- name: support.type.property-name.css
1034
- begin: (list-style[:|\s])
1035
- end: (?=[;}])
1036
- patterns:
1037
- - name: meta.property-value.css
1038
- begin: ":"
1039
- beginCaptures:
1040
- "0":
1041
- name: punctuation.separator.key-value.css
1042
- end: (?=[;}])
1043
- patterns:
1044
- - name: support.constant.property-value.css
1045
- match: (disc|circle|square|none)
1046
- - include: "#list-style-type"
1047
- - name: support.constant.property-value.css
1048
- match: (inside|outside)
1049
- - include: "#uri"
1050
- - include: "#comment-block"
1051
- - include: "#important"
1052
- - name: meta.property.list-style-image.css
1053
- captures:
1054
- "1":
1055
- name: support.type.property-name.css
1056
- begin: (list-style-image)
1057
- end: (?=[;}])
1058
- patterns:
1059
- - name: meta.property-value.css
1060
- begin: ":"
1061
- beginCaptures:
1062
- "0":
1063
- name: punctuation.separator.key-value.css
1064
- end: (?=[;}])
1065
- patterns:
1066
- - name: support.constant.property-value.css
1067
- match: (none)
1068
- - include: "#uri"
1069
- - include: "#comment-block"
1070
- - include: "#important"
1071
- - name: meta.property.list-style-position.css
1072
- captures:
1073
- "1":
1074
- name: support.type.property-name.css
1075
- begin: (list-style-position)
1076
- end: (?=[;}])
1077
- patterns:
1078
- - name: meta.property-value.css
1079
- begin: ":"
1080
- beginCaptures:
1081
- "0":
1082
- name: punctuation.separator.key-value.css
1083
- end: (?=[;}])
1084
- patterns:
1085
- - name: support.constant.property-value.css
1086
- match: (inside|outside)
1087
- - include: "#comment-block"
1088
- - include: "#important"
1089
- - name: meta.property.list-style-type.css
1090
- captures:
1091
- "1":
1092
- name: support.type.property-name.css
1093
- begin: (list-style-type)
1094
- end: (?=[;}])
1095
- patterns:
1096
- - name: meta.property-value.css
1097
- begin: ":"
1098
- beginCaptures:
1099
- "0":
1100
- name: punctuation.separator.key-value.css
1101
- end: (?=[;}])
1102
- patterns:
1103
- - name: support.constant.property-value.css
1104
- match: (disc|circle|square|none)
1105
- - include: "#list-style-type"
1106
- - include: "#comment-block"
1107
- - include: "#important"
1108
- - name: meta.property.margin.css
1109
- captures:
1110
- "1":
1111
- name: support.type.property-name.css
1112
- begin: (margin(-bottom|-left|-right|-top)?)
1113
- end: (?=[;}])
1114
- patterns:
1115
- - name: meta.property-value.css
1116
- begin: ":"
1117
- beginCaptures:
1118
- "0":
1119
- name: punctuation.separator.key-value.css
1120
- end: (?=[;}])
1121
- patterns:
1122
- - include: "#length"
1123
- - name: support.constant.property-value.css
1124
- match: auto
1125
- - include: "#comment-block"
1126
- - include: "#important"
1127
- - name: meta.property.marker-offset.css
1128
- captures:
1129
- "1":
1130
- name: support.type.property-name.css
1131
- begin: (marker-offset)
1132
- end: (?=[;}])
1133
- patterns:
1134
- - name: meta.property-value.css
1135
- begin: ":"
1136
- beginCaptures:
1137
- "0":
1138
- name: punctuation.separator.key-value.css
1139
- end: (?=[;}])
1140
- patterns:
1141
- - include: "#length"
1142
- - name: support.constant.property-value.css
1143
- match: auto
1144
- - include: "#comment-block"
1145
- - include: "#important"
1146
- - name: meta.property.marks.css
1147
- captures:
1148
- "1":
1149
- name: support.type.property-name.css
1150
- begin: (marks)
1151
- end: (?=[;}])
1152
- patterns:
1153
- - name: meta.property-value.css
1154
- begin: ":"
1155
- beginCaptures:
1156
- "0":
1157
- name: punctuation.separator.key-value.css
1158
- end: (?=[;}])
1159
- patterns:
1160
- - name: support.constant.property-value.css
1161
- match: (crop|cross|none)
1162
- - include: "#comment-block"
1163
- - include: "#important"
1164
- - name: meta.property.opacity.css
1165
- captures:
1166
- "1":
1167
- name: support.type.property-name.css
1168
- begin: (opacity)
1169
- end: (?=[;}])
1170
- patterns:
1171
- - name: meta.property-value.css
1172
- begin: ":"
1173
- beginCaptures:
1174
- "0":
1175
- name: punctuation.separator.key-value.css
1176
- end: (?=[;}])
1177
- patterns:
1178
- - name: constant.numeric.css
1179
- match: (-|\+)?\s*[0-9]*(\.)?[0-9]+
1180
- - include: "#comment-block"
1181
- - include: "#important"
1182
- - name: meta.property.orphans.css
1183
- captures:
1184
- "1":
1185
- name: support.type.property-name.css
1186
- begin: (orphans)
1187
- end: (?=[;}])
1188
- patterns:
1189
- - name: meta.property-value.css
1190
- begin: ":"
1191
- beginCaptures:
1192
- "0":
1193
- name: punctuation.separator.key-value.css
1194
- end: (?=[;}])
1195
- patterns:
1196
- - name: constant.numeric.css
1197
- match: "[0-9]+"
1198
- - include: "#comment-block"
1199
- - include: "#important"
1200
- - name: meta.property-group.outline.css
1201
- begin: (?=outline)
1202
- end: (?=[;}])
1203
- patterns:
1204
- - name: meta.property.outline.css
1205
- captures:
1206
- "1":
1207
- name: support.type.property-name.css
1208
- begin: (outline)[:\s]
1209
- end: (?=[;}])
1210
- patterns:
1211
- - name: meta.property-value.css
1212
- begin: ":"
1213
- beginCaptures:
1214
- "0":
1215
- name: punctuation.separator.key-value.css
1216
- end: (?=[;}])
1217
- patterns:
1218
- - name: support.constant.property-value.css
1219
- match: (invert)
1220
- - include: "#length"
1221
- - include: "#border-style"
1222
- - include: "#border-width"
1223
- - include: "#color-hex"
1224
- - include: "#color-rgb"
1225
- - include: "#color-named"
1226
- - include: "#comment-block"
1227
- - include: "#important"
1228
- - name: meta.property.outline-style.css
1229
- captures:
1230
- "1":
1231
- name: support.type.property-name.css
1232
- begin: (outline-style)
1233
- end: (?=[;}])
1234
- patterns:
1235
- - name: meta.property-value.css
1236
- begin: ":"
1237
- beginCaptures:
1238
- "0":
1239
- name: punctuation.separator.key-value.css
1240
- end: (?=[;}])
1241
- patterns:
1242
- - include: "#border-style"
1243
- - include: "#comment-block"
1244
- - include: "#important"
1245
- - name: meta.property.outline-color.css
1246
- captures:
1247
- "1":
1248
- name: support.type.property-name.css
1249
- begin: (outline-color)
1250
- end: (?=[;}])
1251
- patterns:
1252
- - name: meta.property-value.css
1253
- begin: ":"
1254
- beginCaptures:
1255
- "0":
1256
- name: punctuation.separator.key-value.css
1257
- end: (?=[;}])
1258
- patterns:
1259
- - name: support.constant.property-value.css
1260
- match: (invert)
1261
- - include: "#color-hex"
1262
- - include: "#color-rgb"
1263
- - include: "#color-named"
1264
- - include: "#comment-block"
1265
- - include: "#important"
1266
- - name: meta.property.outline-width.css
1267
- captures:
1268
- "1":
1269
- name: support.type.property-name.css
1270
- begin: (outline-width)
1271
- end: (?=[;}])
1272
- patterns:
1273
- - name: meta.property-value.css
1274
- begin: ":"
1275
- beginCaptures:
1276
- "0":
1277
- name: punctuation.separator.key-value.css
1278
- end: (?=[;}])
1279
- patterns:
1280
- - include: "#length"
1281
- - include: "#border-width"
1282
- - include: "#comment-block"
1283
- - include: "#important"
1284
- - name: meta.property.overflow.css
1285
- captures:
1286
- "1":
1287
- name: support.type.property-name.css
1288
- begin: (overflow)
1289
- end: (?=[;}])
1290
- patterns:
1291
- - name: meta.property-value.css
1292
- begin: ":"
1293
- beginCaptures:
1294
- "0":
1295
- name: punctuation.separator.key-value.css
1296
- end: (?=[;}])
1297
- patterns:
1298
- - name: support.constant.property-value.css
1299
- match: (visible|hidden|scroll)
1300
- - name: support.constant.property-value.css
1301
- match: auto
1302
- - include: "#comment-block"
1303
- - include: "#important"
1304
- - name: meta.property.padding.css
1305
- captures:
1306
- "1":
1307
- name: support.type.property-name.css
1308
- begin: (padding(-bottom|-left|-right|-top)?)
1309
- end: (?=[;}])
1310
- patterns:
1311
- - name: meta.property-value.css
1312
- begin: ":"
1313
- beginCaptures:
1314
- "0":
1315
- name: punctuation.separator.key-value.css
1316
- end: (?=[;}])
1317
- patterns:
1318
- - include: "#length"
1319
- - name: support.constant.property-value.css
1320
- match: auto
1321
- - include: "#comment-block"
1322
- - include: "#important"
1323
- - name: meta.property.page.css
1324
- captures:
1325
- "1":
1326
- name: support.type.property-name.css
1327
- begin: (page)(?=[:\s])
1328
- end: (?=[;}])
1329
- patterns:
1330
- - name: meta.property-value.css
1331
- begin: ":"
1332
- beginCaptures:
1333
- "0":
1334
- name: punctuation.separator.key-value.css
1335
- end: (?=[;}])
1336
- patterns:
1337
- - name: support.constant.property-value.css
1338
- match: (always|avoid|left|right)
1339
- - name: support.constant.property-value.css
1340
- match: auto
1341
- - include: "#comment-block"
1342
- - include: "#important"
1343
- - name: meta.property.page.css
1344
- captures:
1345
- "1":
1346
- name: support.type.property-name.css
1347
- begin: (page-break-(before|after|inside)?)
1348
- end: (?=[;}])
1349
- patterns:
1350
- - name: meta.property-value.css
1351
- begin: ":"
1352
- beginCaptures:
1353
- "0":
1354
- name: punctuation.separator.key-value.css
1355
- end: (?=[;}])
1356
- patterns:
1357
- - name: support.constant.property-value.css
1358
- match: (always|avoid|left|right)
1359
- - name: support.constant.property-value.css
1360
- match: auto
1361
- - include: "#comment-block"
1362
- - include: "#important"
1363
- - name: meta.property.pause.css
1364
- captures:
1365
- "1":
1366
- name: support.type.property-name.css
1367
- begin: (pause(-after|-before)?)
1368
- end: (?=[;}])
1369
- patterns:
1370
- - name: meta.property-value.css
1371
- begin: ":"
1372
- beginCaptures:
1373
- "0":
1374
- name: punctuation.separator.key-value.css
1375
- end: (?=[;}])
1376
- patterns:
1377
- - name: constant.numeric.css
1378
- match: (-|\+)?\s*[0-9]*(\.)?[0-9]+
1379
- - name: constant.other.unit.css
1380
- match: (m)?s
1381
- - name: constant.other.unit.css
1382
- match: "%"
1383
- - include: "#comment-block"
1384
- - include: "#important"
1385
- - name: meta.property.pitch.css
1386
- captures:
1387
- "1":
1388
- name: support.type.property-name.css
1389
- begin: (pitch(-range)?)
1390
- end: (?=[;}])
1391
- patterns:
1392
- - name: meta.property-value.css
1393
- begin: ":"
1394
- beginCaptures:
1395
- "0":
1396
- name: punctuation.separator.key-value.css
1397
- end: (?=[;}])
1398
- patterns:
1399
- - name: constant.numeric.css
1400
- match: (-|\+)?\s*[0-9]*(\.)?[0-9]+
1401
- - name: constant.other.unit.css
1402
- match: (k)?Hz
1403
- - name: support.constant.property-value.css
1404
- match: (x-low|low|medium|high|x-high)
1405
- - include: "#comment-block"
1406
- - include: "#important"
1407
- - name: meta.property.play-during.css
1408
- captures:
1409
- "1":
1410
- name: support.type.property-name.css
1411
- begin: (play-during)
1412
- end: (?=[;}])
1413
- patterns:
1414
- - name: meta.property-value.css
1415
- begin: ":"
1416
- beginCaptures:
1417
- "0":
1418
- name: punctuation.separator.key-value.css
1419
- end: (?=[;}])
1420
- patterns:
1421
- - name: support.constant.property-value.css
1422
- match: (mix|repeat|auto|none)
1423
- - include: "#comment-block"
1424
- - include: "#important"
1425
- - include: "#uri"
1426
- - name: meta.property.position.css
1427
- captures:
1428
- "1":
1429
- name: support.type.property-name.css
1430
- begin: (position)
1431
- end: (?=[;}])
1432
- patterns:
1433
- - name: meta.property-value.css
1434
- begin: ":"
1435
- beginCaptures:
1436
- "0":
1437
- name: punctuation.separator.key-value.css
1438
- end: (?=[;}])
1439
- patterns:
1440
- - name: support.constant.property-value.css
1441
- match: (relative|fixed|absolute|static)
1442
- - include: "#comment-block"
1443
- - include: "#important"
1444
- - name: meta.property.quotes.css
1445
- captures:
1446
- "1":
1447
- name: support.type.property-name.css
1448
- begin: (quotes)
1449
- end: (?=[;}])
1450
- patterns:
1451
- - name: meta.property-value.css
1452
- begin: ":"
1453
- beginCaptures:
1454
- "0":
1455
- name: punctuation.separator.key-value.css
1456
- end: (?=[;}])
1457
- patterns:
1458
- - include: "#string-double"
1459
- - include: "#string-single"
1460
- - name: support.constant.property-value.css
1461
- match: none
1462
- - include: "#comment-block"
1463
- - include: "#important"
1464
- - name: meta.property.richness.css
1465
- captures:
1466
- "1":
1467
- name: support.type.property-name.css
1468
- begin: (richness)
1469
- end: (?=[;}])
1470
- patterns:
1471
- - name: meta.property-value.css
1472
- begin: ":"
1473
- beginCaptures:
1474
- "0":
1475
- name: punctuation.separator.key-value.css
1476
- end: (?=[;}])
1477
- patterns:
1478
- - name: constant.numeric.css
1479
- match: (-|\+)?\s*[0-9]*(\.)?[0-9]+
1480
- - include: "#comment-block"
1481
- - include: "#important"
1482
- - name: meta.property.placement.css
1483
- captures:
1484
- "1":
1485
- name: support.type.property-name.css
1486
- begin: (bottom|left|right|top)
1487
- end: (?=[;}])
1488
- patterns:
1489
- - name: meta.property-value.css
1490
- begin: ":"
1491
- beginCaptures:
1492
- "0":
1493
- name: punctuation.separator.key-value.css
1494
- end: (?=[;}])
1495
- patterns:
1496
- - include: "#length"
1497
- - include: "#percentage"
1498
- - include: "#comment-block"
1499
- - include: "#important"
1500
- - name: support.constant.property-value.css
1501
- match: auto
1502
- - name: meta.property.elem-size.css
1503
- captures:
1504
- "1":
1505
- name: support.type.property-name.css
1506
- begin: (((min|max)-)?(height|width))
1507
- end: (?=[;}])
1508
- patterns:
1509
- - name: meta.property-value.css
1510
- begin: ":"
1511
- beginCaptures:
1512
- "0":
1513
- name: punctuation.separator.key-value.css
1514
- end: (?=[;}])
1515
- patterns:
1516
- - include: "#length"
1517
- - include: "#percentage"
1518
- - include: "#comment-block"
1519
- - include: "#important"
1520
- - name: support.constant.property-value.css
1521
- match: none
1522
- - name: support.constant.property-value.css
1523
- match: auto
1524
- - name: meta.property.size.css
1525
- captures:
1526
- "1":
1527
- name: support.type.property-name.css
1528
- begin: (size)
1529
- end: (?=[;}])
1530
- patterns:
1531
- - name: meta.property-value.css
1532
- begin: ":"
1533
- beginCaptures:
1534
- "0":
1535
- name: punctuation.separator.key-value.css
1536
- end: (?=[;}])
1537
- patterns:
1538
- - include: "#length"
1539
- - include: "#comment-block"
1540
- - include: "#important"
1541
- - name: support.constant.property-value.css
1542
- match: (portrait|landscape)
1543
- - name: support.constant.property-value.css
1544
- match: auto
1545
- - name: meta.property.speak.css
1546
- captures:
1547
- "1":
1548
- name: support.type.property-name.css
1549
- begin: (speak(-(header|numeral|punctuation))?)
1550
- end: (?=[;}])
1551
- patterns:
1552
- - name: meta.property-value.css
1553
- begin: ":"
1554
- beginCaptures:
1555
- "0":
1556
- name: punctuation.separator.key-value.css
1557
- end: (?=[;}])
1558
- patterns:
1559
- - name: support.constant.property-value.css
1560
- match: (normal|none|spell-out)
1561
- - name: support.constant.property-value.css
1562
- match: (once|always)
1563
- - name: support.constant.property-value.css
1564
- match: (digits|continuous)
1565
- - name: support.constant.property-value.css
1566
- match: (code|none)
1567
- - include: "#comment-block"
1568
- - include: "#important"
1569
- - name: meta.property.speech-rate.css
1570
- captures:
1571
- "1":
1572
- name: support.type.property-name.css
1573
- begin: (speech-rate)
1574
- end: (?=[;}])
1575
- patterns:
1576
- - name: meta.property-value.css
1577
- begin: ":"
1578
- beginCaptures:
1579
- "0":
1580
- name: punctuation.separator.key-value.css
1581
- end: (?=[;}])
1582
- patterns:
1583
- - name: support.constant.property-value.css
1584
- match: (x-slow|slow(er)?|medium|fast(er)?|x-fast|inherit)
1585
- - name: constant.numeric.css
1586
- match: (-|\+)?\s*[0-9]*(\.)?[0-9]+
1587
- - include: "#comment-block"
1588
- - include: "#important"
1589
- - name: meta.property.stress.css
1590
- captures:
1591
- "1":
1592
- name: support.type.property-name.css
1593
- begin: (stress)
1594
- end: (?=[;}])
1595
- patterns:
1596
- - name: meta.property-value.css
1597
- begin: ":"
1598
- beginCaptures:
1599
- "0":
1600
- name: punctuation.separator.key-value.css
1601
- end: (?=[;}])
1602
- patterns:
1603
- - name: constant.numeric.css
1604
- match: (-|\+)?\s*[0-9]*(\.)?[0-9]+
1605
- - include: "#comment-block"
1606
- - include: "#important"
1607
- - name: meta.property.table-layout.css
1608
- captures:
1609
- "1":
1610
- name: support.type.property-name.css
1611
- begin: (table-layout)
1612
- end: (?=[;}])
1613
- patterns:
1614
- - name: meta.property-value.css
1615
- begin: ":"
1616
- beginCaptures:
1617
- "0":
1618
- name: punctuation.separator.key-value.css
1619
- end: (?=[;}])
1620
- patterns:
1621
- - name: support.constant.property-value.css
1622
- match: (auto|fixed)
1623
- - include: "#comment-block"
1624
- - include: "#important"
1625
- - name: meta.property-group.text.css
1626
- begin: (?=text)
1627
- end: (?=[;}])
1628
- patterns:
1629
- - name: meta.property.text-align.css
1630
- captures:
1631
- "1":
1632
- name: support.type.property-name.css
1633
- begin: (text-align)
1634
- end: (?=[;}])
1635
- patterns:
1636
- - name: meta.property-value.css
1637
- begin: ":"
1638
- beginCaptures:
1639
- "0":
1640
- name: punctuation.separator.key-value.css
1641
- end: (?=[;}])
1642
- patterns:
1643
- - name: support.constant.property-value.css
1644
- match: (left|right|center|justify)
1645
- - include: "#string-double"
1646
- - include: "#string-single"
1647
- - include: "#comment-block"
1648
- - include: "#important"
1649
- - name: meta.property.text-decoration.css
1650
- captures:
1651
- "1":
1652
- name: support.type.property-name.css
1653
- begin: (text-decoration)
1654
- end: (?=[;}])
1655
- patterns:
1656
- - name: meta.property-value.css
1657
- begin: ":"
1658
- beginCaptures:
1659
- "0":
1660
- name: punctuation.separator.key-value.css
1661
- end: (?=[;}])
1662
- patterns:
1663
- - name: support.constant.property-value.css
1664
- match: (none|underline|overline|line-through|blink)
1665
- - include: "#comment-block"
1666
- - include: "#important"
1667
- - name: meta.property.text-indent.css
1668
- captures:
1669
- "1":
1670
- name: support.type.property-name.css
1671
- begin: (text-indent)
1672
- end: (?=[;}])
1673
- patterns:
1674
- - name: meta.property-value.css
1675
- begin: ":"
1676
- beginCaptures:
1677
- "0":
1678
- name: punctuation.separator.key-value.css
1679
- end: (?=[;}])
1680
- patterns:
1681
- - include: "#length"
1682
- - include: "#percentage"
1683
- - include: "#comment-block"
1684
- - include: "#important"
1685
- - name: meta.property.text-shadow.css
1686
- captures:
1687
- "1":
1688
- name: support.type.property-name.css
1689
- begin: (text-shadow)
1690
- end: (?=[;}])
1691
- patterns:
1692
- - name: meta.property-value.css
1693
- begin: ":"
1694
- beginCaptures:
1695
- "0":
1696
- name: punctuation.separator.key-value.css
1697
- end: (?=[;}])
1698
- patterns:
1699
- - name: support.constant.property-value.css
1700
- match: none
1701
- - include: "#length"
1702
- - include: "#color-hex"
1703
- - include: "#color-rgb"
1704
- - include: "#color-named"
1705
- - include: "#comment-block"
1706
- - include: "#important"
1707
- - name: meta.property.text-transform.css
1708
- captures:
1709
- "1":
1710
- name: support.type.property-name.css
1711
- begin: (text-transform)
1712
- end: (?=[;}])
1713
- patterns:
1714
- - name: meta.property-value.css
1715
- begin: ":"
1716
- beginCaptures:
1717
- "0":
1718
- name: punctuation.separator.key-value.css
1719
- end: (?=[;}])
1720
- patterns:
1721
- - name: support.constant.property-value.css
1722
- match: (none|uppercase|lowercase|capitalize)
1723
- - include: "#comment-block"
1724
- - include: "#important"
1725
- - name: meta.property.text.css
1726
- captures:
1727
- "1":
1728
- name: support.type.property-name.css
1729
- begin: (text)[-\s]
1730
- end: (?=[;}])
1731
- patterns:
1732
- - name: meta.property-value.css
1733
- begin: ":"
1734
- beginCaptures:
1735
- "0":
1736
- name: punctuation.separator.key-value.css
1737
- end: (?=[;}])
1738
- patterns:
1739
- - include: "#length"
1740
- - name: support.constant.property-value.css
1741
- match: (left|right|center|justify)
1742
- - name: support.constant.property-value.css
1743
- match: (underline|overline|line-through|blink)
1744
- - name: support.constant.property-value.css
1745
- match: (none|uppercase|lowercase|capitalize)
1746
- - include: "#comment-block"
1747
- - include: "#important"
1748
- - name: meta.property.vertical-align.css
1749
- captures:
1750
- "1":
1751
- name: support.type.property-name.css
1752
- begin: (vertical-align)
1753
- end: (?=[;}])
1754
- patterns:
1755
- - name: meta.property-value.css
1756
- begin: ":"
1757
- beginCaptures:
1758
- "0":
1759
- name: punctuation.separator.key-value.css
1760
- end: (?=[;}])
1761
- patterns:
1762
- - name: support.constant.property-value.css
1763
- match: (baseline|sub|super|top|text-top|middle|bottom|text-bottom)
1764
- - include: "#length"
1765
- - include: "#percentage"
1766
- - include: "#comment-block"
1767
- - include: "#important"
1768
- - name: meta.property.unicode-bidi.css
1769
- captures:
1770
- "1":
1771
- name: support.type.property-name.css
1772
- begin: (unicode-bidi)
1773
- end: (?=[;}])
1774
- patterns:
1775
- - name: meta.property-name.css
1776
- begin: (?=[a-z])
1777
- end: (?=:)
1778
- patterns:
1779
- - name: support.type.property-name.css
1780
- match: unicode-bidi
1781
- - name: meta.property-value.css
1782
- begin: ":"
1783
- beginCaptures:
1784
- "0":
1785
- name: punctuation.separator.key-value.css
1786
- end: (?=[;}])
1787
- patterns:
1788
- - name: support.constant.property-value.css
1789
- match: (normal|embed|bidi-override)
1790
- - include: "#length"
1791
- - include: "#comment-block"
1792
- - include: "#important"
1793
- - name: meta.property.visibility.css
1794
- captures:
1795
- "1":
1796
- name: support.type.property-name.css
1797
- begin: (visibility)
1798
- end: (?=[;}])
1799
- patterns:
1800
- - name: meta.property-value.css
1801
- begin: ":"
1802
- beginCaptures:
1803
- "0":
1804
- name: punctuation.separator.key-value.css
1805
- end: (?=[;}])
1806
- patterns:
1807
- - name: support.constant.property-value.css
1808
- match: (visible|hidden|collapse)
1809
- - include: "#comment-block"
1810
- - include: "#important"
1811
- - name: meta.property.voice-family.css
1812
- captures:
1813
- "1":
1814
- name: support.type.property-name.css
1815
- begin: (voice-family)
1816
- end: (?=[;}])
1817
- patterns:
1818
- - name: meta.property-value.css
1819
- begin: ":"
1820
- beginCaptures:
1821
- "0":
1822
- name: punctuation.separator.key-value.css
1823
- end: (?=[;}])
1824
- patterns:
1825
- - name: support.constant.property-value.css
1826
- match: (male|female|child)
1827
- - include: "#comment-block"
1828
- - include: "#important"
1829
- - name: meta.property.volume.css
1830
- captures:
1831
- "1":
1832
- name: support.type.property-name.css
1833
- begin: (volume)
1834
- end: (?=[;}])
1835
- patterns:
1836
- - name: meta.property-value.css
1837
- begin: ":"
1838
- beginCaptures:
1839
- "0":
1840
- name: punctuation.separator.key-value.css
1841
- end: (?=[;}])
1842
- patterns:
1843
- - name: support.constant.property-value.css
1844
- match: (silent|x-soft|soft|medium|loud|x-loud)
1845
- - include: "#percentage"
1846
- - name: constant.numeric.css
1847
- match: ([-+]?[0-9]*(\.)?[0-9]+)\b
1848
- - include: "#comment-block"
1849
- - include: "#important"
1850
- - name: meta.property.white-space.css
1851
- captures:
1852
- "1":
1853
- name: support.type.property-name.css
1854
- begin: (white-space)
1855
- end: (?=[;}])
1856
- patterns:
1857
- - name: meta.property-value.css
1858
- begin: ":"
1859
- beginCaptures:
1860
- "0":
1861
- name: punctuation.separator.key-value.css
1862
- end: (?=[;}])
1863
- patterns:
1864
- - name: support.constant.property-value.css
1865
- match: (normal|pre|nowrap)
1866
- - include: "#comment-block"
1867
- - include: "#important"
1868
- - name: meta.property.widows.css
1869
- captures:
1870
- "1":
1871
- name: support.type.property-name.css
1872
- begin: (widows)
1873
- end: (?=[;}])
1874
- patterns:
1875
- - name: meta.property-value.css
1876
- begin: ":"
1877
- beginCaptures:
1878
- "0":
1879
- name: punctuation.separator.key-value.css
1880
- end: (?=[;}])
1881
- patterns:
1882
- - name: constant.numeric.css
1883
- match: "[0-9]+"
1884
- - include: "#comment-block"
1885
- - include: "#important"
1886
- - name: meta.property.word-spacing.css
1887
- captures:
1888
- "1":
1889
- name: support.type.property-name.css
1890
- begin: (word-spacing)
1891
- end: (?=[;}])
1892
- patterns:
1893
- - name: meta.property-value.css
1894
- begin: ":"
1895
- beginCaptures:
1896
- "0":
1897
- name: punctuation.separator.key-value.css
1898
- end: (?=[;}])
1899
- patterns:
1900
- - name: support.constant.property-value.css
1901
- match: normal
1902
- - include: "#length"
1903
- - include: "#comment-block"
1904
- - include: "#important"
1905
- - name: meta.property.z-index.css
1906
- captures:
1907
- "1":
1908
- name: support.type.property-name.css
1909
- begin: (z-index)
1910
- end: (?=[;}])
1911
- patterns:
1912
- - name: meta.property-value.css
1913
- begin: ":"
1914
- beginCaptures:
1915
- "0":
1916
- name: punctuation.separator.key-value.css
1917
- end: (?=[;}])
1918
- patterns:
1919
- - name: support.constant.property-value.css
1920
- match: auto
1921
- - name: constant.numeric.css
1922
- match: "[0-9]+"
1923
- - include: "#comment-block"
1924
- - include: "#important"
1925
- foldingStopMarker: (\*/|\}|\))