1// This file was generated by the `theme_importer`.
2// Be careful when modifying it by hand.
3
4use gpui::rgba;
5
6use crate::{
7 Appearance, ThemeColorsRefinement, UserTheme, UserThemeFamily, UserThemeStylesRefinement,
8};
9
10pub fn dracula() -> UserThemeFamily {
11 UserThemeFamily {
12 name: "Dracula".into(),
13 author: "Zeno Rocha".into(),
14 themes: vec![UserTheme {
15 name: "Dracula".into(),
16 appearance: Appearance::Dark,
17 styles: UserThemeStylesRefinement {
18 colors: ThemeColorsRefinement {
19 border: Some(rgba(0xbd93f9ff).into()),
20 border_variant: Some(rgba(0xbd93f9ff).into()),
21 border_focused: Some(rgba(0xbd93f9ff).into()),
22 border_selected: Some(rgba(0xbd93f9ff).into()),
23 border_transparent: Some(rgba(0xbd93f9ff).into()),
24 border_disabled: Some(rgba(0xbd93f9ff).into()),
25 elevated_surface_background: Some(rgba(0x282a35ff).into()),
26 surface_background: Some(rgba(0x282a35ff).into()),
27 background: Some(rgba(0x282a35ff).into()),
28 element_background: Some(rgba(0x44475aff).into()),
29 text: Some(rgba(0xf8f8f2ff).into()),
30 tab_inactive_background: Some(rgba(0x21222cff).into()),
31 tab_active_background: Some(rgba(0x282a35ff).into()),
32 terminal_background: Some(rgba(0x282a35ff).into()),
33 terminal_ansi_bright_black: Some(rgba(0x6272a4ff).into()),
34 terminal_ansi_bright_red: Some(rgba(0xff6d6dff).into()),
35 terminal_ansi_bright_green: Some(rgba(0x69ff94ff).into()),
36 terminal_ansi_bright_yellow: Some(rgba(0xffffa5ff).into()),
37 terminal_ansi_bright_blue: Some(rgba(0xd6abfeff).into()),
38 terminal_ansi_bright_magenta: Some(rgba(0xff92dfff).into()),
39 terminal_ansi_bright_cyan: Some(rgba(0xa3fefeff).into()),
40 terminal_ansi_bright_white: Some(rgba(0xffffffff).into()),
41 terminal_ansi_black: Some(rgba(0x21222cff).into()),
42 terminal_ansi_red: Some(rgba(0xff5555ff).into()),
43 terminal_ansi_green: Some(rgba(0x50fa7bff).into()),
44 terminal_ansi_yellow: Some(rgba(0xf1fa8cff).into()),
45 terminal_ansi_blue: Some(rgba(0xbd93f9ff).into()),
46 terminal_ansi_magenta: Some(rgba(0xff79c6ff).into()),
47 terminal_ansi_cyan: Some(rgba(0x8be9fdff).into()),
48 terminal_ansi_white: Some(rgba(0xf8f8f2ff).into()),
49 ..Default::default()
50 },
51 },
52 }],
53 }
54}