Skip to content

Commit 8a1fab9

Browse files
committed
hc black: use more token colors (same as dark+)
fixes microsoft#17178
1 parent aae591b commit 8a1fab9

2 files changed

Lines changed: 368 additions & 267 deletions

File tree

extensions/theme-defaults/themes/hc_black.json

Lines changed: 60 additions & 266 deletions
Original file line numberDiff line numberDiff line change
@@ -2,310 +2,104 @@
22
"$schema": "vscode://schemas/color-theme",
33
"name": "Dark High Contrast",
44
"include": "./hc_black_defaults.json",
5-
"settings": [
6-
{
7-
"settings": {
8-
"foreground": "#FFFFFF",
9-
"background": "#000000"
10-
}
11-
},
12-
{
13-
"scope": "emphasis",
14-
"settings": {
15-
"fontStyle": "italic"
16-
}
17-
},
18-
{
19-
"scope": "strong",
20-
"settings": {
21-
"fontStyle": "bold"
22-
}
23-
},
24-
{
25-
"scope": "meta.diff.header",
26-
"settings": {
27-
"foreground": "#000080"
28-
}
29-
},
30-
31-
{
32-
"scope": "comment",
33-
"settings": {
34-
"foreground": "#7ca668"
35-
}
36-
},
37-
{
38-
"scope": "constant.language",
39-
"settings": {
40-
"foreground": "#569cd6"
41-
}
42-
},
5+
"tokenColors": [
436
{
7+
"name": "Function declarations",
448
"scope": [
45-
"constant.numeric",
46-
"constant.other.color.rgb-value",
47-
"constant.other.rgb-value",
48-
"support.constant.color"
9+
"entity.name.function",
10+
"support.function",
11+
"support.constant.handlebars"
4912
],
5013
"settings": {
51-
"foreground": "#b5cea8"
52-
}
53-
},
54-
{
55-
"scope": "constant.regexp",
56-
"settings": {
57-
"foreground": "#b46695"
58-
}
59-
},
60-
{
61-
"scope": "entity.name.tag",
62-
"settings": {
63-
"foreground": "#569cd6"
64-
}
65-
},
66-
{
67-
"scope": "entity.name.tag.css",
68-
"settings": {
69-
"foreground": "#d7ba7d"
70-
}
71-
},
72-
{
73-
"scope": "entity.other.attribute-name",
74-
"settings": {
75-
"foreground": "#9cdcfe"
14+
"foreground": "#DCDCAA"
7615
}
7716
},
7817
{
18+
"name": "Types declaration and references",
7919
"scope": [
80-
"entity.other.attribute-name.class.css",
81-
"entity.other.attribute-name.class.mixin.css",
82-
"entity.other.attribute-name.id.css",
83-
"entity.other.attribute-name.parent-selector.css",
84-
"entity.other.attribute-name.pseudo-class.css",
85-
"entity.other.attribute-name.pseudo-element.css",
86-
87-
"source.css.less entity.other.attribute-name.id",
88-
89-
"entity.other.attribute-name.attribute.scss",
90-
"entity.other.attribute-name.scss"
20+
"meta.return-type",
21+
"support.class",
22+
"support.type",
23+
"entity.name.type",
24+
"entity.name.class",
25+
"storage.type.cs",
26+
"storage.type.generic.cs",
27+
"storage.type.modifier.cs",
28+
"storage.type.variable.cs",
29+
"storage.type.annotation.java",
30+
"storage.type.generic.java",
31+
"storage.type.java",
32+
"storage.type.object.array.java",
33+
"storage.type.primitive.array.java",
34+
"storage.type.primitive.java",
35+
"storage.type.token.java",
36+
"storage.type.groovy",
37+
"storage.type.annotation.groovy",
38+
"storage.type.parameters.groovy",
39+
"storage.type.generic.groovy",
40+
"storage.type.object.array.groovy",
41+
"storage.type.primitive.array.groovy",
42+
"storage.type.primitive.groovy"
9143
],
9244
"settings": {
93-
"foreground": "#d7ba7d"
94-
}
95-
},
96-
{
97-
"scope": "invalid",
98-
"settings": {
99-
"foreground": "#f44747"
100-
}
101-
},
102-
{
103-
"scope": "markup.underline",
104-
"settings": {
105-
"fontStyle": "underline"
106-
}
107-
},
108-
{
109-
"scope": "markup.bold",
110-
"settings": {
111-
"fontStyle": "bold"
112-
}
113-
},
114-
{
115-
"scope": "markup.heading",
116-
"settings": {
117-
"foreground": "#6796e6"
118-
}
119-
},
120-
{
121-
"scope": "markup.italic",
122-
"settings": {
123-
"fontStyle": "italic"
124-
}
125-
},
126-
{
127-
"scope": "markup.inserted",
128-
"settings": {
129-
"foreground": "#b5cea8"
130-
}
131-
},
132-
{
133-
"scope": "markup.deleted",
134-
"settings": {
135-
"foreground": "#ce9178"
136-
}
137-
},
138-
{
139-
"scope": "markup.changed",
140-
"settings": {
141-
"foreground": "#569cd6"
142-
}
143-
},
144-
{
145-
"scope": "meta.selector",
146-
"settings": {
147-
"foreground": "#d7ba7d"
45+
"foreground": "#4EC9B0"
14846
}
14947
},
15048
{
151-
"name": "brackets of XML/HTML tags",
49+
"name": "Types declaration and references, TS grammar specific",
15250
"scope": [
153-
"punctuation.definition.tag"
51+
"meta.type.cast.expr",
52+
"meta.type.new.expr",
53+
"support.constant.math",
54+
"support.constant.dom",
55+
"support.constant.json",
56+
"entity.other.inherited-class"
15457
],
15558
"settings": {
156-
"foreground": "#808080"
157-
}
158-
},
159-
{
160-
"scope": "meta.preprocessor",
161-
"settings": {
162-
"foreground": "#569cd6"
163-
}
164-
},
165-
{
166-
"scope": "meta.preprocessor.string",
167-
"settings": {
168-
"foreground": "#ce9178"
169-
}
170-
},
171-
{
172-
"scope": "meta.preprocessor.numeric",
173-
"settings": {
174-
"foreground": "#b5cea8"
175-
}
176-
},
177-
{
178-
"scope": "meta.structure.dictionary.key.python",
179-
"settings": {
180-
"foreground": "#9cdcfe"
181-
}
182-
},
183-
{
184-
"scope": "storage",
185-
"settings": {
186-
"foreground": "#569cd6"
187-
}
188-
},
189-
{
190-
"scope": "storage.type",
191-
"settings": {
192-
"foreground": "#569cd6"
193-
}
194-
},
195-
{
196-
"scope": "storage.modifier",
197-
"settings": {
198-
"foreground": "#569cd6"
199-
}
200-
},
201-
{
202-
"scope": "string",
203-
"settings": {
204-
"foreground": "#ce9178"
205-
}
206-
},
207-
{
208-
"scope": "string.tag",
209-
"settings": {
210-
"foreground": "#ce9178"
211-
}
212-
},
213-
{
214-
"scope": "string.value",
215-
"settings": {
216-
"foreground": "#ce9178"
59+
"foreground": "#4EC9B0"
21760
}
21861
},
21962
{
220-
"scope": "string.regexp",
63+
"name": "Control flow keywords",
64+
"scope": "keyword.control",
22165
"settings": {
222-
"foreground": "#d16969"
66+
"foreground": "#C586C0"
22367
}
22468
},
22569
{
226-
"name": "JavaScript string interpolation ${}",
70+
"name": "Variable and parameter name",
22771
"scope": [
228-
"punctuation.definition.template-expression.begin.js",
229-
"punctuation.definition.template-expression.begin.ts",
230-
"punctuation.definition.template-expression.end.ts",
231-
"punctuation.definition.template-expression.end.js"
72+
"variable",
73+
"meta.definition.variable.name",
74+
"support.variable"
23275
],
23376
"settings": {
234-
"foreground": "#569cd6"
77+
"foreground": "#9CDCFE"
23578
}
23679
},
23780
{
81+
"name": "Object keys, TS grammar specific",
23882
"scope": [
239-
"support.type.vendored.property-name",
240-
"support.type.property-name",
241-
"variable.css",
242-
"variable.scss",
243-
"variable.other.less"
83+
"meta.object-literal.key",
84+
"meta.object-literal.key entity.name.function"
24485
],
24586
"settings": {
246-
"foreground": "#d4d4d4"
247-
}
248-
},
249-
{
250-
"scope": "keyword",
251-
"settings": {
252-
"foreground": "#569cd6"
253-
}
254-
},
255-
{
256-
"scope": "keyword.control",
257-
"settings": {
258-
"foreground": "#569cd6"
259-
}
260-
},
261-
{
262-
"scope": "keyword.operator",
263-
"settings": {
264-
"foreground": "#d4d4d4"
87+
"foreground": "#9CDCFE"
26588
}
26689
},
26790
{
91+
"name": "CSS property value",
26892
"scope": [
269-
"keyword.operator.new",
270-
"keyword.operator.expression",
271-
"keyword.operator.cast",
272-
"keyword.operator.sizeof",
273-
"keyword.operator.logical.python"
93+
"support.constant.property-value",
94+
"support.constant.font-name",
95+
"support.constant.media-type",
96+
"support.constant.media",
97+
"constant.other.color.rgb-value",
98+
"constant.other.rgb-value",
99+
"support.constant.color"
274100
],
275101
"settings": {
276-
"foreground": "#569cd6"
277-
}
278-
},
279-
{
280-
"scope": "keyword.other.unit",
281-
"settings": {
282-
"foreground": "#b5cea8"
283-
}
284-
},
285-
{
286-
"scope": "support.function.git-rebase",
287-
"settings": {
288-
"foreground": "#d4d4d4"
289-
}
290-
},
291-
{
292-
"scope": "constant.sha.git-rebase",
293-
"settings": {
294-
"foreground": "#b5cea8"
295-
}
296-
},
297-
{
298-
"name": "coloring of the Java import and package identifiers",
299-
"scope": ["storage.modifier.import.java", "storage.modifier.package.java"],
300-
"settings": {
301-
"foreground": "#d4d4d4"
302-
}
303-
},
304-
{
305-
"name": "coloring of the TS this",
306-
"scope": "variable.language.this",
307-
"settings": {
308-
"foreground": "#569cd6"
102+
"foreground": "#CE9178"
309103
}
310104
}
311105
]

0 commit comments

Comments
 (0)