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