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 palenight() -> UserThemeFamily {
11 UserThemeFamily {
12 name: "Palenight".into(),
13 author: "Olaolu Olawuyi (whizkydee)".into(),
14 themes: vec![
15 UserTheme {
16 name: "Palenight".into(),
17 appearance: Appearance::Dark,
18 styles: UserThemeStylesRefinement {
19 colors: ThemeColorsRefinement {
20 border: Some(rgba(0x282b3bff).into()),
21 border_variant: Some(rgba(0x282b3bff).into()),
22 border_focused: Some(rgba(0x282b3bff).into()),
23 border_selected: Some(rgba(0x282b3bff).into()),
24 border_transparent: Some(rgba(0x282b3bff).into()),
25 border_disabled: Some(rgba(0x282b3bff).into()),
26 elevated_surface_background: Some(rgba(0x292c3eff).into()),
27 surface_background: Some(rgba(0x292c3eff).into()),
28 background: Some(rgba(0x292c3eff).into()),
29 element_background: Some(rgba(0x7d56c1cc).into()),
30 text: Some(rgba(0xffffffff).into()),
31 tab_inactive_background: Some(rgba(0x31364aff).into()),
32 tab_active_background: Some(rgba(0x292c3eff).into()),
33 terminal_ansi_bright_black: Some(rgba(0x676e95ff).into()),
34 terminal_ansi_bright_red: Some(rgba(0xff5571ff).into()),
35 terminal_ansi_bright_green: Some(rgba(0xc3e88dff).into()),
36 terminal_ansi_bright_yellow: Some(rgba(0xffcb6bff).into()),
37 terminal_ansi_bright_blue: Some(rgba(0x82aaffff).into()),
38 terminal_ansi_bright_magenta: Some(rgba(0xc792eaff).into()),
39 terminal_ansi_bright_cyan: Some(rgba(0x89ddffff).into()),
40 terminal_ansi_bright_white: Some(rgba(0xffffffff).into()),
41 terminal_ansi_black: Some(rgba(0x676e95ff).into()),
42 terminal_ansi_red: Some(rgba(0xff5571ff).into()),
43 terminal_ansi_green: Some(rgba(0xa9c77dff).into()),
44 terminal_ansi_yellow: Some(rgba(0xffcb6bff).into()),
45 terminal_ansi_blue: Some(rgba(0x82aaffff).into()),
46 terminal_ansi_magenta: Some(rgba(0xc792eaff).into()),
47 terminal_ansi_cyan: Some(rgba(0x89ddffff).into()),
48 terminal_ansi_white: Some(rgba(0xffffffff).into()),
49 ..Default::default()
50 },
51 },
52 },
53 UserTheme {
54 name: "Palenight Operator".into(),
55 appearance: Appearance::Dark,
56 styles: UserThemeStylesRefinement {
57 colors: ThemeColorsRefinement {
58 border: Some(rgba(0x282b3bff).into()),
59 border_variant: Some(rgba(0x282b3bff).into()),
60 border_focused: Some(rgba(0x282b3bff).into()),
61 border_selected: Some(rgba(0x282b3bff).into()),
62 border_transparent: Some(rgba(0x282b3bff).into()),
63 border_disabled: Some(rgba(0x282b3bff).into()),
64 elevated_surface_background: Some(rgba(0x292c3eff).into()),
65 surface_background: Some(rgba(0x292c3eff).into()),
66 background: Some(rgba(0x292c3eff).into()),
67 element_background: Some(rgba(0x7d56c1cc).into()),
68 text: Some(rgba(0xffffffff).into()),
69 tab_inactive_background: Some(rgba(0x31364aff).into()),
70 tab_active_background: Some(rgba(0x292c3eff).into()),
71 terminal_ansi_bright_black: Some(rgba(0x676e95ff).into()),
72 terminal_ansi_bright_red: Some(rgba(0xff5571ff).into()),
73 terminal_ansi_bright_green: Some(rgba(0xc3e88dff).into()),
74 terminal_ansi_bright_yellow: Some(rgba(0xffcb6bff).into()),
75 terminal_ansi_bright_blue: Some(rgba(0x82aaffff).into()),
76 terminal_ansi_bright_magenta: Some(rgba(0xc792eaff).into()),
77 terminal_ansi_bright_cyan: Some(rgba(0x89ddffff).into()),
78 terminal_ansi_bright_white: Some(rgba(0xffffffff).into()),
79 terminal_ansi_black: Some(rgba(0x676e95ff).into()),
80 terminal_ansi_red: Some(rgba(0xff5571ff).into()),
81 terminal_ansi_green: Some(rgba(0xa9c77dff).into()),
82 terminal_ansi_yellow: Some(rgba(0xffcb6bff).into()),
83 terminal_ansi_blue: Some(rgba(0x82aaffff).into()),
84 terminal_ansi_magenta: Some(rgba(0xc792eaff).into()),
85 terminal_ansi_cyan: Some(rgba(0x89ddffff).into()),
86 terminal_ansi_white: Some(rgba(0xffffffff).into()),
87 ..Default::default()
88 },
89 },
90 },
91 UserTheme {
92 name: "Palenight (Mild Contrast)".into(),
93 appearance: Appearance::Dark,
94 styles: UserThemeStylesRefinement {
95 colors: ThemeColorsRefinement {
96 border: Some(rgba(0x2c2f40ff).into()),
97 border_variant: Some(rgba(0x2c2f40ff).into()),
98 border_focused: Some(rgba(0x2c2f40ff).into()),
99 border_selected: Some(rgba(0x2c2f40ff).into()),
100 border_transparent: Some(rgba(0x2c2f40ff).into()),
101 border_disabled: Some(rgba(0x2c2f40ff).into()),
102 elevated_surface_background: Some(rgba(0x25283aff).into()),
103 surface_background: Some(rgba(0x25283aff).into()),
104 background: Some(rgba(0x292c3eff).into()),
105 element_background: Some(rgba(0x7d56c1cc).into()),
106 text: Some(rgba(0xffffffff).into()),
107 tab_inactive_background: Some(rgba(0x31364aff).into()),
108 tab_active_background: Some(rgba(0x25283aff).into()),
109 terminal_ansi_bright_black: Some(rgba(0x676e95ff).into()),
110 terminal_ansi_bright_red: Some(rgba(0xff5571ff).into()),
111 terminal_ansi_bright_green: Some(rgba(0xc3e88dff).into()),
112 terminal_ansi_bright_yellow: Some(rgba(0xffcb6bff).into()),
113 terminal_ansi_bright_blue: Some(rgba(0x82aaffff).into()),
114 terminal_ansi_bright_magenta: Some(rgba(0xc792eaff).into()),
115 terminal_ansi_bright_cyan: Some(rgba(0x89ddffff).into()),
116 terminal_ansi_bright_white: Some(rgba(0xffffffff).into()),
117 terminal_ansi_black: Some(rgba(0x676e95ff).into()),
118 terminal_ansi_red: Some(rgba(0xff5571ff).into()),
119 terminal_ansi_green: Some(rgba(0xa9c77dff).into()),
120 terminal_ansi_yellow: Some(rgba(0xffcb6bff).into()),
121 terminal_ansi_blue: Some(rgba(0x82aaffff).into()),
122 terminal_ansi_magenta: Some(rgba(0xc792eaff).into()),
123 terminal_ansi_cyan: Some(rgba(0x89ddffff).into()),
124 terminal_ansi_white: Some(rgba(0xffffffff).into()),
125 ..Default::default()
126 },
127 },
128 },
129 ],
130 }
131}