Skip to content

Commit 0fe0683

Browse files
authored
Add serialized versions of themes (zed-industries#6885)
This PR adds serialized versions of each of the themes that currently ship with Zed. In a future PR we'll be looking to make these the canonical representations of the built-in themes. Note that we're intentionally repurposing the `theme_importer` to do this, so that crate is a bit rough-and-ready at the moment. Release Notes: - N/A
1 parent 9d6414b commit 0fe0683

File tree

25 files changed

+13672
-14
lines changed

25 files changed

+13672
-14
lines changed

.dockerignore

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,4 @@ script/node_modules
66
styles/node_modules
77
crates/collab/static/styles.css
88
vendor/bin
9-
assets/themes/*.json
10-
assets/themes/internal/*.json
11-
assets/themes/staff/*.json
9+
assets/themes/

.gitignore

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,7 @@
1111
/crates/collab/static/styles.css
1212
/crates/collab/.admins.json
1313
/vendor/bin
14-
/assets/themes/*.json
1514
/assets/*licenses.md
16-
/assets/themes/staff/*.json
1715
**/venv
1816
.build
1917
Packages

assets/themes/andromeda/LICENSE

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
The MIT License (MIT)
2+
3+
Copyright (c) 2017 <[email protected]>
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.
Lines changed: 333 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,333 @@
1+
{
2+
"name": "Andromeda",
3+
"author": "Zed Industries",
4+
"themes": [
5+
{
6+
"name": "Andromeda",
7+
"appearance": "dark",
8+
"style": {
9+
"border": "#2b2f38ff",
10+
"border.variant": "#252931ff",
11+
"border.focused": "#183934ff",
12+
"border.selected": "#183934ff",
13+
"border.transparent": "#00000000",
14+
"border.disabled": "#292d37ff",
15+
"elevated_surface.background": "#21242bff",
16+
"surface.background": "#21242bff",
17+
"background": "#262933ff",
18+
"element.background": "#21242bff",
19+
"element.hover": "#252931ff",
20+
"element.active": "#2a2f39ff",
21+
"element.selected": "#2a2f39ff",
22+
"element.disabled": "#21242bff",
23+
"drop_target.background": "#aca8ae80",
24+
"ghost_element.background": "#00000000",
25+
"ghost_element.hover": "#252931ff",
26+
"ghost_element.active": "#2a2f39ff",
27+
"ghost_element.selected": "#2a2f39ff",
28+
"ghost_element.disabled": "#21242bff",
29+
"text": "#f7f7f8ff",
30+
"text.muted": "#aca8aeff",
31+
"text.placeholder": "#6b6b73ff",
32+
"text.disabled": "#6b6b73ff",
33+
"text.accent": "#10a793ff",
34+
"icon": "#f7f7f8ff",
35+
"icon.muted": "#aca8aeff",
36+
"icon.disabled": "#6b6b73ff",
37+
"icon.placeholder": "#aca8aeff",
38+
"icon.accent": "#10a793ff",
39+
"status_bar.background": "#262933ff",
40+
"title_bar.background": "#262933ff",
41+
"toolbar.background": "#1e2025ff",
42+
"tab_bar.background": "#21242bff",
43+
"tab.inactive_background": "#21242bff",
44+
"tab.active_background": "#1e2025ff",
45+
"search.match_background": null,
46+
"panel.background": "#21242bff",
47+
"panel.focused_border": null,
48+
"pane.focused_border": null,
49+
"scrollbar_thumb.background": "#f7f7f84c",
50+
"scrollbar.thumb.hover_background": "#252931ff",
51+
"scrollbar.thumb.border": "#252931ff",
52+
"scrollbar.track.background": "#00000000",
53+
"scrollbar.track.border": "#21232aff",
54+
"editor.foreground": "#f7f7f8ff",
55+
"editor.background": "#1e2025ff",
56+
"editor.gutter.background": "#1e2025ff",
57+
"editor.subheader.background": "#21242bff",
58+
"editor.active_line.background": "#21242bbf",
59+
"editor.highlighted_line.background": "#21242bff",
60+
"editor.line_number": "#f7f7f859",
61+
"editor.active_line_number": "#f7f7f8ff",
62+
"editor.invisible": "#64646dff",
63+
"editor.wrap_guide": "#f7f7f80d",
64+
"editor.active_wrap_guide": "#f7f7f81a",
65+
"editor.document_highlight.read_background": "#10a7931a",
66+
"editor.document_highlight.write_background": "#64646d66",
67+
"terminal.background": "#1e2025ff",
68+
"terminal.foreground": "#f7f7f8ff",
69+
"terminal.bright_foreground": "#f7f7f8ff",
70+
"terminal.dim_foreground": "#1e2025ff",
71+
"terminal.ansi.black": "#1e2025ff",
72+
"terminal.ansi.bright_black": "#40434cff",
73+
"terminal.ansi.dim_black": "#f7f7f8ff",
74+
"terminal.ansi.red": "#f82871ff",
75+
"terminal.ansi.bright_red": "#8e0f3aff",
76+
"terminal.ansi.dim_red": "#ffa3b5ff",
77+
"terminal.ansi.green": "#96df71ff",
78+
"terminal.ansi.bright_green": "#457c38ff",
79+
"terminal.ansi.dim_green": "#cef0b9ff",
80+
"terminal.ansi.yellow": "#fee56cff",
81+
"terminal.ansi.bright_yellow": "#958334ff",
82+
"terminal.ansi.dim_yellow": "#fef1b7ff",
83+
"terminal.ansi.blue": "#10a793ff",
84+
"terminal.ansi.bright_blue": "#1a5148ff",
85+
"terminal.ansi.dim_blue": "#9cd4c7ff",
86+
"terminal.ansi.magenta": "#c74cecff",
87+
"terminal.ansi.bright_magenta": "#682681ff",
88+
"terminal.ansi.dim_magenta": "#e7abf7ff",
89+
"terminal.ansi.cyan": "#08e7c5ff",
90+
"terminal.ansi.bright_cyan": "#008169ff",
91+
"terminal.ansi.dim_cyan": "#a9f4e1ff",
92+
"terminal.ansi.white": "#f7f7f8ff",
93+
"terminal.ansi.bright_white": "#f7f7f8ff",
94+
"terminal.ansi.dim_white": "#87858cff",
95+
"link_text.hover": "#10a793ff",
96+
"conflict": "#fee56cff",
97+
"conflict.background": "#5c5014ff",
98+
"conflict.border": "#796b26ff",
99+
"created": "#96df71ff",
100+
"created.background": "#184618ff",
101+
"created.border": "#306129ff",
102+
"deleted": "#f82871ff",
103+
"deleted.background": "#54051bff",
104+
"deleted.border": "#72092aff",
105+
"error": "#f82871ff",
106+
"error.background": "#54051bff",
107+
"error.border": "#72092aff",
108+
"hidden": "#6b6b73ff",
109+
"hidden.background": "#262933ff",
110+
"hidden.border": "#292d37ff",
111+
"hint": "#618399ff",
112+
"hint.background": "#12231fff",
113+
"hint.border": "#183934ff",
114+
"ignored": "#aca8aeff",
115+
"ignored.background": "#262933ff",
116+
"ignored.border": "#2b2f38ff",
117+
"info": "#10a793ff",
118+
"info.background": "#12231fff",
119+
"info.border": "#183934ff",
120+
"modified": "#fee56cff",
121+
"modified.background": "#5c5014ff",
122+
"modified.border": "#796b26ff",
123+
"predictive": "#315f70ff",
124+
"predictive.background": "#184618ff",
125+
"predictive.border": "#306129ff",
126+
"renamed": "#10a793ff",
127+
"renamed.background": "#12231fff",
128+
"renamed.border": "#183934ff",
129+
"success": "#96df71ff",
130+
"success.background": "#184618ff",
131+
"success.border": "#306129ff",
132+
"unreachable": "#aca8aeff",
133+
"unreachable.background": "#262933ff",
134+
"unreachable.border": "#2b2f38ff",
135+
"warning": "#fee56cff",
136+
"warning.background": "#5c5014ff",
137+
"warning.border": "#796b26ff",
138+
"syntax": {
139+
"attribute": {
140+
"color": "#10a793ff",
141+
"font_style": null,
142+
"font_weight": null
143+
},
144+
"boolean": {
145+
"color": "#96df71ff",
146+
"font_style": null,
147+
"font_weight": null
148+
},
149+
"comment": {
150+
"color": "#afabb1ff",
151+
"font_style": null,
152+
"font_weight": null
153+
},
154+
"comment.doc": {
155+
"color": "#afabb1ff",
156+
"font_style": null,
157+
"font_weight": null
158+
},
159+
"constant": {
160+
"color": "#96df71ff",
161+
"font_style": null,
162+
"font_weight": null
163+
},
164+
"constructor": {
165+
"color": "#10a793ff",
166+
"font_style": null,
167+
"font_weight": null
168+
},
169+
"embedded": {
170+
"color": "#f7f7f8ff",
171+
"font_style": null,
172+
"font_weight": null
173+
},
174+
"emphasis": {
175+
"color": "#10a793ff",
176+
"font_style": null,
177+
"font_weight": null
178+
},
179+
"emphasis.strong": {
180+
"color": "#10a793ff",
181+
"font_style": null,
182+
"font_weight": 700
183+
},
184+
"enum": {
185+
"color": "#f29c14ff",
186+
"font_style": null,
187+
"font_weight": null
188+
},
189+
"function": {
190+
"color": "#fee56cff",
191+
"font_style": null,
192+
"font_weight": null
193+
},
194+
"hint": {
195+
"color": "#618399ff",
196+
"font_style": null,
197+
"font_weight": 700
198+
},
199+
"keyword": {
200+
"color": "#10a793ff",
201+
"font_style": null,
202+
"font_weight": null
203+
},
204+
"label": {
205+
"color": "#10a793ff",
206+
"font_style": null,
207+
"font_weight": null
208+
},
209+
"link_text": {
210+
"color": "#f29c14ff",
211+
"font_style": "italic",
212+
"font_weight": null
213+
},
214+
"link_uri": {
215+
"color": "#96df71ff",
216+
"font_style": null,
217+
"font_weight": null
218+
},
219+
"number": {
220+
"color": "#96df71ff",
221+
"font_style": null,
222+
"font_weight": null
223+
},
224+
"operator": {
225+
"color": "#f29c14ff",
226+
"font_style": null,
227+
"font_weight": null
228+
},
229+
"predictive": {
230+
"color": "#315f70ff",
231+
"font_style": "italic",
232+
"font_weight": null
233+
},
234+
"preproc": {
235+
"color": "#f7f7f8ff",
236+
"font_style": null,
237+
"font_weight": null
238+
},
239+
"primary": {
240+
"color": "#f7f7f8ff",
241+
"font_style": null,
242+
"font_weight": null
243+
},
244+
"property": {
245+
"color": "#10a793ff",
246+
"font_style": null,
247+
"font_weight": null
248+
},
249+
"punctuation": {
250+
"color": "#d8d5dbff",
251+
"font_style": null,
252+
"font_weight": null
253+
},
254+
"punctuation.bracket": {
255+
"color": "#d8d5dbff",
256+
"font_style": null,
257+
"font_weight": null
258+
},
259+
"punctuation.delimiter": {
260+
"color": "#d8d5dbff",
261+
"font_style": null,
262+
"font_weight": null
263+
},
264+
"punctuation.list_marker": {
265+
"color": "#d8d5dbff",
266+
"font_style": null,
267+
"font_weight": null
268+
},
269+
"punctuation.special": {
270+
"color": "#d8d5dbff",
271+
"font_style": null,
272+
"font_weight": null
273+
},
274+
"string": {
275+
"color": "#f29c14ff",
276+
"font_style": null,
277+
"font_weight": null
278+
},
279+
"string.escape": {
280+
"color": "#afabb1ff",
281+
"font_style": null,
282+
"font_weight": null
283+
},
284+
"string.regex": {
285+
"color": "#f29c14ff",
286+
"font_style": null,
287+
"font_weight": null
288+
},
289+
"string.special": {
290+
"color": "#f29c14ff",
291+
"font_style": null,
292+
"font_weight": null
293+
},
294+
"string.special.symbol": {
295+
"color": "#f29c14ff",
296+
"font_style": null,
297+
"font_weight": null
298+
},
299+
"tag": {
300+
"color": "#10a793ff",
301+
"font_style": null,
302+
"font_weight": null
303+
},
304+
"text.literal": {
305+
"color": "#f29c14ff",
306+
"font_style": null,
307+
"font_weight": null
308+
},
309+
"title": {
310+
"color": "#f7f7f8ff",
311+
"font_style": null,
312+
"font_weight": 700
313+
},
314+
"type": {
315+
"color": "#08e7c5ff",
316+
"font_style": null,
317+
"font_weight": null
318+
},
319+
"variable": {
320+
"color": "#f7f7f8ff",
321+
"font_style": null,
322+
"font_weight": null
323+
},
324+
"variant": {
325+
"color": "#10a793ff",
326+
"font_style": null,
327+
"font_weight": null
328+
}
329+
}
330+
}
331+
}
332+
]
333+
}

assets/themes/atelier/LICENSE

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
The MIT License (MIT)
2+
3+
Copyright (c) 2023 Bram de Haan, http://atelierbramdehaan.nl
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

0 commit comments

Comments
 (0)