Skip to content

Commit 0785eec

Browse files
committed
Add 'include' to JSON schema
1 parent 8c84658 commit 0785eec

6 files changed

Lines changed: 610 additions & 42 deletions

File tree

extensions/theme-colorful-defaults/themes/dark_plus.json

Lines changed: 27 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,31 @@
11
{
22
"name": "Dark+",
3+
"include": "./dark_vs.json",
34
"settings": [
45
{
56
"name": "Types declaration and references",
6-
"scope": ["meta.type.name", "meta.return.type", "meta.return-type", "meta.cast", "meta.type.annotation",
7-
"support.type", "entity.name.class", "entity.name.type", "storage.type.cs", "storage.type.java"],
7+
"scope": [
8+
"meta.type.name",
9+
"meta.return.type",
10+
"meta.return-type",
11+
"meta.cast",
12+
"meta.type.annotation",
13+
"support.type",
14+
"entity.name.class",
15+
"entity.name.type",
16+
"storage.type.cs",
17+
"storage.type.java"
18+
],
819
"settings": {
920
"foreground": "#4EC9B0"
1021
}
1122
},
1223
{
1324
"name": "Function declarations",
14-
"scope": ["entity.name.function", "entity.method.name"],
25+
"scope": [
26+
"entity.name.function",
27+
"entity.method.name"
28+
],
1529
"settings": {
1630
"foreground": "#DCDCAA"
1731
}
@@ -25,7 +39,12 @@
2539
},
2640
{
2741
"name": "Variable and parameter name",
28-
"scope": ["meta.parameter.type.variable", "variable.parameter", "variable", "variable.name"],
42+
"scope": [
43+
"meta.parameter.type.variable",
44+
"variable.parameter",
45+
"variable",
46+
"variable.name"
47+
],
2948
"settings": {
3049
"foreground": "#9CDCFE"
3150
}
@@ -39,7 +58,10 @@
3958
},
4059
{
4160
"name": "CSS property value",
42-
"scope": ["css.support.property-value", "css.constant.rgb-value"],
61+
"scope": [
62+
"css.support.property-value",
63+
"css.constant.rgb-value"
64+
],
4365
"settings": {
4466
"foreground": "#CE9178"
4567
}
Lines changed: 253 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,253 @@
1+
{
2+
"name": "Dark Visual Studio",
3+
"settings": [
4+
{
5+
"scope": "string",
6+
"settings": {
7+
"foreground": "#ce9178"
8+
}
9+
},
10+
{
11+
"scope": "string.escape",
12+
"settings": {
13+
"foreground": "#ce9178"
14+
}
15+
},
16+
17+
{
18+
"scope": "emphasis",
19+
"settings": {
20+
"fontStyle": "italic"
21+
}
22+
},
23+
{
24+
"scope": "strong",
25+
"settings": {
26+
"fontStyle": "bold"
27+
}
28+
},
29+
{
30+
"scope": "header",
31+
"settings": {
32+
"foreground": "#000080"
33+
}
34+
},
35+
36+
{
37+
"scope": "comment",
38+
"settings": {
39+
"foreground": "#608b4e"
40+
}
41+
},
42+
{
43+
"scope": "constant.language",
44+
"settings": {
45+
"foreground": "#569cd6"
46+
}
47+
},
48+
{
49+
"scope": "constant.numeric",
50+
"settings": {
51+
"foreground": "#b5cea8"
52+
}
53+
},
54+
{
55+
"scope": "constant.regexp",
56+
"settings": {
57+
"foreground": "#646695"
58+
}
59+
},
60+
{
61+
"scope": "constant.rgb-value",
62+
"settings": {
63+
"foreground": "#d4d4d4"
64+
}
65+
},
66+
{
67+
"scope": "entity.name.tag",
68+
"settings": {
69+
"foreground": "#569cd6"
70+
}
71+
},
72+
{
73+
"scope": "entity.name.function",
74+
"settings": {
75+
"foreground": "#d4d4d4"
76+
}
77+
},
78+
{
79+
"scope": "entity.name.class",
80+
"settings": {
81+
"foreground": "#d4d4d4"
82+
}
83+
},
84+
{
85+
"scope": "entity.name.selector",
86+
"settings": {
87+
"foreground": "#d7ba7d"
88+
}
89+
},
90+
{
91+
"scope": "entity.other.attribute-name",
92+
"settings": {
93+
"foreground": "#9cdcfe"
94+
}
95+
},
96+
{
97+
"scope": "entity.other.attribute-name.css",
98+
"settings": {
99+
"foreground": "#d7ba7d"
100+
}
101+
},
102+
{
103+
"scope": "invalid",
104+
"settings": {
105+
"foreground": "#f44747"
106+
}
107+
},
108+
{
109+
"scope": "markup.underline",
110+
"settings": {
111+
"fontStyle": "underline"
112+
}
113+
},
114+
{
115+
"scope": "markup.bold",
116+
"settings": {
117+
"fontStyle": "bold"
118+
}
119+
},
120+
{
121+
"scope": "markup.heading",
122+
"settings": {
123+
"foreground": "#6796e6"
124+
}
125+
},
126+
{
127+
"scope": "markup.italic",
128+
"settings": {
129+
"fontStyle": "italic"
130+
}
131+
},
132+
{
133+
"scope": "meta.selector",
134+
"settings": {
135+
"foreground": "#d7ba7d"
136+
}
137+
},
138+
{
139+
"scope": "meta.tag",
140+
"settings": {
141+
"foreground": "#808080"
142+
}
143+
},
144+
{
145+
"scope": "meta.preprocessor",
146+
"settings": {
147+
"foreground": "#569cd6"
148+
}
149+
},
150+
{
151+
"scope": "meta.preprocessor.string",
152+
"settings": {
153+
"foreground": "#ce9178"
154+
}
155+
},
156+
{
157+
"scope": "meta.preprocessor.numeric",
158+
"settings": {
159+
"foreground": "#b5cea8"
160+
}
161+
},
162+
{
163+
"scope": "meta.structure.dictionary.key.python",
164+
"settings": {
165+
"foreground": "#9cdcfe"
166+
}
167+
},
168+
{
169+
"scope": "storage",
170+
"settings": {
171+
"foreground": "#569cd6"
172+
}
173+
},
174+
{
175+
"scope": "storage.type",
176+
"settings": {
177+
"foreground": "#569cd6"
178+
}
179+
},
180+
{
181+
"scope": "storage.modifier",
182+
"settings": {
183+
"foreground": "#569cd6"
184+
}
185+
},
186+
{
187+
"scope": "string",
188+
"settings": {
189+
"foreground": "#ce9178"
190+
}
191+
},
192+
{
193+
"scope": "string.tag",
194+
"settings": {
195+
"foreground": "#ce9178"
196+
}
197+
},
198+
{
199+
"scope": "string.value",
200+
"settings": {
201+
"foreground": "#ce9178"
202+
}
203+
},
204+
{
205+
"scope": "string.regexp",
206+
"settings": {
207+
"foreground": "#d16969"
208+
}
209+
},
210+
{
211+
"scope": "support.type.property-name",
212+
"settings": {
213+
"foreground": "#9cdcfe"
214+
}
215+
},
216+
{
217+
"scope": "keyword",
218+
"settings": {
219+
"foreground": "#569cd6"
220+
}
221+
},
222+
{
223+
"scope": "keyword.control",
224+
"settings": {
225+
"foreground": "#569cd6"
226+
}
227+
},
228+
{
229+
"scope": "keyword.control.less",
230+
"settings": {
231+
"foreground": "#d7ba7d"
232+
}
233+
},
234+
{
235+
"scope": "keyword.operator",
236+
"settings": {
237+
"foreground": "#d4d4d4"
238+
}
239+
},
240+
{
241+
"scope": "keyword.operator.new",
242+
"settings": {
243+
"foreground": "#569cd6"
244+
}
245+
},
246+
{
247+
"scope": "keyword.other.unit",
248+
"settings": {
249+
"foreground": "#b5cea8"
250+
}
251+
}
252+
]
253+
}

extensions/theme-colorful-defaults/themes/light_plus.json

Lines changed: 28 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,31 @@
11
{
22
"name": "Light+",
3+
"include": "./light_vs.json",
34
"settings": [
45
{
56
"name": "Types declaration and references",
6-
"scope": ["meta.type.name", "meta.return.type", "meta.return-type", "meta.cast", "meta.type.annotation",
7-
"support.type", "entity.name.class", "entity.name.type", "storage.type.cs", "storage.type.java"],
7+
"scope": [
8+
"meta.type.name",
9+
"meta.return.type",
10+
"meta.return-type",
11+
"meta.cast",
12+
"meta.type.annotation",
13+
"support.type",
14+
"entity.name.class",
15+
"entity.name.type",
16+
"storage.type.cs",
17+
"storage.type.java"
18+
],
819
"settings": {
920
"foreground": "#267f99"
1021
}
1122
},
1223
{
1324
"name": "Function declarations",
14-
"scope": ["entity.name.function", "entity.method.name"],
25+
"scope": [
26+
"entity.name.function",
27+
"entity.method.name"
28+
],
1529
"settings": {
1630
"foreground": "#795E26"
1731
}
@@ -25,7 +39,12 @@
2539
},
2640
{
2741
"name": "Parameter name",
28-
"scope": ["meta.parameter.type.variable", "variable.parameter", "variable", "variable.name"],
42+
"scope": [
43+
"meta.parameter.type.variable",
44+
"variable.parameter",
45+
"variable",
46+
"variable.name"
47+
],
2948
"settings": {
3049
"foreground": "#001080"
3150
}
@@ -39,7 +58,11 @@
3958
},
4059
{
4160
"name": "CSS keys",
42-
"scope": ["support.type.property-name.css", "support.type.property-name.less", "support.type.property-name.sass"],
61+
"scope": [
62+
"support.type.property-name.css",
63+
"support.type.property-name.less",
64+
"support.type.property-name.sass"
65+
],
4366
"settings": {
4467
"foreground": "#FF0000"
4568
}

0 commit comments

Comments
 (0)