bjeanes-ultraviolet 0.10.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (234) hide show
  1. data/History.txt +29 -0
  2. data/Manifest.txt +233 -0
  3. data/README.txt +52 -0
  4. data/Rakefile +51 -0
  5. data/bin/theme2latexrender +122 -0
  6. data/bin/theme2xhtmlrender +156 -0
  7. data/bin/uv +140 -0
  8. data/lib/uv.rb +100 -0
  9. data/lib/uv/render_processor.rb +131 -0
  10. data/lib/uv/utility.rb +67 -0
  11. data/render/latex/active4d.render +132 -0
  12. data/render/latex/all_hallows_eve.render +96 -0
  13. data/render/latex/amy.render +171 -0
  14. data/render/latex/blackboard.render +111 -0
  15. data/render/latex/brilliance_black.render +552 -0
  16. data/render/latex/brilliance_dull.render +561 -0
  17. data/render/latex/cobalt.render +162 -0
  18. data/render/latex/dawn.render +126 -0
  19. data/render/latex/eiffel.render +132 -0
  20. data/render/latex/espresso_libre.render +123 -0
  21. data/render/latex/idle.render +93 -0
  22. data/render/latex/iplastic.render +99 -0
  23. data/render/latex/lazy.render +96 -0
  24. data/render/latex/mac_classic.render +135 -0
  25. data/render/latex/magicwb_amiga.render +117 -0
  26. data/render/latex/pastels_on_dark.render +204 -0
  27. data/render/latex/slush_poppies.render +123 -0
  28. data/render/latex/spacecadet.render +81 -0
  29. data/render/latex/sunburst.render +186 -0
  30. data/render/latex/twilight.render +153 -0
  31. data/render/latex/zenburnesque.render +126 -0
  32. data/render/old/txt2tags.render +131 -0
  33. data/render/xhtml/active4d.render +140 -0
  34. data/render/xhtml/all_hallows_eve.render +104 -0
  35. data/render/xhtml/amy.render +179 -0
  36. data/render/xhtml/blackboard.render +119 -0
  37. data/render/xhtml/brilliance_black.render +560 -0
  38. data/render/xhtml/brilliance_dull.render +569 -0
  39. data/render/xhtml/cobalt.render +170 -0
  40. data/render/xhtml/dawn.render +134 -0
  41. data/render/xhtml/eiffel.render +140 -0
  42. data/render/xhtml/espresso_libre.render +131 -0
  43. data/render/xhtml/files/css/active4d.css +114 -0
  44. data/render/xhtml/files/css/all_hallows_eve.css +72 -0
  45. data/render/xhtml/files/css/amy.css +147 -0
  46. data/render/xhtml/files/css/blackboard.css +88 -0
  47. data/render/xhtml/files/css/brilliance_black.css +605 -0
  48. data/render/xhtml/files/css/brilliance_dull.css +599 -0
  49. data/render/xhtml/files/css/cobalt.css +149 -0
  50. data/render/xhtml/files/css/dawn.css +121 -0
  51. data/render/xhtml/files/css/eiffel.css +121 -0
  52. data/render/xhtml/files/css/espresso_libre.css +109 -0
  53. data/render/xhtml/files/css/idle.css +62 -0
  54. data/render/xhtml/files/css/iplastic.css +80 -0
  55. data/render/xhtml/files/css/lazy.css +73 -0
  56. data/render/xhtml/files/css/mac_classic.css +123 -0
  57. data/render/xhtml/files/css/magicwb_amiga.css +104 -0
  58. data/render/xhtml/files/css/pastels_on_dark.css +188 -0
  59. data/render/xhtml/files/css/slush_poppies.css +85 -0
  60. data/render/xhtml/files/css/spacecadet.css +51 -0
  61. data/render/xhtml/files/css/sunburst.css +180 -0
  62. data/render/xhtml/files/css/twilight.css +137 -0
  63. data/render/xhtml/files/css/zenburnesque.css +91 -0
  64. data/render/xhtml/idle.render +101 -0
  65. data/render/xhtml/iplastic.render +107 -0
  66. data/render/xhtml/lazy.render +104 -0
  67. data/render/xhtml/mac_classic.render +143 -0
  68. data/render/xhtml/magicwb_amiga.render +125 -0
  69. data/render/xhtml/pastels_on_dark.render +212 -0
  70. data/render/xhtml/slush_poppies.render +131 -0
  71. data/render/xhtml/spacecadet.render +89 -0
  72. data/render/xhtml/sunburst.render +194 -0
  73. data/render/xhtml/twilight.render +161 -0
  74. data/render/xhtml/zenburnesque.render +134 -0
  75. data/syntax/actionscript.syntax +97 -0
  76. data/syntax/active4d.syntax +276 -0
  77. data/syntax/active4d_html.syntax +311 -0
  78. data/syntax/active4d_ini.syntax +50 -0
  79. data/syntax/active4d_library.syntax +21 -0
  80. data/syntax/ada.syntax +33 -0
  81. data/syntax/antlr.syntax +151 -0
  82. data/syntax/apache.syntax +191 -0
  83. data/syntax/applescript.syntax +384 -0
  84. data/syntax/asp.syntax +70 -0
  85. data/syntax/asp_vb.net.syntax +129 -0
  86. data/syntax/bibtex.syntax +151 -0
  87. data/syntax/blog_html.syntax +41 -0
  88. data/syntax/blog_markdown.syntax +42 -0
  89. data/syntax/blog_text.syntax +27 -0
  90. data/syntax/blog_textile.syntax +27 -0
  91. data/syntax/build.syntax +53 -0
  92. data/syntax/bulletin_board.syntax +287 -0
  93. data/syntax/c++.syntax +109 -0
  94. data/syntax/c.syntax +326 -0
  95. data/syntax/cake.syntax +55 -0
  96. data/syntax/camlp4.syntax +36 -0
  97. data/syntax/cm.syntax +32 -0
  98. data/syntax/coldfusion.syntax +119 -0
  99. data/syntax/context_free.syntax +176 -0
  100. data/syntax/cs.syntax +59 -0
  101. data/syntax/css.syntax +195 -0
  102. data/syntax/css_experimental.syntax +1925 -0
  103. data/syntax/csv.syntax +68 -0
  104. data/syntax/d.syntax +142 -0
  105. data/syntax/diff.syntax +81 -0
  106. data/syntax/dokuwiki.syntax +204 -0
  107. data/syntax/dot.syntax +47 -0
  108. data/syntax/doxygen.syntax +43 -0
  109. data/syntax/dylan.syntax +62 -0
  110. data/syntax/eiffel.syntax +78 -0
  111. data/syntax/erlang.syntax +922 -0
  112. data/syntax/f-script.syntax +80 -0
  113. data/syntax/fortran.syntax +141 -0
  114. data/syntax/fxscript.syntax +142 -0
  115. data/syntax/greasemonkey.syntax +34 -0
  116. data/syntax/gri.syntax +83 -0
  117. data/syntax/groovy.syntax +191 -0
  118. data/syntax/gtd.syntax +22 -0
  119. data/syntax/gtdalt.syntax +143 -0
  120. data/syntax/haml.syntax +88 -0
  121. data/syntax/haskell.syntax +88 -0
  122. data/syntax/html-asp.syntax +27 -0
  123. data/syntax/html.syntax +362 -0
  124. data/syntax/html_django.syntax +36 -0
  125. data/syntax/html_for_asp.net.syntax +424 -0
  126. data/syntax/html_mason.syntax +119 -0
  127. data/syntax/html_rails.syntax +40 -0
  128. data/syntax/html_tcl.syntax +26 -0
  129. data/syntax/icalendar.syntax +32 -0
  130. data/syntax/inform.syntax +48 -0
  131. data/syntax/ini.syntax +55 -0
  132. data/syntax/installer_distribution_script.syntax +77 -0
  133. data/syntax/io.syntax +81 -0
  134. data/syntax/java.syntax +211 -0
  135. data/syntax/javaproperties.syntax +20 -0
  136. data/syntax/javascript.syntax +256 -0
  137. data/syntax/javascript_+_prototype.syntax +72 -0
  138. data/syntax/javascript_+_prototype_bracketed.syntax +140 -0
  139. data/syntax/jquery_javascript.syntax +114 -0
  140. data/syntax/json.syntax +136 -0
  141. data/syntax/languagedefinition.syntax +708 -0
  142. data/syntax/latex.syntax +566 -0
  143. data/syntax/latex_beamer.syntax +41 -0
  144. data/syntax/latex_log.syntax +50 -0
  145. data/syntax/latex_memoir.syntax +64 -0
  146. data/syntax/lexflex.syntax +219 -0
  147. data/syntax/lighttpd.syntax +54 -0
  148. data/syntax/lilypond.syntax +492 -0
  149. data/syntax/lisp.syntax +61 -0
  150. data/syntax/literate_haskell.syntax +24 -0
  151. data/syntax/logo.syntax +29 -0
  152. data/syntax/logtalk.syntax +152 -0
  153. data/syntax/lua.syntax +86 -0
  154. data/syntax/m.syntax +142 -0
  155. data/syntax/macports_portfile.syntax +163 -0
  156. data/syntax/mail.syntax +118 -0
  157. data/syntax/makefile.syntax +36 -0
  158. data/syntax/man.syntax +17 -0
  159. data/syntax/markdown.syntax +543 -0
  160. data/syntax/mediawiki.syntax +567 -0
  161. data/syntax/mel.syntax +92 -0
  162. data/syntax/mips.syntax +66 -0
  163. data/syntax/mod_perl.syntax +50 -0
  164. data/syntax/modula-3.syntax +47 -0
  165. data/syntax/moinmoin.syntax +189 -0
  166. data/syntax/mootools.syntax +572 -0
  167. data/syntax/movable_type.syntax +162 -0
  168. data/syntax/multimarkdown.syntax +39 -0
  169. data/syntax/objective-c++.syntax +18 -0
  170. data/syntax/objective-c.syntax +233 -0
  171. data/syntax/ocaml.syntax +764 -0
  172. data/syntax/ocamllex.syntax +167 -0
  173. data/syntax/ocamlyacc.syntax +184 -0
  174. data/syntax/opengl.syntax +14 -0
  175. data/syntax/pascal.syntax +77 -0
  176. data/syntax/perl.syntax +1115 -0
  177. data/syntax/php.syntax +1253 -0
  178. data/syntax/plain_text.syntax +32 -0
  179. data/syntax/pmwiki.syntax +113 -0
  180. data/syntax/postscript.syntax +114 -0
  181. data/syntax/processing.syntax +106 -0
  182. data/syntax/prolog.syntax +40 -0
  183. data/syntax/property_list.syntax +635 -0
  184. data/syntax/python.syntax +868 -0
  185. data/syntax/python_django.syntax +21 -0
  186. data/syntax/qmake_project.syntax +114 -0
  187. data/syntax/qt_c++.syntax +26 -0
  188. data/syntax/quake3_config.syntax +32 -0
  189. data/syntax/r.syntax +81 -0
  190. data/syntax/r_console.syntax +16 -0
  191. data/syntax/ragel.syntax +201 -0
  192. data/syntax/rd_r_documentation.syntax +91 -0
  193. data/syntax/regexp.syntax +50 -0
  194. data/syntax/regular_expressions_oniguruma.syntax +107 -0
  195. data/syntax/regular_expressions_python.syntax +109 -0
  196. data/syntax/release_notes.syntax +46 -0
  197. data/syntax/remind.syntax +253 -0
  198. data/syntax/restructuredtext.syntax +250 -0
  199. data/syntax/rez.syntax +80 -0
  200. data/syntax/ruby.syntax +1035 -0
  201. data/syntax/ruby_experimental.syntax +145 -0
  202. data/syntax/ruby_on_rails.syntax +88 -0
  203. data/syntax/s5.syntax +69 -0
  204. data/syntax/scheme.syntax +347 -0
  205. data/syntax/scilab.syntax +41 -0
  206. data/syntax/setext.syntax +147 -0
  207. data/syntax/shell-unix-generic.syntax +384 -0
  208. data/syntax/slate.syntax +149 -0
  209. data/syntax/smarty.syntax +63 -0
  210. data/syntax/sql.syntax +237 -0
  211. data/syntax/sql_rails.syntax +18 -0
  212. data/syntax/ssh-config.syntax +33 -0
  213. data/syntax/standard_ml.syntax +121 -0
  214. data/syntax/strings_file.syntax +39 -0
  215. data/syntax/subversion_commit_message.syntax +36 -0
  216. data/syntax/sweave.syntax +84 -0
  217. data/syntax/swig.syntax +57 -0
  218. data/syntax/tcl.syntax +152 -0
  219. data/syntax/template_toolkit.syntax +121 -0
  220. data/syntax/tex.syntax +86 -0
  221. data/syntax/tex_math.syntax +49 -0
  222. data/syntax/textile.syntax +215 -0
  223. data/syntax/tsv.syntax +50 -0
  224. data/syntax/twiki.syntax +241 -0
  225. data/syntax/txt2tags.syntax +79 -0
  226. data/syntax/vectorscript.syntax +57 -0
  227. data/syntax/xhtml_1.0.syntax +4027 -0
  228. data/syntax/xml.syntax +180 -0
  229. data/syntax/xml_strict.syntax +92 -0
  230. data/syntax/xsl.syntax +60 -0
  231. data/syntax/yaml.syntax +160 -0
  232. data/syntax/yui_javascript.syntax +176 -0
  233. data/test/test_uv.rb +0 -0
  234. metadata +309 -0
