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 rose_pine() -> UserThemeFamily {
13 UserThemeFamily {
14 name: "Rose Pine".into(),
15 author: "Rosé Pine".into(),
16 themes: vec![
17 UserTheme {
18 name: "Rose Pine".into(),
19 appearance: Appearance::Dark,
20 styles: UserThemeStylesRefinement {
21 colors: ThemeColorsRefinement {
22 border: Some(rgba(0x000000ff).into()),
23 border_variant: Some(rgba(0x000000ff).into()),
24 border_focused: Some(rgba(0x6e6a8633).into()),
25 border_selected: Some(rgba(0x000000ff).into()),
26 border_transparent: Some(rgba(0x000000ff).into()),
27 border_disabled: Some(rgba(0x000000ff).into()),
28 elevated_surface_background: Some(rgba(0x1f1d2eff).into()),
29 surface_background: Some(rgba(0x1f1d2eff).into()),
30 background: Some(rgba(0x191724ff).into()),
31 element_background: Some(rgba(0xebbcbaff).into()),
32 element_hover: Some(rgba(0x6e6a861a).into()),
33 element_selected: Some(rgba(0x6e6a8633).into()),
34 drop_target_background: Some(rgba(0x1f1d2eff).into()),
35 ghost_element_hover: Some(rgba(0x6e6a861a).into()),
36 text: Some(rgba(0xe0def4ff).into()),
37 tab_inactive_background: Some(rgba(0x000000ff).into()),
38 tab_active_background: Some(rgba(0x6e6a861a).into()),
39 editor_background: Some(rgba(0x191724ff).into()),
40 editor_gutter_background: Some(rgba(0x191724ff).into()),
41 editor_line_number: Some(rgba(0x908caaff).into()),
42 editor_active_line_number: Some(rgba(0xe0def4ff).into()),
43 terminal_ansi_bright_black: Some(rgba(0x908caaff).into()),
44 terminal_ansi_bright_red: Some(rgba(0xeb6f92ff).into()),
45 terminal_ansi_bright_green: Some(rgba(0x30738fff).into()),
46 terminal_ansi_bright_yellow: Some(rgba(0xf5c177ff).into()),
47 terminal_ansi_bright_blue: Some(rgba(0x9ccfd8ff).into()),
48 terminal_ansi_bright_magenta: Some(rgba(0xc4a7e7ff).into()),
49 terminal_ansi_bright_cyan: Some(rgba(0xebbcbaff).into()),
50 terminal_ansi_bright_white: Some(rgba(0xe0def4ff).into()),
51 terminal_ansi_black: Some(rgba(0x26233aff).into()),
52 terminal_ansi_red: Some(rgba(0xeb6f92ff).into()),
53 terminal_ansi_green: Some(rgba(0x30738fff).into()),
54 terminal_ansi_yellow: Some(rgba(0xf5c177ff).into()),
55 terminal_ansi_blue: Some(rgba(0x9ccfd8ff).into()),
56 terminal_ansi_magenta: Some(rgba(0xc4a7e7ff).into()),
57 terminal_ansi_cyan: Some(rgba(0xebbcbaff).into()),
58 terminal_ansi_white: Some(rgba(0xe0def4ff).into()),
59 ..Default::default()
60 },
61 status: StatusColorsRefinement {
62 deleted: Some(rgba(0xeb6f92ff).into()),
63 error: Some(rgba(0xeb6f92ff).into()),
64 hidden: Some(rgba(0x908caaff).into()),
65 warning: Some(rgba(0xf5c177ff).into()),
66 ..Default::default()
67 },
68 syntax: Some(UserSyntaxTheme {
69 highlights: vec![
70 (
71 "attribute".into(),
72 UserHighlightStyle {
73 color: Some(rgba(0xc4a7e7ff).into()),
74 font_style: Some(UserFontStyle::Italic),
75 ..Default::default()
76 },
77 ),
78 (
79 "boolean".into(),
80 UserHighlightStyle {
81 color: Some(rgba(0xebbcbaff).into()),
82 ..Default::default()
83 },
84 ),
85 (
86 "comment".into(),
87 UserHighlightStyle {
88 color: Some(rgba(0x6e6a86ff).into()),
89 font_style: Some(UserFontStyle::Italic),
90 ..Default::default()
91 },
92 ),
93 (
94 "function".into(),
95 UserHighlightStyle {
96 color: Some(rgba(0xeb6f92ff).into()),
97 font_style: Some(UserFontStyle::Italic),
98 ..Default::default()
99 },
100 ),
101 (
102 "keyword".into(),
103 UserHighlightStyle {
104 color: Some(rgba(0x30738fff).into()),
105 ..Default::default()
106 },
107 ),
108 (
109 "label".into(),
110 UserHighlightStyle {
111 color: Some(rgba(0xebbcbaff).into()),
112 ..Default::default()
113 },
114 ),
115 (
116 "number".into(),
117 UserHighlightStyle {
118 color: Some(rgba(0xebbcbaff).into()),
119 ..Default::default()
120 },
121 ),
122 (
123 "punctuation".into(),
124 UserHighlightStyle {
125 color: Some(rgba(0x908caaff).into()),
126 ..Default::default()
127 },
128 ),
129 (
130 "string".into(),
131 UserHighlightStyle {
132 color: Some(rgba(0xf5c177ff).into()),
133 ..Default::default()
134 },
135 ),
136 (
137 "tag".into(),
138 UserHighlightStyle {
139 color: Some(rgba(0x9ccfd8ff).into()),
140 ..Default::default()
141 },
142 ),
143 (
144 "text.literal".into(),
145 UserHighlightStyle {
146 color: Some(rgba(0xf5c177ff).into()),
147 ..Default::default()
148 },
149 ),
150 (
151 "title".into(),
152 UserHighlightStyle {
153 color: Some(rgba(0xebbcbaff).into()),
154 ..Default::default()
155 },
156 ),
157 (
158 "type".into(),
159 UserHighlightStyle {
160 color: Some(rgba(0x9ccfd8ff).into()),
161 ..Default::default()
162 },
163 ),
164 (
165 "variable".into(),
166 UserHighlightStyle {
167 color: Some(rgba(0xebbcbaff).into()),
168 font_style: Some(UserFontStyle::Italic),
169 ..Default::default()
170 },
171 ),
172 (
173 "variable.special".into(),
174 UserHighlightStyle {
175 color: Some(rgba(0xe0def4ff).into()),
176 ..Default::default()
177 },
178 ),
179 ],
180 }),
181 },
182 },
183 UserTheme {
184 name: "Rose Pine Moon".into(),
185 appearance: Appearance::Dark,
186 styles: UserThemeStylesRefinement {
187 colors: ThemeColorsRefinement {
188 border: Some(rgba(0x000000ff).into()),
189 border_variant: Some(rgba(0x000000ff).into()),
190 border_focused: Some(rgba(0x817c9c26).into()),
191 border_selected: Some(rgba(0x000000ff).into()),
192 border_transparent: Some(rgba(0x000000ff).into()),
193 border_disabled: Some(rgba(0x000000ff).into()),
194 elevated_surface_background: Some(rgba(0x2a273eff).into()),
195 surface_background: Some(rgba(0x2a273eff).into()),
196 background: Some(rgba(0x232136ff).into()),
197 element_background: Some(rgba(0xea9a97ff).into()),
198 element_hover: Some(rgba(0x817c9c14).into()),
199 element_selected: Some(rgba(0x817c9c26).into()),
200 drop_target_background: Some(rgba(0x2a273eff).into()),
201 ghost_element_hover: Some(rgba(0x817c9c14).into()),
202 text: Some(rgba(0xe0def4ff).into()),
203 tab_inactive_background: Some(rgba(0x000000ff).into()),
204 tab_active_background: Some(rgba(0x817c9c14).into()),
205 editor_background: Some(rgba(0x232136ff).into()),
206 editor_gutter_background: Some(rgba(0x232136ff).into()),
207 editor_line_number: Some(rgba(0x908caaff).into()),
208 editor_active_line_number: Some(rgba(0xe0def4ff).into()),
209 terminal_ansi_bright_black: Some(rgba(0x908caaff).into()),
210 terminal_ansi_bright_red: Some(rgba(0xeb6f92ff).into()),
211 terminal_ansi_bright_green: Some(rgba(0x3d8fb0ff).into()),
212 terminal_ansi_bright_yellow: Some(rgba(0xf5c177ff).into()),
213 terminal_ansi_bright_blue: Some(rgba(0x9ccfd8ff).into()),
214 terminal_ansi_bright_magenta: Some(rgba(0xc4a7e7ff).into()),
215 terminal_ansi_bright_cyan: Some(rgba(0xea9a97ff).into()),
216 terminal_ansi_bright_white: Some(rgba(0xe0def4ff).into()),
217 terminal_ansi_black: Some(rgba(0x393552ff).into()),
218 terminal_ansi_red: Some(rgba(0xeb6f92ff).into()),
219 terminal_ansi_green: Some(rgba(0x3d8fb0ff).into()),
220 terminal_ansi_yellow: Some(rgba(0xf5c177ff).into()),
221 terminal_ansi_blue: Some(rgba(0x9ccfd8ff).into()),
222 terminal_ansi_magenta: Some(rgba(0xc4a7e7ff).into()),
223 terminal_ansi_cyan: Some(rgba(0xea9a97ff).into()),
224 terminal_ansi_white: Some(rgba(0xe0def4ff).into()),
225 ..Default::default()
226 },
227 status: StatusColorsRefinement {
228 deleted: Some(rgba(0xeb6f92ff).into()),
229 error: Some(rgba(0xeb6f92ff).into()),
230 hidden: Some(rgba(0x908caaff).into()),
231 warning: Some(rgba(0xf5c177ff).into()),
232 ..Default::default()
233 },
234 syntax: Some(UserSyntaxTheme {
235 highlights: vec![
236 (
237 "attribute".into(),
238 UserHighlightStyle {
239 color: Some(rgba(0xc4a7e7ff).into()),
240 font_style: Some(UserFontStyle::Italic),
241 ..Default::default()
242 },
243 ),
244 (
245 "boolean".into(),
246 UserHighlightStyle {
247 color: Some(rgba(0xea9a97ff).into()),
248 ..Default::default()
249 },
250 ),
251 (
252 "comment".into(),
253 UserHighlightStyle {
254 color: Some(rgba(0x6e6a86ff).into()),
255 font_style: Some(UserFontStyle::Italic),
256 ..Default::default()
257 },
258 ),
259 (
260 "function".into(),
261 UserHighlightStyle {
262 color: Some(rgba(0xeb6f92ff).into()),
263 font_style: Some(UserFontStyle::Italic),
264 ..Default::default()
265 },
266 ),
267 (
268 "keyword".into(),
269 UserHighlightStyle {
270 color: Some(rgba(0x3d8fb0ff).into()),
271 ..Default::default()
272 },
273 ),
274 (
275 "label".into(),
276 UserHighlightStyle {
277 color: Some(rgba(0xea9a97ff).into()),
278 ..Default::default()
279 },
280 ),
281 (
282 "number".into(),
283 UserHighlightStyle {
284 color: Some(rgba(0xea9a97ff).into()),
285 ..Default::default()
286 },
287 ),
288 (
289 "punctuation".into(),
290 UserHighlightStyle {
291 color: Some(rgba(0x908caaff).into()),
292 ..Default::default()
293 },
294 ),
295 (
296 "string".into(),
297 UserHighlightStyle {
298 color: Some(rgba(0xf5c177ff).into()),
299 ..Default::default()
300 },
301 ),
302 (
303 "tag".into(),
304 UserHighlightStyle {
305 color: Some(rgba(0x9ccfd8ff).into()),
306 ..Default::default()
307 },
308 ),
309 (
310 "text.literal".into(),
311 UserHighlightStyle {
312 color: Some(rgba(0xf5c177ff).into()),
313 ..Default::default()
314 },
315 ),
316 (
317 "title".into(),
318 UserHighlightStyle {
319 color: Some(rgba(0xea9a97ff).into()),
320 ..Default::default()
321 },
322 ),
323 (
324 "type".into(),
325 UserHighlightStyle {
326 color: Some(rgba(0x9ccfd8ff).into()),
327 ..Default::default()
328 },
329 ),
330 (
331 "variable".into(),
332 UserHighlightStyle {
333 color: Some(rgba(0xea9a97ff).into()),
334 font_style: Some(UserFontStyle::Italic),
335 ..Default::default()
336 },
337 ),
338 (
339 "variable.special".into(),
340 UserHighlightStyle {
341 color: Some(rgba(0xe0def4ff).into()),
342 ..Default::default()
343 },
344 ),
345 ],
346 }),
347 },
348 },
349 UserTheme {
350 name: "Rose Pine Dawn".into(),
351 appearance: Appearance::Light,
352 styles: UserThemeStylesRefinement {
353 colors: ThemeColorsRefinement {
354 border: Some(rgba(0x000000ff).into()),
355 border_variant: Some(rgba(0x000000ff).into()),
356 border_focused: Some(rgba(0x6e6a8614).into()),
357 border_selected: Some(rgba(0x000000ff).into()),
358 border_transparent: Some(rgba(0x000000ff).into()),
359 border_disabled: Some(rgba(0x000000ff).into()),
360 elevated_surface_background: Some(rgba(0xfffaf3ff).into()),
361 surface_background: Some(rgba(0xfffaf3ff).into()),
362 background: Some(rgba(0xfaf4edff).into()),
363 element_background: Some(rgba(0xd7827dff).into()),
364 element_hover: Some(rgba(0x6e6a860d).into()),
365 element_selected: Some(rgba(0x6e6a8614).into()),
366 drop_target_background: Some(rgba(0xfffaf3ff).into()),
367 ghost_element_hover: Some(rgba(0x6e6a860d).into()),
368 text: Some(rgba(0x575279ff).into()),
369 tab_inactive_background: Some(rgba(0x000000ff).into()),
370 tab_active_background: Some(rgba(0x6e6a860d).into()),
371 editor_background: Some(rgba(0xfaf4edff).into()),
372 editor_gutter_background: Some(rgba(0xfaf4edff).into()),
373 editor_line_number: Some(rgba(0x797593ff).into()),
374 editor_active_line_number: Some(rgba(0x575279ff).into()),
375 terminal_ansi_bright_black: Some(rgba(0x797593ff).into()),
376 terminal_ansi_bright_red: Some(rgba(0xb3627aff).into()),
377 terminal_ansi_bright_green: Some(rgba(0x276983ff).into()),
378 terminal_ansi_bright_yellow: Some(rgba(0xea9d34ff).into()),
379 terminal_ansi_bright_blue: Some(rgba(0x55949fff).into()),
380 terminal_ansi_bright_magenta: Some(rgba(0x9079a9ff).into()),
381 terminal_ansi_bright_cyan: Some(rgba(0xd7827dff).into()),
382 terminal_ansi_bright_white: Some(rgba(0x575279ff).into()),
383 terminal_ansi_black: Some(rgba(0xf2e9e1ff).into()),
384 terminal_ansi_red: Some(rgba(0xb3627aff).into()),
385 terminal_ansi_green: Some(rgba(0x276983ff).into()),
386 terminal_ansi_yellow: Some(rgba(0xea9d34ff).into()),
387 terminal_ansi_blue: Some(rgba(0x55949fff).into()),
388 terminal_ansi_magenta: Some(rgba(0x9079a9ff).into()),
389 terminal_ansi_cyan: Some(rgba(0xd7827dff).into()),
390 terminal_ansi_white: Some(rgba(0x575279ff).into()),
391 ..Default::default()
392 },
393 status: StatusColorsRefinement {
394 deleted: Some(rgba(0xb3627aff).into()),
395 error: Some(rgba(0xb3627aff).into()),
396 hidden: Some(rgba(0x797593ff).into()),
397 warning: Some(rgba(0xea9d34ff).into()),
398 ..Default::default()
399 },
400 syntax: Some(UserSyntaxTheme {
401 highlights: vec![
402 (
403 "attribute".into(),
404 UserHighlightStyle {
405 color: Some(rgba(0x9079a9ff).into()),
406 font_style: Some(UserFontStyle::Italic),
407 ..Default::default()
408 },
409 ),
410 (
411 "boolean".into(),
412 UserHighlightStyle {
413 color: Some(rgba(0xd7827dff).into()),
414 ..Default::default()
415 },
416 ),
417 (
418 "comment".into(),
419 UserHighlightStyle {
420 color: Some(rgba(0x9893a5ff).into()),
421 font_style: Some(UserFontStyle::Italic),
422 ..Default::default()
423 },
424 ),
425 (
426 "function".into(),
427 UserHighlightStyle {
428 color: Some(rgba(0xb3627aff).into()),
429 font_style: Some(UserFontStyle::Italic),
430 ..Default::default()
431 },
432 ),
433 (
434 "keyword".into(),
435 UserHighlightStyle {
436 color: Some(rgba(0x276983ff).into()),
437 ..Default::default()
438 },
439 ),
440 (
441 "label".into(),
442 UserHighlightStyle {
443 color: Some(rgba(0xd7827dff).into()),
444 ..Default::default()
445 },
446 ),
447 (
448 "number".into(),
449 UserHighlightStyle {
450 color: Some(rgba(0xd7827dff).into()),
451 ..Default::default()
452 },
453 ),
454 (
455 "punctuation".into(),
456 UserHighlightStyle {
457 color: Some(rgba(0x797593ff).into()),
458 ..Default::default()
459 },
460 ),
461 (
462 "string".into(),
463 UserHighlightStyle {
464 color: Some(rgba(0xea9d34ff).into()),
465 ..Default::default()
466 },
467 ),
468 (
469 "tag".into(),
470 UserHighlightStyle {
471 color: Some(rgba(0x55949fff).into()),
472 ..Default::default()
473 },
474 ),
475 (
476 "text.literal".into(),
477 UserHighlightStyle {
478 color: Some(rgba(0xea9d34ff).into()),
479 ..Default::default()
480 },
481 ),
482 (
483 "title".into(),
484 UserHighlightStyle {
485 color: Some(rgba(0xd7827dff).into()),
486 ..Default::default()
487 },
488 ),
489 (
490 "type".into(),
491 UserHighlightStyle {
492 color: Some(rgba(0x55949fff).into()),
493 ..Default::default()
494 },
495 ),
496 (
497 "variable".into(),
498 UserHighlightStyle {
499 color: Some(rgba(0xd7827dff).into()),
500 font_style: Some(UserFontStyle::Italic),
501 ..Default::default()
502 },
503 ),
504 (
505 "variable.special".into(),
506 UserHighlightStyle {
507 color: Some(rgba(0x575279ff).into()),
508 ..Default::default()
509 },
510 ),
511 ],
512 }),
513 },
514 },
515 ],
516 }
517}