1// This file was generated by the `theme_importer`.
2// Be careful when modifying it by hand.
3
4use gpui::rgba;
5
6#[allow(unused)]
7use crate::{
8 Appearance, PlayerColor, PlayerColors, StatusColorsRefinement, ThemeColorsRefinement,
9 UserFontStyle, UserFontWeight, UserHighlightStyle, UserSyntaxTheme, UserTheme, UserThemeFamily,
10 UserThemeStylesRefinement,
11};
12
13pub fn andromeda() -> UserThemeFamily {
14 UserThemeFamily {
15 name: "Andromeda".into(),
16 author: "Zed Industries".into(),
17 themes: vec![UserTheme {
18 name: "Andromeda".into(),
19 appearance: Appearance::Dark,
20 styles: UserThemeStylesRefinement {
21 colors: ThemeColorsRefinement {
22 border: Some(rgba(0x252931ff).into()),
23 border_variant: Some(rgba(0x21232aff).into()),
24 elevated_surface_background: Some(rgba(0x262a33ff).into()),
25 background: Some(rgba(0x262a33ff).into()),
26 panel_background: Some(rgba(0x21242bff).into()),
27 element_hover: Some(rgba(0x2b2f3980).into()),
28 element_selected: Some(rgba(0x383b4580).into()),
29 text: Some(rgba(0xf7f7f8ff).into()),
30 text_muted: Some(rgba(0xaca8aeff).into()),
31 text_placeholder: Some(rgba(0x474a53ff).into()),
32 text_disabled: Some(rgba(0xf7f7f8ff).into()),
33 text_accent: Some(rgba(0x11a793ff).into()),
34 status_bar_background: Some(rgba(0x262a33ff).into()),
35 title_bar_background: Some(rgba(0x262a33ff).into()),
36 toolbar_background: Some(rgba(0x1e2025ff).into()),
37 tab_bar_background: Some(rgba(0x21242bff).into()),
38 tab_inactive_background: Some(rgba(0x21242bff).into()),
39 tab_active_background: Some(rgba(0x1e2025ff).into()),
40 scrollbar_thumb_background: Some(rgba(0xf7f7f84d).into()),
41 scrollbar_thumb_hover_background: Some(rgba(0xf7f7f84d).into()),
42 scrollbar_thumb_border: Some(rgba(0x21232aff).into()),
43 scrollbar_track_border: Some(rgba(0x21232aff).into()),
44 editor_foreground: Some(rgba(0xf7f7f8ff).into()),
45 editor_background: Some(rgba(0x1e2025ff).into()),
46 editor_gutter_background: Some(rgba(0x1e2025ff).into()),
47 editor_line_number: Some(rgba(0xf7f7f859).into()),
48 editor_active_line_number: Some(rgba(0xf7f7f8ff).into()),
49 editor_wrap_guide: Some(rgba(0xf7f7f80d).into()),
50 editor_active_wrap_guide: Some(rgba(0xf7f7f81a).into()),
51 terminal_background: Some(rgba(0x1e2025ff).into()),
52 terminal_ansi_bright_black: Some(rgba(0x40434cff).into()),
53 terminal_ansi_bright_red: Some(rgba(0x8e103aff).into()),
54 terminal_ansi_bright_green: Some(rgba(0x457c38ff).into()),
55 terminal_ansi_bright_yellow: Some(rgba(0x958435ff).into()),
56 terminal_ansi_bright_blue: Some(rgba(0x1b5148ff).into()),
57 terminal_ansi_bright_magenta: Some(rgba(0x682781ff).into()),
58 terminal_ansi_bright_cyan: Some(rgba(0x018169ff).into()),
59 terminal_ansi_bright_white: Some(rgba(0xf7f7f8ff).into()),
60 terminal_ansi_black: Some(rgba(0x1e2025ff).into()),
61 terminal_ansi_red: Some(rgba(0xf82872ff).into()),
62 terminal_ansi_green: Some(rgba(0x96df72ff).into()),
63 terminal_ansi_yellow: Some(rgba(0xfee56dff).into()),
64 terminal_ansi_blue: Some(rgba(0x11a793ff).into()),
65 terminal_ansi_magenta: Some(rgba(0xc74decff).into()),
66 terminal_ansi_cyan: Some(rgba(0x09e7c6ff).into()),
67 terminal_ansi_white: Some(rgba(0xf7f7f8ff).into()),
68 ..Default::default()
69 },
70 status: StatusColorsRefinement {
71 created: Some(rgba(0x96df72ff).into()),
72 deleted: Some(rgba(0xcd1d5aff).into()),
73 error: Some(rgba(0xf82872ff).into()),
74 hint: Some(rgba(0x618399ff).into()),
75 modified: Some(rgba(0xfee56dff).into()),
76 success: Some(rgba(0xf7f7f8ff).into()),
77 warning: Some(rgba(0xfee56dff).into()),
78 ..Default::default()
79 },
80 player: Some(PlayerColors(vec![
81 PlayerColor {
82 cursor: rgba(0x11a793ff).into(),
83 background: rgba(0x11a793ff).into(),
84 selection: rgba(0x11a7933d).into(),
85 },
86 PlayerColor {
87 cursor: rgba(0xc74decff).into(),
88 background: rgba(0xc74decff).into(),
89 selection: rgba(0xc74dec3d).into(),
90 },
91 PlayerColor {
92 cursor: rgba(0xf29c14ff).into(),
93 background: rgba(0xf29c14ff).into(),
94 selection: rgba(0xf29c143d).into(),
95 },
96 PlayerColor {
97 cursor: rgba(0x8a3fa6ff).into(),
98 background: rgba(0x8a3fa6ff).into(),
99 selection: rgba(0x8a3fa63d).into(),
100 },
101 PlayerColor {
102 cursor: rgba(0x09e7c6ff).into(),
103 background: rgba(0x09e7c6ff).into(),
104 selection: rgba(0x09e7c63d).into(),
105 },
106 PlayerColor {
107 cursor: rgba(0xf82872ff).into(),
108 background: rgba(0xf82872ff).into(),
109 selection: rgba(0xf828723d).into(),
110 },
111 PlayerColor {
112 cursor: rgba(0xfee56dff).into(),
113 background: rgba(0xfee56dff).into(),
114 selection: rgba(0xfee56d3d).into(),
115 },
116 PlayerColor {
117 cursor: rgba(0x96df72ff).into(),
118 background: rgba(0x96df72ff).into(),
119 selection: rgba(0x96df723d).into(),
120 },
121 ])),
122 syntax: Some(UserSyntaxTheme {
123 highlights: vec![
124 (
125 "attribute".into(),
126 UserHighlightStyle {
127 color: Some(rgba(0x11a793ff).into()),
128 ..Default::default()
129 },
130 ),
131 (
132 "boolean".into(),
133 UserHighlightStyle {
134 color: Some(rgba(0x96df72ff).into()),
135 ..Default::default()
136 },
137 ),
138 (
139 "comment".into(),
140 UserHighlightStyle {
141 color: Some(rgba(0xafabb1ff).into()),
142 ..Default::default()
143 },
144 ),
145 (
146 "comment.doc".into(),
147 UserHighlightStyle {
148 color: Some(rgba(0xafabb1ff).into()),
149 ..Default::default()
150 },
151 ),
152 (
153 "constant".into(),
154 UserHighlightStyle {
155 color: Some(rgba(0x96df72ff).into()),
156 ..Default::default()
157 },
158 ),
159 (
160 "constructor".into(),
161 UserHighlightStyle {
162 color: Some(rgba(0x11a793ff).into()),
163 ..Default::default()
164 },
165 ),
166 (
167 "embedded".into(),
168 UserHighlightStyle {
169 color: Some(rgba(0xf7f7f8ff).into()),
170 ..Default::default()
171 },
172 ),
173 (
174 "emphasis".into(),
175 UserHighlightStyle {
176 color: Some(rgba(0x11a793ff).into()),
177 ..Default::default()
178 },
179 ),
180 (
181 "emphasis.strong".into(),
182 UserHighlightStyle {
183 color: Some(rgba(0x11a793ff).into()),
184 font_weight: Some(UserFontWeight(700.0)),
185 ..Default::default()
186 },
187 ),
188 (
189 "enum".into(),
190 UserHighlightStyle {
191 color: Some(rgba(0xf29c14ff).into()),
192 ..Default::default()
193 },
194 ),
195 (
196 "function".into(),
197 UserHighlightStyle {
198 color: Some(rgba(0xfee56dff).into()),
199 ..Default::default()
200 },
201 ),
202 (
203 "hint".into(),
204 UserHighlightStyle {
205 color: Some(rgba(0x618399ff).into()),
206 font_weight: Some(UserFontWeight(700.0)),
207 ..Default::default()
208 },
209 ),
210 (
211 "keyword".into(),
212 UserHighlightStyle {
213 color: Some(rgba(0x11a793ff).into()),
214 ..Default::default()
215 },
216 ),
217 (
218 "label".into(),
219 UserHighlightStyle {
220 color: Some(rgba(0x11a793ff).into()),
221 ..Default::default()
222 },
223 ),
224 (
225 "link_text".into(),
226 UserHighlightStyle {
227 color: Some(rgba(0xf29c14ff).into()),
228 font_style: Some(UserFontStyle::Italic),
229 ..Default::default()
230 },
231 ),
232 (
233 "link_uri".into(),
234 UserHighlightStyle {
235 color: Some(rgba(0x96df72ff).into()),
236 ..Default::default()
237 },
238 ),
239 (
240 "number".into(),
241 UserHighlightStyle {
242 color: Some(rgba(0x96df72ff).into()),
243 ..Default::default()
244 },
245 ),
246 (
247 "operator".into(),
248 UserHighlightStyle {
249 color: Some(rgba(0xf29c14ff).into()),
250 ..Default::default()
251 },
252 ),
253 (
254 "predictive".into(),
255 UserHighlightStyle {
256 color: Some(rgba(0x315f70ff).into()),
257 font_style: Some(UserFontStyle::Italic),
258 ..Default::default()
259 },
260 ),
261 (
262 "preproc".into(),
263 UserHighlightStyle {
264 color: Some(rgba(0xf7f7f8ff).into()),
265 ..Default::default()
266 },
267 ),
268 (
269 "primary".into(),
270 UserHighlightStyle {
271 color: Some(rgba(0xf7f7f8ff).into()),
272 ..Default::default()
273 },
274 ),
275 (
276 "property".into(),
277 UserHighlightStyle {
278 color: Some(rgba(0x11a793ff).into()),
279 ..Default::default()
280 },
281 ),
282 (
283 "punctuation".into(),
284 UserHighlightStyle {
285 color: Some(rgba(0xd8d5dbff).into()),
286 ..Default::default()
287 },
288 ),
289 (
290 "punctuation.bracket".into(),
291 UserHighlightStyle {
292 color: Some(rgba(0xd8d5dbff).into()),
293 ..Default::default()
294 },
295 ),
296 (
297 "punctuation.delimiter".into(),
298 UserHighlightStyle {
299 color: Some(rgba(0xd8d5dbff).into()),
300 ..Default::default()
301 },
302 ),
303 (
304 "punctuation.list_marker".into(),
305 UserHighlightStyle {
306 color: Some(rgba(0xd8d5dbff).into()),
307 ..Default::default()
308 },
309 ),
310 (
311 "punctuation.special".into(),
312 UserHighlightStyle {
313 color: Some(rgba(0xd8d5dbff).into()),
314 ..Default::default()
315 },
316 ),
317 (
318 "string".into(),
319 UserHighlightStyle {
320 color: Some(rgba(0xf29c14ff).into()),
321 ..Default::default()
322 },
323 ),
324 (
325 "string.escape".into(),
326 UserHighlightStyle {
327 color: Some(rgba(0xafabb1ff).into()),
328 ..Default::default()
329 },
330 ),
331 (
332 "string.regex".into(),
333 UserHighlightStyle {
334 color: Some(rgba(0xf29c14ff).into()),
335 ..Default::default()
336 },
337 ),
338 (
339 "string.special".into(),
340 UserHighlightStyle {
341 color: Some(rgba(0xf29c14ff).into()),
342 ..Default::default()
343 },
344 ),
345 (
346 "string.special.symbol".into(),
347 UserHighlightStyle {
348 color: Some(rgba(0xf29c14ff).into()),
349 ..Default::default()
350 },
351 ),
352 (
353 "tag".into(),
354 UserHighlightStyle {
355 color: Some(rgba(0x11a793ff).into()),
356 ..Default::default()
357 },
358 ),
359 (
360 "text.literal".into(),
361 UserHighlightStyle {
362 color: Some(rgba(0xf29c14ff).into()),
363 ..Default::default()
364 },
365 ),
366 (
367 "title".into(),
368 UserHighlightStyle {
369 color: Some(rgba(0xf7f7f8ff).into()),
370 font_weight: Some(UserFontWeight(700.0)),
371 ..Default::default()
372 },
373 ),
374 (
375 "type".into(),
376 UserHighlightStyle {
377 color: Some(rgba(0x09e7c6ff).into()),
378 ..Default::default()
379 },
380 ),
381 (
382 "variable".into(),
383 UserHighlightStyle {
384 color: Some(rgba(0xf7f7f8ff).into()),
385 ..Default::default()
386 },
387 ),
388 (
389 "variant".into(),
390 UserHighlightStyle {
391 color: Some(rgba(0x11a793ff).into()),
392 ..Default::default()
393 },
394 ),
395 ],
396 }),
397 },
398 }],
399 }
400}