Skip to content

Commit 3952d4e

Browse files
committed
Convert Red theme to json
1 parent cd7181d commit 3952d4e

2 files changed

Lines changed: 332 additions & 516 deletions

File tree

extensions/theme-red/themes/Red-color-theme.json

Lines changed: 332 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"tokenColors": "./red.tmTheme",
2+
"name": "Red",
33
"colors": {
44
// window
55
"activityBar.background": "#580000",
@@ -57,5 +57,335 @@
5757
"extensionButton.prominentBackground": "#cc3333",
5858
"extensionButton.prominentHoverBackground": "#cc333388"
5959
},
60-
"name": "Red"
60+
"tokenColors": [
61+
{
62+
"settings": {
63+
"background": "#390000",
64+
"caret": "#970000",
65+
"foreground": "#F8F8F8",
66+
"invisibles": "#c10000",
67+
"lineHighlight": "#0000004A",
68+
"selection": "#750000"
69+
}
70+
},
71+
{
72+
"name": "Comment",
73+
"scope": "comment",
74+
"settings": {
75+
"fontStyle": "italic",
76+
"foreground": "#e7c0c0ff"
77+
}
78+
},
79+
{
80+
"name": "Constant",
81+
"scope": "constant",
82+
"settings": {
83+
"fontStyle": "",
84+
"foreground": "#994646ff"
85+
}
86+
},
87+
{
88+
"name": "Keyword",
89+
"scope": "keyword",
90+
"settings": {
91+
"fontStyle": "",
92+
"foreground": "#f12727ff"
93+
}
94+
},
95+
{
96+
"name": "Entity",
97+
"scope": "entity",
98+
"settings": {
99+
"fontStyle": "",
100+
"foreground": "#fec758ff"
101+
}
102+
},
103+
{
104+
"name": "Storage",
105+
"scope": "storage",
106+
"settings": {
107+
"fontStyle": "bold",
108+
"foreground": "#ff6262ff"
109+
}
110+
},
111+
{
112+
"name": "String",
113+
"scope": "string",
114+
"settings": {
115+
"fontStyle": "",
116+
"foreground": "#cd8d8dff"
117+
}
118+
},
119+
{
120+
"name": "Support",
121+
"scope": "support",
122+
"settings": {
123+
"fontStyle": "",
124+
"foreground": "#9df39fff"
125+
}
126+
},
127+
{
128+
"name": "Variable",
129+
"scope": "variable",
130+
"settings": {
131+
"fontStyle": "italic",
132+
"foreground": "#fb9a4bff"
133+
}
134+
},
135+
{
136+
"name": "Invalid",
137+
"scope": "invalid",
138+
"settings": {
139+
"background": "#fd6209ff",
140+
"foreground": "#ffffffff"
141+
}
142+
},
143+
{
144+
"name": "Embedded Source",
145+
"scope": "text source",
146+
"settings": {
147+
"background": "#b0b3ba14"
148+
}
149+
},
150+
{
151+
"name": "Embedded Source (Bright)",
152+
"scope": "text.html.ruby source",
153+
"settings": {
154+
"background": "#b1b3ba21"
155+
}
156+
},
157+
{
158+
"name": "Entity inherited-class",
159+
"scope": "entity.other.inherited-class",
160+
"settings": {
161+
"fontStyle": "underline",
162+
"foreground": "#aa5507ff"
163+
}
164+
},
165+
{
166+
"name": "String embedded-source",
167+
"scope": "string.quoted source",
168+
"settings": {
169+
"fontStyle": "",
170+
"foreground": "#9df39fff"
171+
}
172+
},
173+
{
174+
"name": "String constant",
175+
"scope": "string constant",
176+
"settings": {
177+
"fontStyle": "",
178+
"foreground": "#ffe862ff"
179+
}
180+
},
181+
{
182+
"name": "String.regexp",
183+
"scope": "string.regexp",
184+
"settings": {
185+
"foreground": "#ffb454ff"
186+
}
187+
},
188+
{
189+
"name": "String variable",
190+
"scope": "string variable",
191+
"settings": {
192+
"foreground": "#edef7dff"
193+
}
194+
},
195+
{
196+
"name": "Support.function",
197+
"scope": "support.function",
198+
"settings": {
199+
"fontStyle": "",
200+
"foreground": "#ffb454ff"
201+
}
202+
},
203+
{
204+
"name": "Support.constant",
205+
"scope": "support.constant",
206+
"settings": {
207+
"fontStyle": "",
208+
"foreground": "#eb939aff"
209+
}
210+
},
211+
{
212+
"name": "Doctype/XML Processing",
213+
"scope": [
214+
"declaration.sgml.html declaration.doctype",
215+
"declaration.sgml.html declaration.doctype entity",
216+
"declaration.sgml.html declaration.doctype string",
217+
"declaration.xml-processing",
218+
"declaration.xml-processing entity",
219+
"declaration.xml-processing string"
220+
],
221+
"settings": {
222+
"fontStyle": "",
223+
"foreground": "#73817dff"
224+
}
225+
},
226+
{
227+
"name": "Meta.tag.A",
228+
"scope": [
229+
"declaration.tag",
230+
"declaration.tag entity",
231+
"meta.tag",
232+
"meta.tag entity"
233+
],
234+
"settings": {
235+
"fontStyle": "",
236+
"foreground": "#ec0d1eff"
237+
}
238+
},
239+
{
240+
"name": "css tag-name",
241+
"scope": "meta.selector.css entity.name.tag",
242+
"settings": {
243+
"fontStyle": "",
244+
"foreground": "#aa5507ff"
245+
}
246+
},
247+
{
248+
"name": "css#id",
249+
"scope": "meta.selector.css entity.other.attribute-name.id",
250+
"settings": {
251+
"foreground": "#fec758ff"
252+
}
253+
},
254+
{
255+
"name": "css.class",
256+
"scope": "meta.selector.css entity.other.attribute-name.class",
257+
"settings": {
258+
"fontStyle": "",
259+
"foreground": "#41a83eff"
260+
}
261+
},
262+
{
263+
"name": "css property-name:",
264+
"scope": "support.type.property-name.css",
265+
"settings": {
266+
"fontStyle": "",
267+
"foreground": "#96dd3bff"
268+
}
269+
},
270+
{
271+
"name": "css property-value;",
272+
"scope": [
273+
"meta.property-group support.constant.property-value.css",
274+
"meta.property-value support.constant.property-value.css"
275+
],
276+
"settings": {
277+
"fontStyle": "italic",
278+
"foreground": "#ffe862ff"
279+
}
280+
},
281+
{
282+
"name": "css additional-constants",
283+
"scope": [
284+
"meta.property-value support.constant.named-color.css",
285+
"meta.property-value constant"
286+
],
287+
"settings": {
288+
"fontStyle": "",
289+
"foreground": "#ffe862ff"
290+
}
291+
},
292+
{
293+
"name": "css @at-rule",
294+
"scope": "meta.preprocessor.at-rule keyword.control.at-rule",
295+
"settings": {
296+
"foreground": "#fd6209ff"
297+
}
298+
},
299+
{
300+
"name": "css constructor.argument",
301+
"scope": "meta.constructor.argument.css",
302+
"settings": {
303+
"fontStyle": "",
304+
"foreground": "#ec9799ff"
305+
}
306+
},
307+
{
308+
"name": "diff.header",
309+
"scope": [
310+
"meta.diff",
311+
"meta.diff.header"
312+
],
313+
"settings": {
314+
"background": "#0b2f20ff",
315+
"fontStyle": "italic",
316+
"foreground": "#f8f8f8ff"
317+
}
318+
},
319+
{
320+
"name": "diff.deleted",
321+
"scope": "markup.deleted",
322+
"settings": {
323+
"background": "#fedcddff",
324+
"foreground": "#ec9799ff"
325+
}
326+
},
327+
{
328+
"name": "diff.changed",
329+
"scope": "markup.changed",
330+
"settings": {
331+
"background": "#c4b14aff",
332+
"foreground": "#f8f8f8ff"
333+
}
334+
},
335+
{
336+
"name": "diff.inserted",
337+
"scope": "markup.inserted",
338+
"settings": {
339+
"background": "#9bf199ff",
340+
"foreground": "#41a83eff"
341+
}
342+
},
343+
{
344+
"name": "Markup Quote",
345+
"scope": "markup.quote",
346+
"settings": {
347+
"foreground": "#f12727ff"
348+
}
349+
},
350+
{
351+
"name": "Markup Lists",
352+
"scope": "markup.list",
353+
"settings": {
354+
"foreground": "#ff6262ff"
355+
}
356+
},
357+
{
358+
"name": "Markup Styling",
359+
"scope": [
360+
"markup.bold",
361+
"markup.italic"
362+
],
363+
"settings": {
364+
"foreground": "#fb9a4bff"
365+
}
366+
},
367+
{
368+
"name": "Markup Inline",
369+
"scope": "markup.inline.raw",
370+
"settings": {
371+
"fontStyle": "",
372+
"foreground": "#cd8d8dff"
373+
}
374+
},
375+
{
376+
"name": "Markup Headings",
377+
"scope": "markup.heading",
378+
"settings": {
379+
"foreground": "#fec758ff"
380+
}
381+
},
382+
{
383+
"name": "Markup Setext Header",
384+
"scope": "markup.heading.setext",
385+
"settings": {
386+
"fontStyle": "",
387+
"foreground": "#fec758ff"
388+
}
389+
}
390+
]
61391
}

0 commit comments

Comments
 (0)