Skip to content

Commit 0f1c7b2

Browse files
author
Erik Lieben
committed
feat(themes): add solarized dark & light themes with Aurelia syntax, resolves #33
1 parent a10ac53 commit 0f1c7b2

File tree

3 files changed

+545
-1
lines changed

3 files changed

+545
-1
lines changed

package.json

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,17 @@
9696
"label": "Aurelia Light",
9797
"uiTheme": "vs",
9898
"path": "./themes/light_vs.json"
99-
}
99+
},
100+
{
101+
"label": "Aurelia Solarized (dark)",
102+
"uiTheme": "vs-dark",
103+
"path": "./themes/solarized_dark.json"
104+
},
105+
{
106+
"label": "Aurelia Solarized (light)",
107+
"uiTheme": "vs",
108+
"path": "./themes/solarized_light.json"
109+
}
100110
],
101111
"configuration": {
102112
"id": "aurelia",

themes/solarized_dark.json

Lines changed: 272 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,272 @@
1+
{
2+
"name": "Aurelia Solarized Dark",
3+
"settings": [
4+
{
5+
"settings": {
6+
"background": "#002B36",
7+
"caret": "#D30102",
8+
"foreground": "#93A1A1",
9+
"invisibles": "#93A1A180",
10+
"lineHighlight": "#073642",
11+
"selection": "#073642"
12+
}
13+
},
14+
{
15+
"name": "Comment",
16+
"scope": "comment",
17+
"settings": {
18+
"fontStyle": "italic",
19+
"foreground": "#657B83"
20+
}
21+
},
22+
{
23+
"name": "String",
24+
"scope": "string",
25+
"settings": {
26+
"foreground": "#2AA198"
27+
}
28+
},
29+
{
30+
"name": "Regexp",
31+
"scope": "string.regexp",
32+
"settings": {
33+
"foreground": "#D30102"
34+
}
35+
},
36+
{
37+
"name": "Number",
38+
"scope": "constant.numeric",
39+
"settings": {
40+
"foreground": "#D33682"
41+
}
42+
},
43+
{
44+
"name": "Variable",
45+
"scope": "variable.language, variable.other",
46+
"settings": {
47+
"foreground": "#268BD2"
48+
}
49+
},
50+
{
51+
"name": "Keyword",
52+
"scope": "keyword",
53+
"settings": {
54+
"foreground": "#859900"
55+
}
56+
},
57+
{
58+
"name": "Storage",
59+
"scope": "storage",
60+
"settings": {
61+
"fontStyle": "bold",
62+
"foreground": "#93A1A1"
63+
}
64+
},
65+
{
66+
"name": "Class name",
67+
"scope": "entity.name.class, entity.name.type",
68+
"settings": {
69+
"fontStyle": "",
70+
"foreground": "#CB4B16"
71+
}
72+
},
73+
{
74+
"name": "Function name",
75+
"scope": "entity.name.function",
76+
"settings": {
77+
"foreground": "#268BD2"
78+
}
79+
},
80+
{
81+
"name": "Variable start",
82+
"scope": "punctuation.definition.variable",
83+
"settings": {
84+
"foreground": "#859900"
85+
}
86+
},
87+
{
88+
"name": "Embedded code markers",
89+
"scope": "punctuation.section.embedded.begin, punctuation.section.embedded.end",
90+
"settings": {
91+
"foreground": "#D30102"
92+
}
93+
},
94+
{
95+
"name": "Built-in constant",
96+
"scope": "constant.language, meta.preprocessor",
97+
"settings": {
98+
"foreground": "#B58900"
99+
}
100+
},
101+
{
102+
"name": "Support.construct",
103+
"scope": "support.function.construct, keyword.other.new",
104+
"settings": {
105+
"foreground": "#CB4B16"
106+
}
107+
},
108+
{
109+
"name": "User-defined constant",
110+
"scope": "constant.character, constant.other",
111+
"settings": {
112+
"foreground": "#CB4B16"
113+
}
114+
},
115+
{
116+
"name": "Inherited class",
117+
"scope": "entity.other.inherited-class",
118+
"settings": {
119+
"foreground": "#6C71C4"
120+
}
121+
},
122+
{
123+
"name": "Function argument",
124+
"scope": "variable.parameter",
125+
"settings": {}
126+
},
127+
{
128+
"name": "Tag name",
129+
"scope": "entity.name.tag",
130+
"settings": {
131+
"foreground": "#268BD2"
132+
}
133+
},
134+
{
135+
"name": "Tag start/end",
136+
"scope": "punctuation.definition.tag",
137+
"settings": {
138+
"foreground": "#657B83"
139+
}
140+
},
141+
{
142+
"name": "Tag attribute",
143+
"scope": "entity.other.attribute-name",
144+
"settings": {
145+
"foreground": "#93A1A1"
146+
}
147+
},
148+
{
149+
"name": "Library function",
150+
"scope": "support.function",
151+
"settings": {
152+
"foreground": "#268BD2"
153+
}
154+
},
155+
{
156+
"name": "Continuation",
157+
"scope": "punctuation.separator.continuation",
158+
"settings": {
159+
"foreground": "#D30102"
160+
}
161+
},
162+
{
163+
"name": "Library constant",
164+
"scope": "support.constant",
165+
"settings": {}
166+
},
167+
{
168+
"name": "Library class/type",
169+
"scope": "support.type, support.class",
170+
"settings": {
171+
"foreground": "#859900"
172+
}
173+
},
174+
{
175+
"name": "Library Exception",
176+
"scope": "support.type.exception",
177+
"settings": {
178+
"foreground": "#CB4B16"
179+
}
180+
},
181+
{
182+
"name": "Library variable",
183+
"scope": "support.other.variable",
184+
"settings": {}
185+
},
186+
{
187+
"name": "Invalid",
188+
"scope": "invalid",
189+
"settings": {}
190+
},
191+
{
192+
"name": "Markup Quote",
193+
"scope": "markup.quote",
194+
"settings": {
195+
"foreground": "#859900"
196+
}
197+
},
198+
{
199+
"name": "Markup Lists",
200+
"scope": "markup.list",
201+
"settings": {
202+
"foreground": "#B58900"
203+
}
204+
},
205+
{
206+
"name": "Markup Styling",
207+
"scope": "markup.bold, markup.italic",
208+
"settings": {
209+
"foreground": "#D33682"
210+
}
211+
},
212+
{
213+
"name": "Markup Inline",
214+
"scope": "markup.inline.raw",
215+
"settings": {
216+
"fontStyle": "",
217+
"foreground": "#2AA198"
218+
}
219+
},
220+
{
221+
"name": "Markup Headings",
222+
"scope": "markup.heading",
223+
"settings": {
224+
"foreground": "#268BD2"
225+
}
226+
},
227+
{
228+
"name": "Markup Setext Header",
229+
"scope": "markup.heading.setext",
230+
"settings": {
231+
"fontStyle": "",
232+
"foreground": "#268BD2"
233+
}
234+
},
235+
{
236+
"scope": ["punctuation.definition.string.interpolation.start","punctuation.definition.string.interpolation.end"],
237+
"settings": {
238+
"foreground": "#ba68c8"
239+
}
240+
},
241+
{
242+
"scope": [
243+
"compose.element.html.au",
244+
"router-view.element.html.au",
245+
"databinding.attribute.html.au",
246+
"invoke.attribute.html.au",
247+
"ref.attribute.html.au",
248+
"repeat.attribute.html.au",
249+
"for.attribute.html.au",
250+
"view-model.attribute.html.au",
251+
"matcher.attribute.html.au",
252+
"model.attribute.html.au",
253+
"view.attribute.html.au",
254+
"controller.attribute.html.au",
255+
"bindable.attribute.html.au",
256+
"containerless.attribute.html.au",
257+
"compile-spy.attribute.html.au",
258+
"view-spy.attribute.html.au",
259+
"if.attribute.html.au",
260+
"route-href.attribute.html.au",
261+
"show.attribute.html.au",
262+
"ref.attribute.html.au",
263+
"replace-part.attribute.html.au",
264+
"replaceable.attribute.html.au",
265+
"element.html.au",
266+
"attribute.html.au"],
267+
"settings": {
268+
"foreground": "#ba68c8"
269+
}
270+
}
271+
]
272+
}

0 commit comments

Comments
 (0)