@journeyapps-labs/reactor-mod-editor 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +10 -0
- package/dist/@types/EditorModule.d.ts +7 -0
- package/dist/@types/MonacoCommandPalletSearchEngine.d.ts +21 -0
- package/dist/@types/actions/ChangeEditorThemeAction.d.ts +9 -0
- package/dist/@types/index.d.ts +16 -0
- package/dist/@types/languages/languages.d.ts +39 -0
- package/dist/@types/languages/logs.d.ts +3 -0
- package/dist/@types/providers/EditorThemeProvider.d.ts +14 -0
- package/dist/@types/settings/StoredThemesSettings.d.ts +13 -0
- package/dist/@types/settings/VimSupportSetting.d.ts +7 -0
- package/dist/@types/shortcuts/MonacoShortcut.d.ts +9 -0
- package/dist/@types/shortcuts/MonacoShortcutHandler.d.ts +17 -0
- package/dist/@types/shortcuts/MonacoShortcutMap.d.ts +83 -0
- package/dist/@types/stores/MonacoStore.d.ts +38 -0
- package/dist/@types/stores/MonacoThemeStore.d.ts +34 -0
- package/dist/@types/stores/keybindings/KeybindingsRegistry.d.ts +46 -0
- package/dist/@types/stores/keybindings/MonacoKeybindingStore.d.ts +27 -0
- package/dist/@types/stores/keybindings/definitions.d.ts +21 -0
- package/dist/@types/stores/keybindings/utils.d.ts +2 -0
- package/dist/@types/theme/EditorThemePreferencesWidget.d.ts +26 -0
- package/dist/@types/theme/SmartEditorThemePreferencesWidget.d.ts +8 -0
- package/dist/@types/theme/UploadVSIXThemeBtnWidget.d.ts +12 -0
- package/dist/@types/theme/patchThemeService.d.ts +9 -0
- package/dist/@types/theme/theme-utils.d.ts +61 -0
- package/dist/@types/theme-reactor/editor-theme-fragment.d.ts +41 -0
- package/dist/@types/utils/paths.d.ts +23 -0
- package/dist/@types/utils/useEditorStickyHeader.d.ts +8 -0
- package/dist/@types/widgets/DualEditorWidget.d.ts +7 -0
- package/dist/@types/widgets/EditorWidget.d.ts +15 -0
- package/dist/@types/widgets/MonacoEditorWidget.d.ts +10 -0
- package/dist/@types/widgets/SimpleEditorWidget.d.ts +8 -0
- package/dist/EditorModule.js +73 -0
- package/dist/EditorModule.js.map +1 -0
- package/dist/MonacoCommandPalletSearchEngine.js +52 -0
- package/dist/MonacoCommandPalletSearchEngine.js.map +1 -0
- package/dist/actions/ChangeEditorThemeAction.js +43 -0
- package/dist/actions/ChangeEditorThemeAction.js.map +1 -0
- package/dist/index.js +33 -0
- package/dist/index.js.map +1 -0
- package/dist/languages/languages.js +155 -0
- package/dist/languages/languages.js.map +1 -0
- package/dist/languages/logs.js +110 -0
- package/dist/languages/logs.js.map +1 -0
- package/dist/providers/EditorThemeProvider.js +26 -0
- package/dist/providers/EditorThemeProvider.js.map +1 -0
- package/dist/settings/StoredThemesSettings.js +45 -0
- package/dist/settings/StoredThemesSettings.js.map +1 -0
- package/dist/settings/VimSupportSetting.js +19 -0
- package/dist/settings/VimSupportSetting.js.map +1 -0
- package/dist/shortcuts/MonacoShortcut.js +27 -0
- package/dist/shortcuts/MonacoShortcut.js.map +1 -0
- package/dist/shortcuts/MonacoShortcutHandler.js +119 -0
- package/dist/shortcuts/MonacoShortcutHandler.js.map +1 -0
- package/dist/shortcuts/MonacoShortcutMap.js +84 -0
- package/dist/shortcuts/MonacoShortcutMap.js.map +1 -0
- package/dist/stores/MonacoStore.js +119 -0
- package/dist/stores/MonacoStore.js.map +1 -0
- package/dist/stores/MonacoThemeStore.js +143 -0
- package/dist/stores/MonacoThemeStore.js.map +1 -0
- package/dist/stores/keybindings/KeybindingsRegistry.js +131 -0
- package/dist/stores/keybindings/KeybindingsRegistry.js.map +1 -0
- package/dist/stores/keybindings/MonacoKeybindingStore.js +105 -0
- package/dist/stores/keybindings/MonacoKeybindingStore.js.map +1 -0
- package/dist/stores/keybindings/definitions.js +5 -0
- package/dist/stores/keybindings/definitions.js.map +1 -0
- package/dist/stores/keybindings/utils.js +12 -0
- package/dist/stores/keybindings/utils.js.map +1 -0
- package/dist/theme/EditorThemePreferencesWidget.js +160 -0
- package/dist/theme/EditorThemePreferencesWidget.js.map +1 -0
- package/dist/theme/SmartEditorThemePreferencesWidget.js +62 -0
- package/dist/theme/SmartEditorThemePreferencesWidget.js.map +1 -0
- package/dist/theme/UploadVSIXThemeBtnWidget.js +93 -0
- package/dist/theme/UploadVSIXThemeBtnWidget.js.map +1 -0
- package/dist/theme/patchThemeService.js +146 -0
- package/dist/theme/patchThemeService.js.map +1 -0
- package/dist/theme/theme-utils.js +65 -0
- package/dist/theme/theme-utils.js.map +1 -0
- package/dist/theme-reactor/editor-theme-fragment.js +70 -0
- package/dist/theme-reactor/editor-theme-fragment.js.map +1 -0
- package/dist/tsconfig.tsbuildinfo +1 -0
- package/dist/utils/paths.js +110 -0
- package/dist/utils/paths.js.map +1 -0
- package/dist/utils/useEditorStickyHeader.js +45 -0
- package/dist/utils/useEditorStickyHeader.js.map +1 -0
- package/dist/widgets/DualEditorWidget.js +79 -0
- package/dist/widgets/DualEditorWidget.js.map +1 -0
- package/dist/widgets/EditorWidget.js +85 -0
- package/dist/widgets/EditorWidget.js.map +1 -0
- package/dist/widgets/MonacoEditorWidget.js +29 -0
- package/dist/widgets/MonacoEditorWidget.js.map +1 -0
- package/dist/widgets/SimpleEditorWidget.js +71 -0
- package/dist/widgets/SimpleEditorWidget.js.map +1 -0
- package/dist-module/00a5102416a37050fa62.tmLanguage +1282 -0
- package/dist-module/092ac75109eb363dd826.tmLanguage +424 -0
- package/dist-module/100.bundle.js +1 -0
- package/dist-module/116.bundle.js +1 -0
- package/dist-module/173.bundle.js +1 -0
- package/dist-module/179.bundle.js +1 -0
- package/dist-module/18358219dee0ad14cc0c.tmLanguage +765 -0
- package/dist-module/195.bundle.js +1 -0
- package/dist-module/277.bundle.js +1 -0
- package/dist-module/299.bundle.js +1 -0
- package/dist-module/306.bundle.js +1 -0
- package/dist-module/344.bundle.js +1 -0
- package/dist-module/399345f371a7cb9eb1ba.tmLanguage +629 -0
- package/dist-module/404.bundle.js +4 -0
- package/dist-module/404.bundle.js.LICENSE.txt +6 -0
- package/dist-module/404.bundle.js.map +1 -0
- package/dist-module/43.bundle.js +1 -0
- package/dist-module/438.bundle.js +3 -0
- package/dist-module/438.bundle.js.map +1 -0
- package/dist-module/479.bundle.js +1 -0
- package/dist-module/491.bundle.js +1 -0
- package/dist-module/513.bundle.js +1 -0
- package/dist-module/549.bundle.js +1 -0
- package/dist-module/5e221c90a0dcbd4af855.tmLanguage +237 -0
- package/dist-module/6486a2df9ca5896c2cb6.tmLanguage +5739 -0
- package/dist-module/65.bundle.js +1 -0
- package/dist-module/66.bundle.js +1 -0
- package/dist-module/685.bundle.js +1 -0
- package/dist-module/6e3d5ec6699a8d147d29.wasm +0 -0
- package/dist-module/7.bundle.js +1 -0
- package/dist-module/703774d50b4d4526a465.tmLanguage +386 -0
- package/dist-module/717.bundle.js +2 -0
- package/dist-module/728.bundle.js +1 -0
- package/dist-module/77a7afbe329083ed0f59.tmLanguage +1183 -0
- package/dist-module/78.bundle.js +1 -0
- package/dist-module/829.bundle.js +1 -0
- package/dist-module/831968f77a9412d07cc2.tmLanguage +506 -0
- package/dist-module/862.bundle.js +1 -0
- package/dist-module/87.bundle.js +1 -0
- package/dist-module/923.bundle.js +1 -0
- package/dist-module/931.bundle.js +1 -0
- package/dist-module/933.bundle.js +3 -0
- package/dist-module/933.bundle.js.map +1 -0
- package/dist-module/970.bundle.js +1 -0
- package/dist-module/984.bundle.js +1 -0
- package/dist-module/992.bundle.js +1 -0
- package/dist-module/996.bundle.js +1 -0
- package/dist-module/9c8494157d226e95da5e.tmLanguage +1377 -0
- package/dist-module/a3e215de85a86294de8a.tmLanguage +385 -0
- package/dist-module/ba5650c2a0269a236153.tmLanguage +9349 -0
- package/dist-module/bundle.js +97 -0
- package/dist-module/bundle.js.LICENSE.txt +27 -0
- package/dist-module/bundle.js.map +1 -0
- package/dist-module/editor.worker.bundle.js +1 -0
- package/dist-module/f6283f7ccaed1249d9eb.ttf +0 -0
- package/dist-module/json.worker.bundle.js +2 -0
- package/dist-module/json.worker.bundle.js.LICENSE.txt +6 -0
- package/dist-module/yaml.worker.bundle.js +1 -0
- package/media/css.tmLanguage +1183 -0
- package/media/handlebars.tmLanguage +1282 -0
- package/media/html.tmLanguage +506 -0
- package/media/javascript.tmLanguage +5739 -0
- package/media/json.tmLanguage +386 -0
- package/media/jxml.tmLanguage +424 -0
- package/media/markdown.tmLanguage +1377 -0
- package/media/regularExpressions.tmLanguage +237 -0
- package/media/sql.tmLanguage +765 -0
- package/media/themes/ayu-light.json5 +847 -0
- package/media/themes/ayu-mirage.json5 +846 -0
- package/media/themes/journey.json5 +1061 -0
- package/media/themes/oxide.json5 +579 -0
- package/media/themes/reactor.json5 +775 -0
- package/media/themes/scarlet.json5 +836 -0
- package/media/typescript.tmLanguage +9349 -0
- package/media/xml.tmLanguage +385 -0
- package/media/yaml.tmLanguage +629 -0
- package/package.json +45 -0
- package/reactor.config.json +4 -0
|
@@ -0,0 +1,1183 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
|
3
|
+
<plist version="1.0">
|
|
4
|
+
<dict>
|
|
5
|
+
<key>fileTypes</key>
|
|
6
|
+
<array>
|
|
7
|
+
<string>css</string>
|
|
8
|
+
<string>css.erb</string>
|
|
9
|
+
</array>
|
|
10
|
+
<key>keyEquivalent</key>
|
|
11
|
+
<string>^~C</string>
|
|
12
|
+
<key>name</key>
|
|
13
|
+
<string>CSS</string>
|
|
14
|
+
<key>patterns</key>
|
|
15
|
+
<array>
|
|
16
|
+
<dict>
|
|
17
|
+
<key>include</key>
|
|
18
|
+
<string>#comment-block</string>
|
|
19
|
+
</dict>
|
|
20
|
+
<dict>
|
|
21
|
+
<key>include</key>
|
|
22
|
+
<string>#selector</string>
|
|
23
|
+
</dict>
|
|
24
|
+
<dict>
|
|
25
|
+
<key>begin</key>
|
|
26
|
+
<string>\s*((@)charset\b)\s*</string>
|
|
27
|
+
<key>captures</key>
|
|
28
|
+
<dict>
|
|
29
|
+
<key>1</key>
|
|
30
|
+
<dict>
|
|
31
|
+
<key>name</key>
|
|
32
|
+
<string>keyword.control.at-rule.charset.css</string>
|
|
33
|
+
</dict>
|
|
34
|
+
<key>2</key>
|
|
35
|
+
<dict>
|
|
36
|
+
<key>name</key>
|
|
37
|
+
<string>punctuation.definition.keyword.css</string>
|
|
38
|
+
</dict>
|
|
39
|
+
</dict>
|
|
40
|
+
<key>end</key>
|
|
41
|
+
<string>\s*((?=;|$))</string>
|
|
42
|
+
<key>name</key>
|
|
43
|
+
<string>meta.at-rule.charset.css</string>
|
|
44
|
+
<key>patterns</key>
|
|
45
|
+
<array>
|
|
46
|
+
<dict>
|
|
47
|
+
<key>include</key>
|
|
48
|
+
<string>#string-double</string>
|
|
49
|
+
</dict>
|
|
50
|
+
<dict>
|
|
51
|
+
<key>include</key>
|
|
52
|
+
<string>#string-single</string>
|
|
53
|
+
</dict>
|
|
54
|
+
</array>
|
|
55
|
+
</dict>
|
|
56
|
+
<dict>
|
|
57
|
+
<key>begin</key>
|
|
58
|
+
<string>\s*((@)import\b)\s*</string>
|
|
59
|
+
<key>captures</key>
|
|
60
|
+
<dict>
|
|
61
|
+
<key>1</key>
|
|
62
|
+
<dict>
|
|
63
|
+
<key>name</key>
|
|
64
|
+
<string>keyword.control.at-rule.import.css</string>
|
|
65
|
+
</dict>
|
|
66
|
+
<key>2</key>
|
|
67
|
+
<dict>
|
|
68
|
+
<key>name</key>
|
|
69
|
+
<string>punctuation.definition.keyword.css</string>
|
|
70
|
+
</dict>
|
|
71
|
+
</dict>
|
|
72
|
+
<key>end</key>
|
|
73
|
+
<string>\s*((?=;|\}))</string>
|
|
74
|
+
<key>name</key>
|
|
75
|
+
<string>meta.at-rule.import.css</string>
|
|
76
|
+
<key>patterns</key>
|
|
77
|
+
<array>
|
|
78
|
+
<dict>
|
|
79
|
+
<key>include</key>
|
|
80
|
+
<string>#string-double</string>
|
|
81
|
+
</dict>
|
|
82
|
+
<dict>
|
|
83
|
+
<key>include</key>
|
|
84
|
+
<string>#string-single</string>
|
|
85
|
+
</dict>
|
|
86
|
+
<dict>
|
|
87
|
+
<key>begin</key>
|
|
88
|
+
<string>\s*(url)\s*(\()\s*</string>
|
|
89
|
+
<key>beginCaptures</key>
|
|
90
|
+
<dict>
|
|
91
|
+
<key>1</key>
|
|
92
|
+
<dict>
|
|
93
|
+
<key>name</key>
|
|
94
|
+
<string>support.function.url.css</string>
|
|
95
|
+
</dict>
|
|
96
|
+
<key>2</key>
|
|
97
|
+
<dict>
|
|
98
|
+
<key>name</key>
|
|
99
|
+
<string>punctuation.section.function.css</string>
|
|
100
|
+
</dict>
|
|
101
|
+
</dict>
|
|
102
|
+
<key>end</key>
|
|
103
|
+
<string>\s*(\))\s*</string>
|
|
104
|
+
<key>endCaptures</key>
|
|
105
|
+
<dict>
|
|
106
|
+
<key>1</key>
|
|
107
|
+
<dict>
|
|
108
|
+
<key>name</key>
|
|
109
|
+
<string>punctuation.section.function.css</string>
|
|
110
|
+
</dict>
|
|
111
|
+
</dict>
|
|
112
|
+
<key>patterns</key>
|
|
113
|
+
<array>
|
|
114
|
+
<dict>
|
|
115
|
+
<key>match</key>
|
|
116
|
+
<string>[^'") \t]+</string>
|
|
117
|
+
<key>name</key>
|
|
118
|
+
<string>variable.parameter.url.css</string>
|
|
119
|
+
</dict>
|
|
120
|
+
<dict>
|
|
121
|
+
<key>include</key>
|
|
122
|
+
<string>#string-single</string>
|
|
123
|
+
</dict>
|
|
124
|
+
<dict>
|
|
125
|
+
<key>include</key>
|
|
126
|
+
<string>#string-double</string>
|
|
127
|
+
</dict>
|
|
128
|
+
</array>
|
|
129
|
+
</dict>
|
|
130
|
+
<dict>
|
|
131
|
+
<key>include</key>
|
|
132
|
+
<string>#media-query-list</string>
|
|
133
|
+
</dict>
|
|
134
|
+
</array>
|
|
135
|
+
</dict>
|
|
136
|
+
<dict>
|
|
137
|
+
<key>begin</key>
|
|
138
|
+
<string>^\s*((@)font-face)\s*(?=\{)</string>
|
|
139
|
+
<key>beginCaptures</key>
|
|
140
|
+
<dict>
|
|
141
|
+
<key>1</key>
|
|
142
|
+
<dict>
|
|
143
|
+
<key>name</key>
|
|
144
|
+
<string>keyword.control.at-rule.font-face.css</string>
|
|
145
|
+
</dict>
|
|
146
|
+
<key>2</key>
|
|
147
|
+
<dict>
|
|
148
|
+
<key>name</key>
|
|
149
|
+
<string>punctuation.definition.keyword.css</string>
|
|
150
|
+
</dict>
|
|
151
|
+
</dict>
|
|
152
|
+
<key>end</key>
|
|
153
|
+
<string>(?!\G)</string>
|
|
154
|
+
<key>name</key>
|
|
155
|
+
<string>meta.at-rule.font-face.css</string>
|
|
156
|
+
<key>patterns</key>
|
|
157
|
+
<array>
|
|
158
|
+
<dict>
|
|
159
|
+
<key>include</key>
|
|
160
|
+
<string>#rule-list</string>
|
|
161
|
+
</dict>
|
|
162
|
+
</array>
|
|
163
|
+
</dict>
|
|
164
|
+
<dict>
|
|
165
|
+
<key>begin</key>
|
|
166
|
+
<string>(?=^\s*@media\s*.*?\{)</string>
|
|
167
|
+
<key>end</key>
|
|
168
|
+
<string>\s*(\})</string>
|
|
169
|
+
<key>endCaptures</key>
|
|
170
|
+
<dict>
|
|
171
|
+
<key>1</key>
|
|
172
|
+
<dict>
|
|
173
|
+
<key>name</key>
|
|
174
|
+
<string>punctuation.section.property-list.end.css</string>
|
|
175
|
+
</dict>
|
|
176
|
+
</dict>
|
|
177
|
+
<key>patterns</key>
|
|
178
|
+
<array>
|
|
179
|
+
<dict>
|
|
180
|
+
<key>begin</key>
|
|
181
|
+
<string>^\s*((@)media)(?=.*?\{)</string>
|
|
182
|
+
<key>beginCaptures</key>
|
|
183
|
+
<dict>
|
|
184
|
+
<key>1</key>
|
|
185
|
+
<dict>
|
|
186
|
+
<key>name</key>
|
|
187
|
+
<string>keyword.control.at-rule.media.css</string>
|
|
188
|
+
</dict>
|
|
189
|
+
<key>2</key>
|
|
190
|
+
<dict>
|
|
191
|
+
<key>name</key>
|
|
192
|
+
<string>punctuation.definition.keyword.css</string>
|
|
193
|
+
</dict>
|
|
194
|
+
<key>3</key>
|
|
195
|
+
<dict>
|
|
196
|
+
<key>name</key>
|
|
197
|
+
<string>support.constant.media.css</string>
|
|
198
|
+
</dict>
|
|
199
|
+
</dict>
|
|
200
|
+
<key>end</key>
|
|
201
|
+
<string>\s*(?=\{)</string>
|
|
202
|
+
<key>name</key>
|
|
203
|
+
<string>meta.at-rule.media.css</string>
|
|
204
|
+
<key>patterns</key>
|
|
205
|
+
<array>
|
|
206
|
+
<dict>
|
|
207
|
+
<key>include</key>
|
|
208
|
+
<string>#media-query-list</string>
|
|
209
|
+
</dict>
|
|
210
|
+
</array>
|
|
211
|
+
</dict>
|
|
212
|
+
<dict>
|
|
213
|
+
<key>begin</key>
|
|
214
|
+
<string>\s*(\{)</string>
|
|
215
|
+
<key>beginCaptures</key>
|
|
216
|
+
<dict>
|
|
217
|
+
<key>1</key>
|
|
218
|
+
<dict>
|
|
219
|
+
<key>name</key>
|
|
220
|
+
<string>punctuation.section.property-list.begin.css</string>
|
|
221
|
+
</dict>
|
|
222
|
+
</dict>
|
|
223
|
+
<key>end</key>
|
|
224
|
+
<string>(?=\})</string>
|
|
225
|
+
<key>patterns</key>
|
|
226
|
+
<array>
|
|
227
|
+
<dict>
|
|
228
|
+
<key>include</key>
|
|
229
|
+
<string>$self</string>
|
|
230
|
+
</dict>
|
|
231
|
+
</array>
|
|
232
|
+
</dict>
|
|
233
|
+
</array>
|
|
234
|
+
</dict>
|
|
235
|
+
<dict>
|
|
236
|
+
<key>begin</key>
|
|
237
|
+
<string>^\s*((@)(-(o|ms)-)?viewport)\s*(?=\{)</string>
|
|
238
|
+
<key>beginCaptures</key>
|
|
239
|
+
<dict>
|
|
240
|
+
<key>1</key>
|
|
241
|
+
<dict>
|
|
242
|
+
<key>name</key>
|
|
243
|
+
<string>keyword.control.at-rule.viewport.css</string>
|
|
244
|
+
</dict>
|
|
245
|
+
<key>2</key>
|
|
246
|
+
<dict>
|
|
247
|
+
<key>name</key>
|
|
248
|
+
<string>punctuation.definition.keyword.css</string>
|
|
249
|
+
</dict>
|
|
250
|
+
</dict>
|
|
251
|
+
<key>end</key>
|
|
252
|
+
<string>(?!\G)</string>
|
|
253
|
+
<key>name</key>
|
|
254
|
+
<string>meta.at-rule.viewport.css</string>
|
|
255
|
+
<key>patterns</key>
|
|
256
|
+
<array>
|
|
257
|
+
<dict>
|
|
258
|
+
<key>include</key>
|
|
259
|
+
<string>#rule-list</string>
|
|
260
|
+
</dict>
|
|
261
|
+
</array>
|
|
262
|
+
</dict>
|
|
263
|
+
<dict>
|
|
264
|
+
<key>begin</key>
|
|
265
|
+
<string>(?=\{)</string>
|
|
266
|
+
<key>end</key>
|
|
267
|
+
<string>(?!\G)</string>
|
|
268
|
+
<key>patterns</key>
|
|
269
|
+
<array>
|
|
270
|
+
<dict>
|
|
271
|
+
<key>include</key>
|
|
272
|
+
<string>#rule-list</string>
|
|
273
|
+
</dict>
|
|
274
|
+
</array>
|
|
275
|
+
</dict>
|
|
276
|
+
</array>
|
|
277
|
+
<key>repository</key>
|
|
278
|
+
<dict>
|
|
279
|
+
<key>color-values</key>
|
|
280
|
+
<dict>
|
|
281
|
+
<key>patterns</key>
|
|
282
|
+
<array>
|
|
283
|
+
<dict>
|
|
284
|
+
<key>comment</key>
|
|
285
|
+
<string>Basic color keywords: http://www.w3.org/TR/css3-color/#html4</string>
|
|
286
|
+
<key>match</key>
|
|
287
|
+
<string>\b(aqua|black|blue|fuchsia|gray|green|lime|maroon|navy|olive|orange|purple|red|silver|teal|white|yellow)\b</string>
|
|
288
|
+
<key>name</key>
|
|
289
|
+
<string>support.constant.color.w3c-standard-color-name.css</string>
|
|
290
|
+
</dict>
|
|
291
|
+
<dict>
|
|
292
|
+
<key>comment</key>
|
|
293
|
+
<string>Extended color keywords: http://www.w3.org/TR/css3-color/#svg-color</string>
|
|
294
|
+
<key>match</key>
|
|
295
|
+
<string>\b(aliceblue|antiquewhite|aquamarine|azure|beige|bisque|blanchedalmond|blueviolet|brown|burlywood|cadetblue|chartreuse|chocolate|coral|cornflowerblue|cornsilk|crimson|cyan|darkblue|darkcyan|darkgoldenrod|darkgray|darkgreen|darkgrey|darkkhaki|darkmagenta|darkolivegreen|darkorange|darkorchid|darkred|darksalmon|darkseagreen|darkslateblue|darkslategray|darkslategrey|darkturquoise|darkviolet|deeppink|deepskyblue|dimgray|dimgrey|dodgerblue|firebrick|floralwhite|forestgreen|gainsboro|ghostwhite|gold|goldenrod|greenyellow|grey|honeydew|hotpink|indianred|indigo|ivory|khaki|lavender|lavenderblush|lawngreen|lemonchiffon|lightblue|lightcoral|lightcyan|lightgoldenrodyellow|lightgray|lightgreen|lightgrey|lightpink|lightsalmon|lightseagreen|lightskyblue|lightslategray|lightslategrey|lightsteelblue|lightyellow|limegreen|linen|magenta|mediumaquamarine|mediumblue|mediumorchid|mediumpurple|mediumseagreen|mediumslateblue|mediumspringgreen|mediumturquoise|mediumvioletred|midnightblue|mintcream|mistyrose|moccasin|navajowhite|oldlace|olivedrab|orangered|orchid|palegoldenrod|palegreen|paleturquoise|palevioletred|papayawhip|peachpuff|peru|pink|plum|powderblue|rebeccapurple|rosybrown|royalblue|saddlebrown|salmon|sandybrown|seagreen|seashell|sienna|skyblue|slateblue|slategray|slategrey|snow|springgreen|steelblue|tan|thistle|tomato|turquoise|violet|wheat|whitesmoke|yellowgreen)\b</string>
|
|
296
|
+
<key>name</key>
|
|
297
|
+
<string>support.constant.color.w3c-extended-color-name.css</string>
|
|
298
|
+
</dict>
|
|
299
|
+
<dict>
|
|
300
|
+
<key>begin</key>
|
|
301
|
+
<string>(hsla?|rgba?)\s*(\()</string>
|
|
302
|
+
<key>beginCaptures</key>
|
|
303
|
+
<dict>
|
|
304
|
+
<key>1</key>
|
|
305
|
+
<dict>
|
|
306
|
+
<key>name</key>
|
|
307
|
+
<string>support.function.misc.css</string>
|
|
308
|
+
</dict>
|
|
309
|
+
<key>2</key>
|
|
310
|
+
<dict>
|
|
311
|
+
<key>name</key>
|
|
312
|
+
<string>punctuation.section.function.css</string>
|
|
313
|
+
</dict>
|
|
314
|
+
</dict>
|
|
315
|
+
<key>end</key>
|
|
316
|
+
<string>(\))</string>
|
|
317
|
+
<key>endCaptures</key>
|
|
318
|
+
<dict>
|
|
319
|
+
<key>1</key>
|
|
320
|
+
<dict>
|
|
321
|
+
<key>name</key>
|
|
322
|
+
<string>punctuation.section.function.css</string>
|
|
323
|
+
</dict>
|
|
324
|
+
</dict>
|
|
325
|
+
<key>patterns</key>
|
|
326
|
+
<array>
|
|
327
|
+
<dict>
|
|
328
|
+
<key>match</key>
|
|
329
|
+
<string>(?x)\b
|
|
330
|
+
(0*((1?[0-9]{1,2})|(2([0-4][0-9]|5[0-5])))\s*,\s*){2}
|
|
331
|
+
(0*((1?[0-9]{1,2})|(2([0-4][0-9]|5[0-5])))\b)
|
|
332
|
+
(\s*,\s*((0?\.[0-9]+)|[0-1]))?
|
|
333
|
+
</string>
|
|
334
|
+
<key>name</key>
|
|
335
|
+
<string>constant.other.color.rgb-value.css</string>
|
|
336
|
+
</dict>
|
|
337
|
+
<dict>
|
|
338
|
+
<key>match</key>
|
|
339
|
+
<string>\b([0-9]{1,2}|100)\s*%,\s*([0-9]{1,2}|100)\s*%,\s*([0-9]{1,2}|100)\s*%</string>
|
|
340
|
+
<key>name</key>
|
|
341
|
+
<string>constant.other.color.rgb-percentage.css</string>
|
|
342
|
+
</dict>
|
|
343
|
+
<dict>
|
|
344
|
+
<key>include</key>
|
|
345
|
+
<string>#numeric-values</string>
|
|
346
|
+
</dict>
|
|
347
|
+
</array>
|
|
348
|
+
</dict>
|
|
349
|
+
</array>
|
|
350
|
+
</dict>
|
|
351
|
+
<key>comment-block</key>
|
|
352
|
+
<dict>
|
|
353
|
+
<key>begin</key>
|
|
354
|
+
<string>/\*</string>
|
|
355
|
+
<key>captures</key>
|
|
356
|
+
<dict>
|
|
357
|
+
<key>0</key>
|
|
358
|
+
<dict>
|
|
359
|
+
<key>name</key>
|
|
360
|
+
<string>punctuation.definition.comment.css</string>
|
|
361
|
+
</dict>
|
|
362
|
+
</dict>
|
|
363
|
+
<key>end</key>
|
|
364
|
+
<string>\*/</string>
|
|
365
|
+
<key>name</key>
|
|
366
|
+
<string>comment.block.css</string>
|
|
367
|
+
</dict>
|
|
368
|
+
<key>media-query</key>
|
|
369
|
+
<dict>
|
|
370
|
+
<key>begin</key>
|
|
371
|
+
<string>(?i)\s*(only|not)?\s*(all|aural|braille|embossed|handheld|print|projection|screen|speech|tty|tv)?</string>
|
|
372
|
+
<key>beginCaptures</key>
|
|
373
|
+
<dict>
|
|
374
|
+
<key>1</key>
|
|
375
|
+
<dict>
|
|
376
|
+
<key>name</key>
|
|
377
|
+
<string>keyword.operator.logic.media.css</string>
|
|
378
|
+
</dict>
|
|
379
|
+
<key>2</key>
|
|
380
|
+
<dict>
|
|
381
|
+
<key>name</key>
|
|
382
|
+
<string>support.constant.media.css</string>
|
|
383
|
+
</dict>
|
|
384
|
+
</dict>
|
|
385
|
+
<key>end</key>
|
|
386
|
+
<string>\s*(?:(,)|(?=[{;]))</string>
|
|
387
|
+
<key>endCaptures</key>
|
|
388
|
+
<dict>
|
|
389
|
+
<key>1</key>
|
|
390
|
+
<dict>
|
|
391
|
+
<key>name</key>
|
|
392
|
+
<string>punctuation.definition.arbitrary-repitition.css</string>
|
|
393
|
+
</dict>
|
|
394
|
+
</dict>
|
|
395
|
+
<key>patterns</key>
|
|
396
|
+
<array>
|
|
397
|
+
<dict>
|
|
398
|
+
<key>begin</key>
|
|
399
|
+
<string>\s*(and)?\s*(\()\s*</string>
|
|
400
|
+
<key>beginCaptures</key>
|
|
401
|
+
<dict>
|
|
402
|
+
<key>1</key>
|
|
403
|
+
<dict>
|
|
404
|
+
<key>name</key>
|
|
405
|
+
<string>keyword.operator.logic.media.css</string>
|
|
406
|
+
</dict>
|
|
407
|
+
</dict>
|
|
408
|
+
<key>end</key>
|
|
409
|
+
<string>\)</string>
|
|
410
|
+
<key>patterns</key>
|
|
411
|
+
<array>
|
|
412
|
+
<dict>
|
|
413
|
+
<key>begin</key>
|
|
414
|
+
<string>(?x)
|
|
415
|
+
(
|
|
416
|
+
((min|max)-)?
|
|
417
|
+
(
|
|
418
|
+
((device-)?(height|width|aspect-ratio))|
|
|
419
|
+
(color(-index)?)|monochrome|resolution
|
|
420
|
+
)
|
|
421
|
+
)|grid|scan|orientation|((any-)?(pointer|hover))
|
|
422
|
+
\s*(?=[:)])</string>
|
|
423
|
+
<key>beginCaptures</key>
|
|
424
|
+
<dict>
|
|
425
|
+
<key>0</key>
|
|
426
|
+
<dict>
|
|
427
|
+
<key>name</key>
|
|
428
|
+
<string>support.type.property-name.media.css</string>
|
|
429
|
+
</dict>
|
|
430
|
+
</dict>
|
|
431
|
+
<key>end</key>
|
|
432
|
+
<string>(:)|(?=\))</string>
|
|
433
|
+
<key>endCaptures</key>
|
|
434
|
+
<dict>
|
|
435
|
+
<key>1</key>
|
|
436
|
+
<dict>
|
|
437
|
+
<key>name</key>
|
|
438
|
+
<string>punctuation.separator.key-value.css</string>
|
|
439
|
+
</dict>
|
|
440
|
+
</dict>
|
|
441
|
+
</dict>
|
|
442
|
+
<dict>
|
|
443
|
+
<key>match</key>
|
|
444
|
+
<string>\b(portrait|landscape|progressive|interlace|none|coarse|fine|on-demand|hover)</string>
|
|
445
|
+
<key>name</key>
|
|
446
|
+
<string>support.constant.property-value.css</string>
|
|
447
|
+
</dict>
|
|
448
|
+
<dict>
|
|
449
|
+
<key>captures</key>
|
|
450
|
+
<dict>
|
|
451
|
+
<key>1</key>
|
|
452
|
+
<dict>
|
|
453
|
+
<key>name</key>
|
|
454
|
+
<string>constant.numeric.css</string>
|
|
455
|
+
</dict>
|
|
456
|
+
<key>2</key>
|
|
457
|
+
<dict>
|
|
458
|
+
<key>name</key>
|
|
459
|
+
<string>keyword.operator.arithmetic.css</string>
|
|
460
|
+
</dict>
|
|
461
|
+
<key>3</key>
|
|
462
|
+
<dict>
|
|
463
|
+
<key>name</key>
|
|
464
|
+
<string>constant.numeric.css</string>
|
|
465
|
+
</dict>
|
|
466
|
+
</dict>
|
|
467
|
+
<key>match</key>
|
|
468
|
+
<string>\s*(\d+)(/)(\d+)</string>
|
|
469
|
+
</dict>
|
|
470
|
+
<dict>
|
|
471
|
+
<key>include</key>
|
|
472
|
+
<string>#numeric-values</string>
|
|
473
|
+
</dict>
|
|
474
|
+
</array>
|
|
475
|
+
</dict>
|
|
476
|
+
</array>
|
|
477
|
+
</dict>
|
|
478
|
+
<key>media-query-list</key>
|
|
479
|
+
<dict>
|
|
480
|
+
<key>begin</key>
|
|
481
|
+
<string>\s*(?=[^{;])</string>
|
|
482
|
+
<key>end</key>
|
|
483
|
+
<string>\s*(?=[{;])</string>
|
|
484
|
+
<key>patterns</key>
|
|
485
|
+
<array>
|
|
486
|
+
<dict>
|
|
487
|
+
<key>include</key>
|
|
488
|
+
<string>#media-query</string>
|
|
489
|
+
</dict>
|
|
490
|
+
</array>
|
|
491
|
+
</dict>
|
|
492
|
+
<key>numeric-values</key>
|
|
493
|
+
<dict>
|
|
494
|
+
<key>patterns</key>
|
|
495
|
+
<array>
|
|
496
|
+
<dict>
|
|
497
|
+
<key>captures</key>
|
|
498
|
+
<dict>
|
|
499
|
+
<key>1</key>
|
|
500
|
+
<dict>
|
|
501
|
+
<key>name</key>
|
|
502
|
+
<string>punctuation.definition.constant.css</string>
|
|
503
|
+
</dict>
|
|
504
|
+
</dict>
|
|
505
|
+
<key>match</key>
|
|
506
|
+
<string>(#)([0-9a-fA-F]{3}|[0-9a-fA-F]{6})\b</string>
|
|
507
|
+
<key>name</key>
|
|
508
|
+
<string>constant.other.color.rgb-value.css</string>
|
|
509
|
+
</dict>
|
|
510
|
+
<dict>
|
|
511
|
+
<key>captures</key>
|
|
512
|
+
<dict>
|
|
513
|
+
<key>1</key>
|
|
514
|
+
<dict>
|
|
515
|
+
<key>name</key>
|
|
516
|
+
<string>keyword.other.unit.css</string>
|
|
517
|
+
</dict>
|
|
518
|
+
</dict>
|
|
519
|
+
<key>match</key>
|
|
520
|
+
<string>(?x)
|
|
521
|
+
(?:-|\+)?(?:(?:[0-9]+(?:\.[0-9]+)?)|(?:\.[0-9]+))
|
|
522
|
+
((?:px|pt|ch|cm|mm|in|r?em|ex|pc|vw|vh|vmin|vmax|deg|g?rad|turn|dpi|dpcm|dppx|fr|s|ms|Hz|kHz)\b|%)?
|
|
523
|
+
</string>
|
|
524
|
+
<key>name</key>
|
|
525
|
+
<string>constant.numeric.css</string>
|
|
526
|
+
</dict>
|
|
527
|
+
</array>
|
|
528
|
+
</dict>
|
|
529
|
+
<key>property-values</key>
|
|
530
|
+
<dict>
|
|
531
|
+
<key>patterns</key>
|
|
532
|
+
<array>
|
|
533
|
+
<dict>
|
|
534
|
+
<key>match</key>
|
|
535
|
+
<string>\b(absolute|add|additive|all(-scroll)?|allow-end|alpha|alphabetic|alternate(-reverse)?|always|any|armenian|auto|avoid(-(column|flex|line|page|region))?|backwards|balance(-all)?|bar|baseline|below|bengali|bevel|bidi-override|block(-(end|start))?|bold|bolder|border-box|both|bottom|box-decoration|break-(all|word)|bullets|cambodian|capitalize|center|central|char|circle|cjk-(decimal|earthly-branch|heavenly-stem|ideographic)|clear|clip|clone|coarse|col-resize|collapse|color(-(burn|dodge))?|column(-reverse)?|contain|content(-box)?|contents|cover|create|crisp-edges|currentcolor|cyclic|darken|densedashed|decimal-leading-zero|decimal|default|dense|devanagari|difference|digits|disabled|disc|disclosure-(closed|open)|display|distribute-all-lines|distribute(-(letter|space))?|dot|dotted|double(-circle)?|e-resize|each-line|ease(-(in(-out)?|out))?|economy|edges|ellipsis|embed|end|ethiopic-numeric|evenodd|exact|exclude|exclusion|extends|fade|fill(-(available|box))?|filled|first(-baseline)?|fit-content|fixed|flex(-(end|start))?|flow(-root)?|force-end|forwards|fragments|from-image|full-width|geometricPrecision|georgian|grid|groove|gujarati|gurmukhi|hand|hanging|hard-light|hebrew|help|hidden|hiragana(-iroha)?|horizontal(-tb)?|hue|ideograph-(alpha|numeric|parenthesis|space)|ideographic|inactive|infinite|inherit|initial|ink|inline(-(block|end|flex|grid|list-item|start|table))?|inset|inside|inter-(character|ideograph|word)|intersect|invalid|invert|isolate(-override)?|italic|japanese-(formal|informal)|justify(-all)?|katakana(-iroha)?|keep-all|khmer|korean-(hangul-formal|hanja-(formal|informal))|landscape|lao|last(-baseline)?|leading-spaces|left|legacy|lighter|line(-(edge|through))?|list-(container|item)|local|logical|loose|lower-(alpha|armenian|greek|latin|roman)|lowercase|lr-tb|ltr|luminance|luminosity|malayalam|mandatory|manipulation|manual|margin-box|marker|match-parent|mathematical|max-content|maximum|medium|middle|minimum|mixed|mongolian|move|multiply|myanmar|n-resize|ne-resize|newspaper|no-(clip|close-quote|composite|compress|drop|open-quote|repeat)|non-blocking|none|nonzero|normal|notch|not-allowed|nowrap|numbers|numeric|nw-resize|objects|oblique|open(-quote)?|oriya|optimize(Legibility|Quality|Speed)|outset|outside(-shape)?|overlay|overline|padding-box|page|paginate|paint|pan-(x|y)|paused|persian|physical|pixelated|plaintext|pointer|portrait|pre(-(line|wrap(-auto)?))?|preserve(-(auto|breaks|spaces|trim))?|progress|proximity|punctuation|region|relative|repeat(-(x|y))?|reverse|revert|ridge|right|rotate|row(-reverse)?|row-resize|rtl|ruby(-((base|text)(-container)?))?|run-in|running|s-resize|saturation|scale-down|scroll(-position)?|se-resize|self-(end|start)|separate|sesame|show|sideways(-(left|lr|right|rl))?|simp-chinese-(formal|informal)|slice|small-caps|smooth|snap(-(block|inline))?|soft-light|solid|space(-(adjacent|around|between|end|evenly|start))?|spaces|spell-out|spread|square|start|static|step-(end|start)|sticky|stretch|strict|stroke-box|sub|subgrid|subtract|super|sw-resize|symbolic|table(-(caption|cell|(column|row)(-group)?|footer-group|header-group))?|tamil|tb-rl|telugu|text(-(bottom|top))?|thai|thick|thin|tibetan|top|transparent|triangle|trim-(adjacent|end|inner|start)|true|under|underline|underscore|unsafe|unset|upper-(alpha|latin|roman)|uppercase|upright|use-glyph-orientation|vertical(-(ideographic|lr|rl|text))?|view-box|visible(Painted|Fill|Stroke)?|w-resize|wait|whitespace|words|wrap|zero|smaller|larger|((xx?-)?(small|large))|painted|fill|stroke)\b</string>
|
|
536
|
+
<key>name</key>
|
|
537
|
+
<string>support.constant.property-value.css</string>
|
|
538
|
+
</dict>
|
|
539
|
+
<dict>
|
|
540
|
+
<key>match</key>
|
|
541
|
+
<string>(\b(?i:arial|century|comic|courier|garamond|georgia|helvetica|impact|lucida|symbol|system|tahoma|times|trebuchet|utopia|verdana|webdings|sans-serif|serif|monospace)\b)</string>
|
|
542
|
+
<key>name</key>
|
|
543
|
+
<string>support.constant.font-name.css</string>
|
|
544
|
+
</dict>
|
|
545
|
+
<dict>
|
|
546
|
+
<key>include</key>
|
|
547
|
+
<string>#numeric-values</string>
|
|
548
|
+
</dict>
|
|
549
|
+
<dict>
|
|
550
|
+
<key>include</key>
|
|
551
|
+
<string>#color-values</string>
|
|
552
|
+
</dict>
|
|
553
|
+
<dict>
|
|
554
|
+
<key>include</key>
|
|
555
|
+
<string>#string-double</string>
|
|
556
|
+
</dict>
|
|
557
|
+
<dict>
|
|
558
|
+
<key>include</key>
|
|
559
|
+
<string>#string-single</string>
|
|
560
|
+
</dict>
|
|
561
|
+
<dict>
|
|
562
|
+
<key>begin</key>
|
|
563
|
+
<string>(blur|drop-shadow|perspective|rect|translate(3d|X|Y|Z)?)\s*(\()</string>
|
|
564
|
+
<key>beginCaptures</key>
|
|
565
|
+
<dict>
|
|
566
|
+
<key>1</key>
|
|
567
|
+
<dict>
|
|
568
|
+
<key>name</key>
|
|
569
|
+
<string>support.function.misc.css</string>
|
|
570
|
+
</dict>
|
|
571
|
+
<key>2</key>
|
|
572
|
+
<dict>
|
|
573
|
+
<key>name</key>
|
|
574
|
+
<string>punctuation.section.function.css</string>
|
|
575
|
+
</dict>
|
|
576
|
+
</dict>
|
|
577
|
+
<key>end</key>
|
|
578
|
+
<string>(\))</string>
|
|
579
|
+
<key>endCaptures</key>
|
|
580
|
+
<dict>
|
|
581
|
+
<key>1</key>
|
|
582
|
+
<dict>
|
|
583
|
+
<key>name</key>
|
|
584
|
+
<string>punctuation.section.function.css</string>
|
|
585
|
+
</dict>
|
|
586
|
+
</dict>
|
|
587
|
+
<key>patterns</key>
|
|
588
|
+
<array>
|
|
589
|
+
<dict>
|
|
590
|
+
<key>include</key>
|
|
591
|
+
<string>#numeric-values</string>
|
|
592
|
+
</dict>
|
|
593
|
+
</array>
|
|
594
|
+
</dict>
|
|
595
|
+
<dict>
|
|
596
|
+
<key>begin</key>
|
|
597
|
+
<string>(cubic-bezier|matrix(3d)?|scale(3d|X|Y|Z)?)\s*(\()</string>
|
|
598
|
+
<key>beginCaptures</key>
|
|
599
|
+
<dict>
|
|
600
|
+
<key>1</key>
|
|
601
|
+
<dict>
|
|
602
|
+
<key>name</key>
|
|
603
|
+
<string>support.function.misc.css</string>
|
|
604
|
+
</dict>
|
|
605
|
+
<key>2</key>
|
|
606
|
+
<dict>
|
|
607
|
+
<key>name</key>
|
|
608
|
+
<string>punctuation.section.function.css</string>
|
|
609
|
+
</dict>
|
|
610
|
+
</dict>
|
|
611
|
+
<key>end</key>
|
|
612
|
+
<string>(\))</string>
|
|
613
|
+
<key>endCaptures</key>
|
|
614
|
+
<dict>
|
|
615
|
+
<key>1</key>
|
|
616
|
+
<dict>
|
|
617
|
+
<key>name</key>
|
|
618
|
+
<string>punctuation.section.function.css</string>
|
|
619
|
+
</dict>
|
|
620
|
+
</dict>
|
|
621
|
+
<key>patterns</key>
|
|
622
|
+
<array>
|
|
623
|
+
<dict>
|
|
624
|
+
<key>match</key>
|
|
625
|
+
<string>(?:-|\+)?(?:(?:[0-9]+(?:\.[0-9]+)?)|(?:\.[0-9]+))</string>
|
|
626
|
+
<key>name</key>
|
|
627
|
+
<string>constant.numeric.css</string>
|
|
628
|
+
</dict>
|
|
629
|
+
</array>
|
|
630
|
+
</dict>
|
|
631
|
+
<dict>
|
|
632
|
+
<key>begin</key>
|
|
633
|
+
<string>((hue-)?rotate|skew(X|Y|Z)?)\s*(\()</string>
|
|
634
|
+
<key>beginCaptures</key>
|
|
635
|
+
<dict>
|
|
636
|
+
<key>1</key>
|
|
637
|
+
<dict>
|
|
638
|
+
<key>name</key>
|
|
639
|
+
<string>support.function.misc.css</string>
|
|
640
|
+
</dict>
|
|
641
|
+
<key>2</key>
|
|
642
|
+
<dict>
|
|
643
|
+
<key>name</key>
|
|
644
|
+
<string>punctuation.section.function.css</string>
|
|
645
|
+
</dict>
|
|
646
|
+
</dict>
|
|
647
|
+
<key>end</key>
|
|
648
|
+
<string>(\))</string>
|
|
649
|
+
<key>endCaptures</key>
|
|
650
|
+
<dict>
|
|
651
|
+
<key>1</key>
|
|
652
|
+
<dict>
|
|
653
|
+
<key>name</key>
|
|
654
|
+
<string>punctuation.section.function.css</string>
|
|
655
|
+
</dict>
|
|
656
|
+
</dict>
|
|
657
|
+
<key>patterns</key>
|
|
658
|
+
<array>
|
|
659
|
+
<dict>
|
|
660
|
+
<key>match</key>
|
|
661
|
+
<string>(?x)
|
|
662
|
+
(?:-|\+)?(?:(?:[0-9]+(?:\.[0-9]+)?)|(?:\.[0-9]+))
|
|
663
|
+
((?:deg|g?rad|turn)\b)
|
|
664
|
+
</string>
|
|
665
|
+
<key>name</key>
|
|
666
|
+
<string>constant.numeric.css</string>
|
|
667
|
+
</dict>
|
|
668
|
+
</array>
|
|
669
|
+
</dict>
|
|
670
|
+
<dict>
|
|
671
|
+
<key>begin</key>
|
|
672
|
+
<string>(brightness|contrast|grayscale|invert|opacity|saturate|sepia)\s*(\()</string>
|
|
673
|
+
<key>beginCaptures</key>
|
|
674
|
+
<dict>
|
|
675
|
+
<key>1</key>
|
|
676
|
+
<dict>
|
|
677
|
+
<key>name</key>
|
|
678
|
+
<string>support.function.misc.css</string>
|
|
679
|
+
</dict>
|
|
680
|
+
<key>2</key>
|
|
681
|
+
<dict>
|
|
682
|
+
<key>name</key>
|
|
683
|
+
<string>punctuation.section.function.css</string>
|
|
684
|
+
</dict>
|
|
685
|
+
</dict>
|
|
686
|
+
<key>end</key>
|
|
687
|
+
<string>(\))</string>
|
|
688
|
+
<key>endCaptures</key>
|
|
689
|
+
<dict>
|
|
690
|
+
<key>1</key>
|
|
691
|
+
<dict>
|
|
692
|
+
<key>name</key>
|
|
693
|
+
<string>punctuation.section.function.css</string>
|
|
694
|
+
</dict>
|
|
695
|
+
</dict>
|
|
696
|
+
<key>patterns</key>
|
|
697
|
+
<array>
|
|
698
|
+
<dict>
|
|
699
|
+
<key>match</key>
|
|
700
|
+
<string>(?x)
|
|
701
|
+
(?:-|\+)?(?:(?:[0-9]+(?:\.[0-9]+)?)|(?:\.[0-9]+))
|
|
702
|
+
(%)?
|
|
703
|
+
</string>
|
|
704
|
+
<key>name</key>
|
|
705
|
+
<string>constant.numeric.css</string>
|
|
706
|
+
</dict>
|
|
707
|
+
</array>
|
|
708
|
+
</dict>
|
|
709
|
+
<dict>
|
|
710
|
+
<key>begin</key>
|
|
711
|
+
<string>(format|local|url|attr|counter|counters)\s*(\()</string>
|
|
712
|
+
<key>beginCaptures</key>
|
|
713
|
+
<dict>
|
|
714
|
+
<key>1</key>
|
|
715
|
+
<dict>
|
|
716
|
+
<key>name</key>
|
|
717
|
+
<string>support.function.misc.css</string>
|
|
718
|
+
</dict>
|
|
719
|
+
<key>2</key>
|
|
720
|
+
<dict>
|
|
721
|
+
<key>name</key>
|
|
722
|
+
<string>punctuation.section.function.css</string>
|
|
723
|
+
</dict>
|
|
724
|
+
</dict>
|
|
725
|
+
<key>end</key>
|
|
726
|
+
<string>(\))</string>
|
|
727
|
+
<key>endCaptures</key>
|
|
728
|
+
<dict>
|
|
729
|
+
<key>1</key>
|
|
730
|
+
<dict>
|
|
731
|
+
<key>name</key>
|
|
732
|
+
<string>punctuation.section.function.css</string>
|
|
733
|
+
</dict>
|
|
734
|
+
</dict>
|
|
735
|
+
<key>patterns</key>
|
|
736
|
+
<array>
|
|
737
|
+
<dict>
|
|
738
|
+
<key>include</key>
|
|
739
|
+
<string>#string-single</string>
|
|
740
|
+
</dict>
|
|
741
|
+
<dict>
|
|
742
|
+
<key>include</key>
|
|
743
|
+
<string>#string-double</string>
|
|
744
|
+
</dict>
|
|
745
|
+
<dict>
|
|
746
|
+
<key>match</key>
|
|
747
|
+
<string>[^'") \t]+</string>
|
|
748
|
+
<key>name</key>
|
|
749
|
+
<string>variable.parameter.misc.css</string>
|
|
750
|
+
</dict>
|
|
751
|
+
</array>
|
|
752
|
+
</dict>
|
|
753
|
+
<dict>
|
|
754
|
+
<key>begin</key>
|
|
755
|
+
<string>(var)\s*(\()</string>
|
|
756
|
+
<key>beginCaptures</key>
|
|
757
|
+
<dict>
|
|
758
|
+
<key>1</key>
|
|
759
|
+
<dict>
|
|
760
|
+
<key>name</key>
|
|
761
|
+
<string>support.function.misc.css</string>
|
|
762
|
+
</dict>
|
|
763
|
+
<key>2</key>
|
|
764
|
+
<dict>
|
|
765
|
+
<key>name</key>
|
|
766
|
+
<string>punctuation.section.function.css</string>
|
|
767
|
+
</dict>
|
|
768
|
+
</dict>
|
|
769
|
+
<key>end</key>
|
|
770
|
+
<string>(\))</string>
|
|
771
|
+
<key>endCaptures</key>
|
|
772
|
+
<dict>
|
|
773
|
+
<key>1</key>
|
|
774
|
+
<dict>
|
|
775
|
+
<key>name</key>
|
|
776
|
+
<string>punctuation.section.function.css</string>
|
|
777
|
+
</dict>
|
|
778
|
+
</dict>
|
|
779
|
+
<key>patterns</key>
|
|
780
|
+
<array>
|
|
781
|
+
<dict>
|
|
782
|
+
<key>include</key>
|
|
783
|
+
<string>#variable-name</string>
|
|
784
|
+
</dict>
|
|
785
|
+
</array>
|
|
786
|
+
</dict>
|
|
787
|
+
<dict>
|
|
788
|
+
<key>match</key>
|
|
789
|
+
<string>\!\s*important</string>
|
|
790
|
+
<key>name</key>
|
|
791
|
+
<string>keyword.other.important.css</string>
|
|
792
|
+
</dict>
|
|
793
|
+
</array>
|
|
794
|
+
</dict>
|
|
795
|
+
<key>rule-list</key>
|
|
796
|
+
<dict>
|
|
797
|
+
<key>begin</key>
|
|
798
|
+
<string>\{</string>
|
|
799
|
+
<key>beginCaptures</key>
|
|
800
|
+
<dict>
|
|
801
|
+
<key>0</key>
|
|
802
|
+
<dict>
|
|
803
|
+
<key>name</key>
|
|
804
|
+
<string>punctuation.section.property-list.begin.css</string>
|
|
805
|
+
</dict>
|
|
806
|
+
</dict>
|
|
807
|
+
<key>end</key>
|
|
808
|
+
<string>\}</string>
|
|
809
|
+
<key>endCaptures</key>
|
|
810
|
+
<dict>
|
|
811
|
+
<key>0</key>
|
|
812
|
+
<dict>
|
|
813
|
+
<key>name</key>
|
|
814
|
+
<string>punctuation.section.property-list.end.css</string>
|
|
815
|
+
</dict>
|
|
816
|
+
</dict>
|
|
817
|
+
<key>name</key>
|
|
818
|
+
<string>meta.property-list.css</string>
|
|
819
|
+
<key>patterns</key>
|
|
820
|
+
<array>
|
|
821
|
+
<dict>
|
|
822
|
+
<key>include</key>
|
|
823
|
+
<string>#comment-block</string>
|
|
824
|
+
</dict>
|
|
825
|
+
<dict>
|
|
826
|
+
<key>begin</key>
|
|
827
|
+
<string>(?<![-a-z])(?=[-a-z])</string>
|
|
828
|
+
<key>end</key>
|
|
829
|
+
<string>$|(?![-a-z])</string>
|
|
830
|
+
<key>name</key>
|
|
831
|
+
<string>meta.property-name.css</string>
|
|
832
|
+
<key>patterns</key>
|
|
833
|
+
<array>
|
|
834
|
+
<dict>
|
|
835
|
+
<key>include</key>
|
|
836
|
+
<string>#variable-name</string>
|
|
837
|
+
</dict>
|
|
838
|
+
<dict>
|
|
839
|
+
<key>match</key>
|
|
840
|
+
<string>(-(webkit|moz|o|ms|khtml)-)?(zoom|z-index|y|x|writing-mode|wrap|wrap-through|wrap-inside|wrap-flow|wrap-before|wrap-after|word-wrap|word-spacing|word-break|word|will-change|width|widows|white-space-collapse|white-space|white|weight|volume|voice-volume|voice-stress|voice-rate|voice-pitch-range|voice-pitch|voice-family|voice-duration|voice-balance|voice|visibility|vertical-align|vector-effect|variant|user-zoom|user-select|up|unicode-(bidi|range)|trim|translate|transition-timing-function|transition-property|transition-duration|transition-delay|transition|transform-style|transform-origin|transform-box|transform|touch-action|top-width|top-style|top-right-radius|top-left-radius|top-color|top|timing-function|text-wrap|text-underline-position|text-transform|text-spacing|text-space-trim|text-space-collapse|text-size-adjust|text-shadow|text-replace|text-rendering|text-overflow|text-outline|text-orientation|text-justify|text-indent|text-height|text-emphasis-style|text-emphasis-skip|text-emphasis-position|text-emphasis-color|text-emphasis|text-decoration-style|text-decoration-stroke|text-decoration-skip|text-decoration-line|text-decoration-fill|text-decoration-color|text-decoration|text-combine-upright|text-anchor|text-align-last|text-align-all|text-align|text|target-position|target-new|target-name|target|table-layout|tab-size|system|symbols|suffix|style-type|style-position|style-image|style|stroke-width|stroke-opacity|stroke-miterlimit|stroke-linejoin|stroke-linecap|stroke-dashoffset|stroke-dasharray|stroke|string-set|stretch|stress|stop-opacity|stop-color|stacking-strategy|stacking-shift|stacking-ruby|stacking|src|speed|speech-rate|speech|speak-punctuation|speak-numeral|speak-header|speak-as|speak|span|spacing|space-collapse|space|solid-opacity|solid-color|sizing|size-adjust|size|shape-rendering|shape-padding|shape-outside|shape-margin|shape-inside|shape-image-threshold|shadow|scroll-snap-type|scroll-snap-points-y|scroll-snap-points-x|scroll-snap-destination|scroll-snap-coordinate|scroll-behavior|scale|ry|rx|respond-to|rule-width|rule-style|rule-color|rule|ruby-span|ruby-position|ruby-overhang|ruby-merge|ruby-align|ruby|rows|rotation-point|rotation|rotate|role|right-width|right-style|right-color|right|richness|rest-before|rest-after|rest|resource|resolution|resize|reset|replace|repeat|rendering-intent|region-fragment|rate|range|radius|r|quotes|punctuation-trim|punctuation|property|profile|presentation-level|presentation|prefix|position|pointer-events|point|play-state|play-during|play-count|pitch-range|pitch|phonemes|perspective-origin|perspective|pause-before|pause-after|pause|page-policy|page-break-inside|page-break-before|page-break-after|page|padding-top|padding-right|padding-left|padding-inline-start|padding-inline-end|padding-bottom|padding-block-start|padding-block-end|padding|pad|pack|overhang|overflow-y|overflow-x|overflow-wrap|overflow-style|overflow-inline|overflow-block|overflow|outline-width|outline-style|outline-offset|outline-color|outline|orphans|origin|orientation|orient|ordinal-group|order|opacity|offset-start|offset-inline-start|offset-inline-end|offset-end|offset-block-start|offset-block-end|offset-before|offset-after|offset|object-position|object-fit|numeral|new|negative|nav-up|nav-right|nav-left|nav-index|nav-down|nav|name|move-to|motion-rotation|motion-path|motion-offset|motion|model|mix-blend-mode|min-zoom|min-width|min-inline-size|min-height|min-block-size|min|max-zoom|max-width|max-lines|max-inline-size|max-height|max-block-size|max|mask-type|mask-size|mask-repeat|mask-position|mask-origin|mask-mode|mask-image|mask-composite|mask-clip|mask-border-width|mask-border-source|mask-border-slice|mask-border-repeat|mask-border-outset|mask-border-mode|mask-border|mask|marquee-style|marquee-speed|marquee-play-count|marquee-loop|marquee-direction|marquee|marks|marker-start|marker-side|marker-mid|marker-end|marker|margin-top|margin-right|margin-left|margin-inline-start|margin-inline-end|margin-bottom|margin-block-start|margin-block-end|margin|list-style-type|list-style-position|list-style-image|list-style|list|lines|line-stacking-strategy|line-stacking-shift|line-stacking-ruby|line-stacking|line-snap|line-height|line-grid|line-break|line|lighting-color|level|letter-spacing|length|left-width|left-style|left-color|left|label|kerning|justify-self|justify-items|justify-content|justify|iteration-count|isolation|inline-size|inline-box-align|initial-value|initial-size|initial-letter-wrap|initial-letter-align|initial-letter|initial-before-align|initial-before-adjust|initial-after-align|initial-after-adjust|index|indent|increment|image-rendering|image-resolution|image-orientation|image|icon|hyphens|hyphenate-limit-zone|hyphenate-limit-lines|hyphenate-limit-last|hyphenate-limit-chars|hyphenate-character|hyphenate|height|header|hanging-punctuation|grid-template-rows|grid-template-columns|grid-template-areas|grid-template|grid-row-start|grid-row-gap|grid-row-end|grid-row|grid-rows|grid-gap|grid-column-start|grid-column-gap|grid-column-end|grid-column|grid-columns|grid-auto-rows|grid-auto-flow|grid-auto-columns|grid-area|grid|glyph-orientation-vertical|glyph-orientation-horizontal|gap|font-weight|font-variant-position|font-variant-numeric|font-variant-ligatures|font-variant-east-asian|font-variant-caps|font-variant-alternates|font-variant|font-synthesis|font-style|font-stretch|font-size-adjust|font-size|font-language-override|font-kerning|font-feature-settings|font-family|font|flow-into|flow-from|flow|flood-opacity|flood-color|float-offset|float|flex-wrap|flex-shrink|flex-grow|flex-group|flex-flow|flex-direction|flex-basis|flex|fit-position|fit|filter|fill-rule|fill-opacity|fill|family|fallback|enable-background|empty-cells|emphasis|elevation|duration|drop-initial-value|drop-initial-size|drop-initial-before-align|drop-initial-before-adjust|drop-initial-after-align|drop-initial-after-adjust|drop|down|dominant-baseline|display-role|display-model|display|direction|delay|decoration-break|decoration|cy|cx|cursor|cue-before|cue-after|cue|crop|counter-set|counter-reset|counter-increment|counter|count|corner-shape|corners|continue|content|contain|columns|column-width|column-span|column-rule-width|column-rule-style|column-rule-color|column-rule|column-gap|column-fill|column-count|column-break-before|column-break-after|column|color-rendering|color-profile|color-interpolation-filters|color-interpolation|color-adjust|color|collapse|clip-rule|clip-path|clip|clear|character|caret-shape|caret-color|caret|caption-side|buffered-rendering|break-inside|break-before|break-after|break|box-suppress|box-snap|box-sizing|box-shadow|box-pack|box-orient|box-ordinal-group|box-lines|box-flex-group|box-flex|box-direction|box-decoration-break|box-align|box|bottom-width|bottom-style|bottom-right-radius|bottom-left-radius|bottom-color|bottom|border-width|border-top-width|border-top-style|border-top-right-radius|border-top-left-radius|border-top-color|border-top|border-style|border-spacing|border-right-width|border-right-style|border-right-color|border-right|border-radius|border-limit|border-length|border-left-width|border-left-style|border-left-color|border-left|border-inline-start-width|border-inline-start-style|border-inline-start-color|border-inline-start|border-inline-end-width|border-inline-end-style|border-inline-end-color|border-inline-end|border-image-width|border-image-transform|border-image-source|border-image-slice|border-image-repeat|border-image-outset|border-image|border-color|border-collapse|border-clip-top|border-clip-right|border-clip-left|border-clip-bottom|border-clip|border-bottom-width|border-bottom-style|border-bottom-right-radius|border-bottom-left-radius|border-bottom-color|border-bottom|border-block-start-width|border-block-start-style|border-block-start-color|border-block-start|border-block-end-width|border-block-end-style|border-block-end-color|border-block-end|border|bookmark-target|bookmark-level|bookmark-label|bookmark|block-size|binding|bidi|before|baseline-shift|baseline|balance|background-size|background-repeat|background-position-y|background-position-x|background-position-inline|background-position-block|background-position|background-origin|background-image|background-color|background-clip|background-blend-mode|background-attachment|background|backface-visibility|backdrop-filter|azimuth|attachment|appearance|animation-timing-function|animation-play-state|animation-name|animation-iteration-count|animation-fill-mode|animation-duration|animation-direction|animation-delay|animation|alt|all|alignment-baseline|alignment-adjust|alignment|align-last|align-self|align-items|align-content|align|after|adjust|additive-symbols)</string>
|
|
841
|
+
<key>name</key>
|
|
842
|
+
<string>support.type.property-name.css</string>
|
|
843
|
+
</dict>
|
|
844
|
+
</array>
|
|
845
|
+
</dict>
|
|
846
|
+
<dict>
|
|
847
|
+
<key>begin</key>
|
|
848
|
+
<string>(:)\s*</string>
|
|
849
|
+
<key>beginCaptures</key>
|
|
850
|
+
<dict>
|
|
851
|
+
<key>1</key>
|
|
852
|
+
<dict>
|
|
853
|
+
<key>name</key>
|
|
854
|
+
<string>punctuation.separator.key-value.css</string>
|
|
855
|
+
</dict>
|
|
856
|
+
</dict>
|
|
857
|
+
<key>end</key>
|
|
858
|
+
<string>\s*(;|(?=\}))</string>
|
|
859
|
+
<key>endCaptures</key>
|
|
860
|
+
<dict>
|
|
861
|
+
<key>1</key>
|
|
862
|
+
<dict>
|
|
863
|
+
<key>name</key>
|
|
864
|
+
<string>punctuation.terminator.rule.css</string>
|
|
865
|
+
</dict>
|
|
866
|
+
</dict>
|
|
867
|
+
<key>name</key>
|
|
868
|
+
<string>meta.property-value.css</string>
|
|
869
|
+
<key>patterns</key>
|
|
870
|
+
<array>
|
|
871
|
+
<dict>
|
|
872
|
+
<key>include</key>
|
|
873
|
+
<string>#property-values</string>
|
|
874
|
+
</dict>
|
|
875
|
+
</array>
|
|
876
|
+
</dict>
|
|
877
|
+
</array>
|
|
878
|
+
</dict>
|
|
879
|
+
<key>selector</key>
|
|
880
|
+
<dict>
|
|
881
|
+
<key>begin</key>
|
|
882
|
+
<string>\s*(?=[:.*#a-zA-Z])</string>
|
|
883
|
+
<key>end</key>
|
|
884
|
+
<string>(?=[/@{)])</string>
|
|
885
|
+
<key>name</key>
|
|
886
|
+
<string>meta.selector.css</string>
|
|
887
|
+
<key>patterns</key>
|
|
888
|
+
<array>
|
|
889
|
+
<dict>
|
|
890
|
+
<key>match</key>
|
|
891
|
+
<string>\b(a|abbr|address|area|article|aside|audio|b|base|bdi|bdo|blockquote|body|br|button|canvas|caption|cite|code|col|colgroup|data|datalist|dd|del|details|dfn|dialog|div|dl|dt|em|embed|fieldset|figcaption|figure|footer|form|(h[1-6])|head|header|hgroup|hr|html|i|iframe|img|input|ins|kbd|label|legend|li|link|main|map|mark|menu|menuitem|meta|meter|nav|noscript|object|ol|optgroup|option|output|p|param|picture|pre|progress|q|rb|rp|rt|rtc|ruby|s|samp|script|section|select|small|source|span|strong|style|sub|summary|sup|svg|table|tbody|td|template|textarea|tfoot|th|thead|time|title|tr|track|u|ul|var|video|wbr)\b</string>
|
|
892
|
+
<key>name</key>
|
|
893
|
+
<string>entity.name.tag.css</string>
|
|
894
|
+
</dict>
|
|
895
|
+
<dict>
|
|
896
|
+
<key>captures</key>
|
|
897
|
+
<dict>
|
|
898
|
+
<key>1</key>
|
|
899
|
+
<dict>
|
|
900
|
+
<key>name</key>
|
|
901
|
+
<string>punctuation.definition.entity.css</string>
|
|
902
|
+
</dict>
|
|
903
|
+
</dict>
|
|
904
|
+
<key>match</key>
|
|
905
|
+
<string>(\.)[a-zA-Z0-9_-]+</string>
|
|
906
|
+
<key>name</key>
|
|
907
|
+
<string>entity.other.attribute-name.class.css</string>
|
|
908
|
+
</dict>
|
|
909
|
+
<dict>
|
|
910
|
+
<key>captures</key>
|
|
911
|
+
<dict>
|
|
912
|
+
<key>1</key>
|
|
913
|
+
<dict>
|
|
914
|
+
<key>name</key>
|
|
915
|
+
<string>punctuation.definition.entity.css</string>
|
|
916
|
+
</dict>
|
|
917
|
+
</dict>
|
|
918
|
+
<key>match</key>
|
|
919
|
+
<string>(#)[a-zA-Z][a-zA-Z0-9_-]*</string>
|
|
920
|
+
<key>name</key>
|
|
921
|
+
<string>entity.other.attribute-name.id.css</string>
|
|
922
|
+
</dict>
|
|
923
|
+
<dict>
|
|
924
|
+
<key>match</key>
|
|
925
|
+
<string>\*</string>
|
|
926
|
+
<key>name</key>
|
|
927
|
+
<string>entity.name.tag.wildcard.css</string>
|
|
928
|
+
</dict>
|
|
929
|
+
<dict>
|
|
930
|
+
<key>captures</key>
|
|
931
|
+
<dict>
|
|
932
|
+
<key>1</key>
|
|
933
|
+
<dict>
|
|
934
|
+
<key>name</key>
|
|
935
|
+
<string>punctuation.definition.entity.css</string>
|
|
936
|
+
</dict>
|
|
937
|
+
</dict>
|
|
938
|
+
<key>match</key>
|
|
939
|
+
<string>(:+)(after|backdrop|before|first-letter|first-line|placeholder|selection)\b</string>
|
|
940
|
+
<key>name</key>
|
|
941
|
+
<string>entity.other.attribute-name.pseudo-element.css</string>
|
|
942
|
+
</dict>
|
|
943
|
+
<dict>
|
|
944
|
+
<key>captures</key>
|
|
945
|
+
<dict>
|
|
946
|
+
<key>1</key>
|
|
947
|
+
<dict>
|
|
948
|
+
<key>name</key>
|
|
949
|
+
<string>punctuation.definition.entity.css</string>
|
|
950
|
+
</dict>
|
|
951
|
+
</dict>
|
|
952
|
+
<key>match</key>
|
|
953
|
+
<string>(:)((first|last)-child|(first|last|only)-of-type|empty|root|target|fullscreen|first|left|right|scope)\b</string>
|
|
954
|
+
<key>name</key>
|
|
955
|
+
<string>entity.other.attribute-name.pseudo-class.css</string>
|
|
956
|
+
</dict>
|
|
957
|
+
<dict>
|
|
958
|
+
<key>captures</key>
|
|
959
|
+
<dict>
|
|
960
|
+
<key>1</key>
|
|
961
|
+
<dict>
|
|
962
|
+
<key>name</key>
|
|
963
|
+
<string>punctuation.definition.entity.css</string>
|
|
964
|
+
</dict>
|
|
965
|
+
</dict>
|
|
966
|
+
<key>match</key>
|
|
967
|
+
<string>(:)(checked|enabled|default|disabled|indeterminate|in-range|invalid|optional|out-of-range|read-only|read-write|required|valid)\b</string>
|
|
968
|
+
<key>name</key>
|
|
969
|
+
<string>entity.other.attribute-name.pseudo-class.ui-state.css</string>
|
|
970
|
+
</dict>
|
|
971
|
+
<dict>
|
|
972
|
+
<key>begin</key>
|
|
973
|
+
<string>((:)not)(\()</string>
|
|
974
|
+
<key>beginCaptures</key>
|
|
975
|
+
<dict>
|
|
976
|
+
<key>1</key>
|
|
977
|
+
<dict>
|
|
978
|
+
<key>name</key>
|
|
979
|
+
<string>entity.other.attribute-name.pseudo-class.css</string>
|
|
980
|
+
</dict>
|
|
981
|
+
<key>2</key>
|
|
982
|
+
<dict>
|
|
983
|
+
<key>name</key>
|
|
984
|
+
<string>punctuation.definition.entity.css</string>
|
|
985
|
+
</dict>
|
|
986
|
+
<key>3</key>
|
|
987
|
+
<dict>
|
|
988
|
+
<key>name</key>
|
|
989
|
+
<string>punctuation.section.function.css</string>
|
|
990
|
+
</dict>
|
|
991
|
+
</dict>
|
|
992
|
+
<key>end</key>
|
|
993
|
+
<string>\)</string>
|
|
994
|
+
<key>endCaptures</key>
|
|
995
|
+
<dict>
|
|
996
|
+
<key>0</key>
|
|
997
|
+
<dict>
|
|
998
|
+
<key>name</key>
|
|
999
|
+
<string>punctuation.section.function.css</string>
|
|
1000
|
+
</dict>
|
|
1001
|
+
</dict>
|
|
1002
|
+
<key>patterns</key>
|
|
1003
|
+
<array>
|
|
1004
|
+
<dict>
|
|
1005
|
+
<key>include</key>
|
|
1006
|
+
<string>#selector</string>
|
|
1007
|
+
</dict>
|
|
1008
|
+
</array>
|
|
1009
|
+
</dict>
|
|
1010
|
+
<dict>
|
|
1011
|
+
<key>captures</key>
|
|
1012
|
+
<dict>
|
|
1013
|
+
<key>1</key>
|
|
1014
|
+
<dict>
|
|
1015
|
+
<key>name</key>
|
|
1016
|
+
<string>entity.other.attribute-name.pseudo-class.css</string>
|
|
1017
|
+
</dict>
|
|
1018
|
+
<key>2</key>
|
|
1019
|
+
<dict>
|
|
1020
|
+
<key>name</key>
|
|
1021
|
+
<string>punctuation.definition.entity.css</string>
|
|
1022
|
+
</dict>
|
|
1023
|
+
<key>3</key>
|
|
1024
|
+
<dict>
|
|
1025
|
+
<key>name</key>
|
|
1026
|
+
<string>punctuation.section.function.css</string>
|
|
1027
|
+
</dict>
|
|
1028
|
+
<key>4</key>
|
|
1029
|
+
<dict>
|
|
1030
|
+
<key>name</key>
|
|
1031
|
+
<string>constant.numeric.css</string>
|
|
1032
|
+
</dict>
|
|
1033
|
+
<key>5</key>
|
|
1034
|
+
<dict>
|
|
1035
|
+
<key>name</key>
|
|
1036
|
+
<string>punctuation.section.function.css</string>
|
|
1037
|
+
</dict>
|
|
1038
|
+
</dict>
|
|
1039
|
+
<key>match</key>
|
|
1040
|
+
<string>((:)nth-(?:(?:last-)?child|(?:last-)?of-type))(\()(\-?(?:\d+n?|n)(?:\+\d+)?|even|odd)(\))</string>
|
|
1041
|
+
</dict>
|
|
1042
|
+
<dict>
|
|
1043
|
+
<key>captures</key>
|
|
1044
|
+
<dict>
|
|
1045
|
+
<key>1</key>
|
|
1046
|
+
<dict>
|
|
1047
|
+
<key>name</key>
|
|
1048
|
+
<string>punctuation.definition.entity.css</string>
|
|
1049
|
+
</dict>
|
|
1050
|
+
</dict>
|
|
1051
|
+
<key>match</key>
|
|
1052
|
+
<string>(:)(active|hover|(any-)?link|visited|focus)\b</string>
|
|
1053
|
+
<key>name</key>
|
|
1054
|
+
<string>entity.other.attribute-name.pseudo-class.css</string>
|
|
1055
|
+
</dict>
|
|
1056
|
+
<dict>
|
|
1057
|
+
<key>captures</key>
|
|
1058
|
+
<dict>
|
|
1059
|
+
<key>1</key>
|
|
1060
|
+
<dict>
|
|
1061
|
+
<key>name</key>
|
|
1062
|
+
<string>punctuation.definition.entity.css</string>
|
|
1063
|
+
</dict>
|
|
1064
|
+
<key>2</key>
|
|
1065
|
+
<dict>
|
|
1066
|
+
<key>name</key>
|
|
1067
|
+
<string>entity.other.attribute-name.attribute.css</string>
|
|
1068
|
+
</dict>
|
|
1069
|
+
<key>3</key>
|
|
1070
|
+
<dict>
|
|
1071
|
+
<key>name</key>
|
|
1072
|
+
<string>punctuation.separator.operator.css</string>
|
|
1073
|
+
</dict>
|
|
1074
|
+
<key>4</key>
|
|
1075
|
+
<dict>
|
|
1076
|
+
<key>name</key>
|
|
1077
|
+
<string>string.unquoted.attribute-value.css</string>
|
|
1078
|
+
</dict>
|
|
1079
|
+
<key>5</key>
|
|
1080
|
+
<dict>
|
|
1081
|
+
<key>name</key>
|
|
1082
|
+
<string>string.quoted.double.attribute-value.css</string>
|
|
1083
|
+
</dict>
|
|
1084
|
+
<key>6</key>
|
|
1085
|
+
<dict>
|
|
1086
|
+
<key>name</key>
|
|
1087
|
+
<string>punctuation.definition.string.begin.css</string>
|
|
1088
|
+
</dict>
|
|
1089
|
+
<key>7</key>
|
|
1090
|
+
<dict>
|
|
1091
|
+
<key>name</key>
|
|
1092
|
+
<string>punctuation.definition.string.end.css</string>
|
|
1093
|
+
</dict>
|
|
1094
|
+
</dict>
|
|
1095
|
+
<key>match</key>
|
|
1096
|
+
<string>(?i)(\[)\s*(-?[_a-z\\[[:^ascii:]]][_a-z0-9\-\\[[:^ascii:]]]*)(?:\s*([~|^$*]?=)\s*(?:(-?[_a-z\\[[:^ascii:]]][_a-z0-9\-\\[[:^ascii:]]]*)|((?>(['"])(?:[^\\]|\\.)*?(\6)))))?\s*(\])</string>
|
|
1097
|
+
<key>name</key>
|
|
1098
|
+
<string>meta.attribute-selector.css</string>
|
|
1099
|
+
</dict>
|
|
1100
|
+
</array>
|
|
1101
|
+
</dict>
|
|
1102
|
+
<key>string-double</key>
|
|
1103
|
+
<dict>
|
|
1104
|
+
<key>begin</key>
|
|
1105
|
+
<string>"</string>
|
|
1106
|
+
<key>beginCaptures</key>
|
|
1107
|
+
<dict>
|
|
1108
|
+
<key>0</key>
|
|
1109
|
+
<dict>
|
|
1110
|
+
<key>name</key>
|
|
1111
|
+
<string>punctuation.definition.string.begin.css</string>
|
|
1112
|
+
</dict>
|
|
1113
|
+
</dict>
|
|
1114
|
+
<key>end</key>
|
|
1115
|
+
<string>"</string>
|
|
1116
|
+
<key>endCaptures</key>
|
|
1117
|
+
<dict>
|
|
1118
|
+
<key>0</key>
|
|
1119
|
+
<dict>
|
|
1120
|
+
<key>name</key>
|
|
1121
|
+
<string>punctuation.definition.string.end.css</string>
|
|
1122
|
+
</dict>
|
|
1123
|
+
</dict>
|
|
1124
|
+
<key>name</key>
|
|
1125
|
+
<string>string.quoted.double.css</string>
|
|
1126
|
+
<key>patterns</key>
|
|
1127
|
+
<array>
|
|
1128
|
+
<dict>
|
|
1129
|
+
<key>match</key>
|
|
1130
|
+
<string>\\.</string>
|
|
1131
|
+
<key>name</key>
|
|
1132
|
+
<string>constant.character.escape.css</string>
|
|
1133
|
+
</dict>
|
|
1134
|
+
</array>
|
|
1135
|
+
</dict>
|
|
1136
|
+
<key>string-single</key>
|
|
1137
|
+
<dict>
|
|
1138
|
+
<key>begin</key>
|
|
1139
|
+
<string>'</string>
|
|
1140
|
+
<key>beginCaptures</key>
|
|
1141
|
+
<dict>
|
|
1142
|
+
<key>0</key>
|
|
1143
|
+
<dict>
|
|
1144
|
+
<key>name</key>
|
|
1145
|
+
<string>punctuation.definition.string.begin.css</string>
|
|
1146
|
+
</dict>
|
|
1147
|
+
</dict>
|
|
1148
|
+
<key>end</key>
|
|
1149
|
+
<string>'</string>
|
|
1150
|
+
<key>endCaptures</key>
|
|
1151
|
+
<dict>
|
|
1152
|
+
<key>0</key>
|
|
1153
|
+
<dict>
|
|
1154
|
+
<key>name</key>
|
|
1155
|
+
<string>punctuation.definition.string.end.css</string>
|
|
1156
|
+
</dict>
|
|
1157
|
+
</dict>
|
|
1158
|
+
<key>name</key>
|
|
1159
|
+
<string>string.quoted.single.css</string>
|
|
1160
|
+
<key>patterns</key>
|
|
1161
|
+
<array>
|
|
1162
|
+
<dict>
|
|
1163
|
+
<key>match</key>
|
|
1164
|
+
<string>\\.</string>
|
|
1165
|
+
<key>name</key>
|
|
1166
|
+
<string>constant.character.escape.css</string>
|
|
1167
|
+
</dict>
|
|
1168
|
+
</array>
|
|
1169
|
+
</dict>
|
|
1170
|
+
<key>variable-name</key>
|
|
1171
|
+
<dict>
|
|
1172
|
+
<key>match</key>
|
|
1173
|
+
<string>\-\-[^:\),]+</string>
|
|
1174
|
+
<key>name</key>
|
|
1175
|
+
<string>support.type.property-name.variable.css</string>
|
|
1176
|
+
</dict>
|
|
1177
|
+
</dict>
|
|
1178
|
+
<key>scopeName</key>
|
|
1179
|
+
<string>source.css</string>
|
|
1180
|
+
<key>uuid</key>
|
|
1181
|
+
<string>69AA0917-B7BB-11D9-A7E2-000D93C8BE28</string>
|
|
1182
|
+
</dict>
|
|
1183
|
+
</plist>
|