@@ -0,0 +1,195 @@
1
+ ---
2
+ name: CSS
3
+ fileTypes:
4
+ - css
5
+ scopeName: source.css
6
+ repository:
7
+ string-single:
8
+ name: string.quoted.single.css
9
+ endCaptures:
10
+ "0":
11
+ name: punctuation.definition.string.end.css
12
+ begin: "'"
13
+ beginCaptures:
14
+ "0":
15
+ name: punctuation.definition.string.begin.css
16
+ end: "'"
17
+ patterns:
18
+ - name: constant.character.escape.css
19
+ match: \\.
20
+ string-double:
21
+ name: string.quoted.double.css
22
+ endCaptures:
23
+ "0":
24
+ name: punctuation.definition.string.end.css
25
+ begin: "\""
26
+ beginCaptures:
27
+ "0":
28
+ name: punctuation.definition.string.begin.css
29
+ end: "\""
30
+ patterns:
31
+ - name: constant.character.escape.css
32
+ match: \\.
33
+ comment-block:
34
+ name: comment.block.css
35
+ captures:
36
+ "0":
37
+ name: punctuation.definition.comment.css
38
+ begin: /\*
39
+ end: \*/
40
+ uuid: 69AA0917-B7BB-11D9-A7E2-000D93C8BE28
41
+ foldingStartMarker: /\*\*(?!\*)|\{\s*($|/\*(?!.*?\*/.*\S))
42
+ patterns:
43
+ - name: meta.selector.css
44
+ begin: ^(?=\s*[:.*#a-zA-Z])
45
+ end: (?=\{)
46
+ patterns:
47
+ - include: "#comment-block"
48
+ - name: entity.name.tag.css
49
+ match: \b(a|abbr|acronym|address|area|b|base|big|blockquote|body|br|button|caption|cite|code|col|colgroup|dd|del|dfn|div|dl|dt|em|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
50
+ - name: entity.other.attribute-name.class.css
51
+ captures:
52
+ "1":
53
+ name: punctuation.definition.entity.css
54
+ match: (\.)[a-zA-Z0-9_-]+
55
+ - name: entity.other.attribute-name.id.css
56
+ captures:
57
+ "1":
58
+ name: punctuation.definition.entity.css
59
+ match: (#)[a-zA-Z][a-zA-Z0-9_-]*
60
+ - name: entity.name.tag.wildcard.css
61
+ match: \*
62
+ - name: entity.other.attribute-name.pseudo-element.css
63
+ captures:
64
+ "1":
65
+ name: punctuation.definition.entity.css
66
+ match: (:+)\b(after|before|first-child|first-letter|first-line|selection)\b
67
+ - name: entity.other.attribute-name.pseudo-class.css
68
+ captures:
69
+ "1":
70
+ name: punctuation.definition.entity.css
71
+ match: (:)\b(active|hover|link|visited|focus)\b
72
+ - name: meta.attribute-selector.css
73
+ captures:
74
+ "6":
75
+ name: punctuation.definition.string.begin.css
76
+ "7":
77
+ name: punctuation.definition.string.end.css
78
+ "1":
79
+ name: punctuation.definition.entity.css
80
+ "2":
81
+ name: entity.other.attribute-name.attribute.css
82
+ "3":
83
+ name: punctuation.separator.operator.css
84
+ "4":
85
+ name: string.unquoted.attribute-value.css
86
+ "5":
87
+ name: string.quoted.double.attribute-value.css
88
+ match: (?i)(\[)\s*(-?[_a-z\\[[:^ascii:]]][_a-z0-9\-\\[[:^ascii:]]]*)(?:\s*([~|^$*]?=)\s*(?:(-?[_a-z\\[[:^ascii:]]][_a-z0-9\-\\[[:^ascii:]]]*)|((?>(['"])(?:[^\\]|\\.)*?(\6)))))?\s*(\])
89
+ - include: "#comment-block"
90
+ - name: meta.at-rule.import.css
91
+ captures:
92
+ "1":
93
+ name: keyword.control.at-rule.import.css
94
+ "2":
95
+ name: punctuation.definition.keyword.css
96
+ begin: ^\s*((@)import\b)
97
+ end: \s*((?=;|\}))
98
+ patterns:
99
+ - include: "#string-double"
100
+ - endCaptures:
101
+ "1":
102
+ name: punctuation.section.function.css
103
+ begin: (url)\s*(\()\s*
104
+ beginCaptures:
105
+ "1":
106
+ name: support.function.url.css
107
+ "2":
108
+ name: punctuation.section.function.css
109
+ end: \s*(\))\s*
110
+ patterns:
111
+ - name: variable.parameter.url.css
112
+ match: "[^'\") \\t]+"
113
+ - include: "#string-single"
114
+ - include: "#string-double"
115
+ - name: meta.at-rule.media.css
116
+ captures:
117
+ "1":
118
+ name: keyword.control.at-rule.media.css
119
+ "2":
120
+ name: punctuation.definition.keyword.css
121
+ "3":
122
+ name: support.constant.media.css
123
+ begin: ^\s*((@)media)\s+(((all|aural|braille|embossed|handheld|print|projection|screen|tty|tv)\s*,?\s*)+)\s*{
124
+ end: \s*((?=;|\}))
125
+ patterns:
126
+ - include: $self
127
+ - name: meta.property-list.css
128
+ captures:
129
+ "0":
130
+ name: punctuation.section.property-list.css
131
+ begin: \{
132
+ end: \}
133
+ patterns:
134
+ - include: "#comment-block"
135
+ - name: meta.property-name.css
136
+ begin: (?<![-a-z])(?=[-a-z])
137
+ end: $|(?![-a-z])
138
+ patterns:
139
+ - name: support.type.property-name.css
140
+ match: \b(azimuth|background-attachment|background-color|background-image|background-position|background-repeat|background|border-bottom-color|border-bottom-style|border-bottom-width|border-bottom|border-collapse|border-color|border-left-color|border-left-style|border-left-width|border-left|border-right-color|border-right-style|border-right-width|border-right|border-spacing|border-style|border-top-color|border-top-style|border-top-width|border-top|border-width|border|bottom|caption-side|clear|clip|color|content|counter-increment|counter-reset|cue-after|cue-before|cue|cursor|direction|display|elevation|empty-cells|float|font-family|font-size-adjust|font-size|font-stretch|font-style|font-variant|font-weight|font|height|left|letter-spacing|line-height|list-style-image|list-style-position|list-style-type|list-style|margin-bottom|margin-left|margin-right|margin-top|marker-offset|margin|marks|max-height|max-width|min-height|min-width|-moz-border-radius|opacity|orphans|outline-color|outline-style|outline-width|outline|overflow(-[xy])?|padding-bottom|padding-left|padding-right|padding-top|padding|page-break-after|page-break-before|page-break-inside|page|pause-after|pause-before|pause|pitch-range|pitch|play-during|position|quotes|richness|right|size|speak-header|speak-numeral|speak-punctuation|speech-rate|speak|stress|table-layout|text-align|text-decoration|text-indent|text-shadow|text-transform|top|unicode-bidi|vertical-align|visibility|voice-family|volume|white-space|widows|width|word-spacing|z-index)\b
141
+ - name: meta.property-value.css
142
+ endCaptures:
143
+ "1":
144
+ name: punctuation.terminator.rule.css
145
+ begin: (:)\s*
146
+ beginCaptures:
147
+ "1":
148
+ name: punctuation.separator.key-value.css
149
+ end: \s*(;|(?=\}))
150
+ patterns:
151
+ - name: support.constant.property-value.css
152
+ match: \b(absolute|all-scroll|always|auto|baseline|below|bidi-override|block|bold|bolder|both|bottom|break-all|break-word|capitalize|center|char|circle|col-resize|collapse|crosshair|dashed|decimal|default|disabled|disc|distribute-all-lines|distribute-letter|distribute-space|distribute|dotted|double|e-resize|ellipsis|fixed|groove|hand|help|hidden|horizontal|ideograph-alpha|ideograph-numeric|ideograph-parenthesis|ideograph-space|inactive|inherit|inline-block|inline|inset|inside|inter-ideograph|inter-word|italic|justify|keep-all|left|lighter|line-edge|line-through|line|list-item|loose|lower-alpha|lower-roman|lowercase|lr-tb|ltr|medium|middle|move|n-resize|ne-resize|newspaper|no-drop|no-repeat|nw-resize|none|normal|not-allowed|nowrap|oblique|outset|outside|overline|pointer|progress|relative|repeat-x|repeat-y|repeat|right|ridge|row-resize|rtl|s-resize|scroll|se-resize|separate|small-caps|solid|square|static|strict|super|sw-resize|table-footer-group|table-header-group|tb-rl|text-bottom|text-top|text|thick|thin|top|transparent|underline|upper-alpha|upper-roman|uppercase|vertical-ideographic|vertical-text|visible|w-resize|wait|whitespace)\b
153
+ - name: support.constant.font-name.css
154
+ match: (\b(?i:arial|century|comic|courier|garamond|georgia|helvetica|impact|lucida|symbol|system|tahoma|times|trebuchet|utopia|verdana|webdings|sans-serif|serif|monospace)\b)
155
+ - name: support.constant.color.w3c-standard-color-name.css
156
+ match: \b(aqua|black|blue|fuchsia|gray|green|lime|maroon|navy|olive|purple|red|silver|teal|white|yellow)\b
157
+ comment: http://www.w3schools.com/css/css_colors.asp
158
+ - name: invalid.deprecated.color.w3c-non-standard-color-name.css
159
+ match: \b(seagreen|hotpink|lawngreen|darkgreen|violet|darkred|crimson|green|sandybrown|navy|magenta|darkslategray|steelblue|silver|darkgrey|mistyrose|gray|aliceblue|blueviolet|lightpink|saddlebrown|chocolate|limegreen|lightslategray|yellowgreen|pink|lightskyblue|indigo|lightblue|floralwhite|navajowhite|mediumvioletred|honeydew|aquamarine|blue|olivedrab|palegreen|slategray|lavenderblush|wheat|moccasin|mediumturquoise|mediumspringgreen|lightcoral|mintcream|tomato|lightgrey|black|darkmagenta|dimgray|darkturquoise|midnightblue|plum|indianred|coral|lightcyan|mediumslateblue|darkcyan|darkslateblue|darkkhaki|ivory|azure|khaki|powderblue|darkgoldenrod|orangered|burlywood|turquoise|royalblue|maroon|cornsilk|antiquewhite|yellow|teal|orange|grey|darkslategrey|slateblue|seashell|darkorchid|snow|lightslategrey|cyan|greenyellow|palevioletred|goldenrod|deepskyblue|lightyellow|lightseagreen|sienna|lemonchiffon|darkviolet|paleturquoise|slategrey|skyblue|purple|mediumpurple|cadetblue|fuchsia|chartreuse|darksalmon|lightgoldenrodyellow|white|springgreen|olive|forestgreen|peachpuff|peru|dimgrey|mediumseagreen|thistle|firebrick|darkgray|mediumaquamarine|darkolivegreen|mediumblue|palegoldenrod|blanchedalmond|ghostwhite|gold|gainsboro|darkseagreen|cornflowerblue|lime|lavender|beige|orchid|mediumorchid|whitesmoke|bisque|lightgray|tan|salmon|rosybrown|red|dodgerblue|brown|aqua|oldlace|deeppink|papayawhip|lightsalmon|lightsteelblue|darkorange|darkblue|linen|lightgreen)\b
160
+ comment: "These colours are mostly recognised but will not validate. ref: http://www.w3schools.com/css/css_colornames.asp"
161
+ - name: constant.numeric.css
162
+ match: (-|\+)?\s*[0-9]+(\.[0-9]+)?
163
+ - name: keyword.other.unit.css
164
+ match: (?<=[\d])(px|pt|cm|mm|in|em|ex|pc)\b|%
165
+ - name: constant.other.color.rgb-value.css
166
+ captures:
167
+ "1":
168
+ name: punctuation.definition.constant.css
169
+ match: (#)([0-9a-fA-F]{3}|[0-9a-fA-F]{6})\b
170
+ - include: "#string-double"
171
+ - include: "#string-single"
172
+ - endCaptures:
173
+ "1":
174
+ name: punctuation.section.function.css
175
+ begin: (rgb|url|attr|counter|counters)\s*(\()
176
+ beginCaptures:
177
+ "1":
178
+ name: support.function.misc.css
179
+ "2":
180
+ name: punctuation.section.function.css
181
+ end: (\))
182
+ patterns:
183
+ - include: "#string-single"
184
+ - include: "#string-double"
185
+ - name: constant.other.color.rgb-value.css
186
+ match: (\b0*((1?[0-9]{1,2})|(2([0-4][0-9]|5[0-5])))\s*,\s*)(0*((1?[0-9]{1,2})|(2([0-4][0-9]|5[0-5])))\s*,\s*)(0*((1?[0-9]{1,2})|(2([0-4][0-9]|5[0-5])))\b)
187
+ - name: constant.other.color.rgb-percentage.css
188
+ match: \b([0-9]{1,2}|100)\s*%,\s*([0-9]{1,2}|100)\s*%,\s*([0-9]{1,2}|100)\s*%
189
+ - name: variable.parameter.misc.css
190
+ match: "[^'\") \\t]+"
191
+ - name: keyword.other.important.css
192
+ match: \!\s*important
193
+ foldingStopMarker: (?<!\*)\*\*/|^\s*\}
194
+ keyEquivalent: ^~C
195
+ comment: ""
@@ -0,0 +1,1925 @@
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: (\*/|\}|\))