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 gruvbox() -> UserThemeFamily {
11 UserThemeFamily {
12 name: "Gruvbox".into(),
13 author: "morhetz".into(),
14 themes: vec![
15 UserTheme {
16 name: "Gruvbox Dark Hard".into(),
17 appearance: Appearance::Dark,
18 styles: UserThemeStylesRefinement {
19 colors: ThemeColorsRefinement {
20 border: Some(rgba(0x3c3836ff).into()),
21 border_variant: Some(rgba(0x3c3836ff).into()),
22 border_focused: Some(rgba(0x3c3836ff).into()),
23 border_selected: Some(rgba(0x3c3836ff).into()),
24 border_transparent: Some(rgba(0x3c3836ff).into()),
25 border_disabled: Some(rgba(0x3c3836ff).into()),
26 background: Some(rgba(0x1d2021ff).into()),
27 element_background: Some(rgba(0x44858780).into()),
28 text: Some(rgba(0xebdbb2ff).into()),
29 tab_inactive_background: Some(rgba(0x1d2021ff).into()),
30 tab_active_background: Some(rgba(0x32302fff).into()),
31 terminal_background: Some(rgba(0x1d2021ff).into()),
32 terminal_ansi_bright_black: Some(rgba(0x928374ff).into()),
33 terminal_ansi_bright_red: Some(rgba(0xfb4833ff).into()),
34 terminal_ansi_bright_green: Some(rgba(0xb8bb25ff).into()),
35 terminal_ansi_bright_yellow: Some(rgba(0xfabd2eff).into()),
36 terminal_ansi_bright_blue: Some(rgba(0x83a598ff).into()),
37 terminal_ansi_bright_magenta: Some(rgba(0xd3869bff).into()),
38 terminal_ansi_bright_cyan: Some(rgba(0x8ec07cff).into()),
39 terminal_ansi_bright_white: Some(rgba(0xebdbb2ff).into()),
40 terminal_ansi_black: Some(rgba(0x3c3836ff).into()),
41 terminal_ansi_red: Some(rgba(0xcc241cff).into()),
42 terminal_ansi_green: Some(rgba(0x989719ff).into()),
43 terminal_ansi_yellow: Some(rgba(0xd79920ff).into()),
44 terminal_ansi_blue: Some(rgba(0x448587ff).into()),
45 terminal_ansi_magenta: Some(rgba(0xb16185ff).into()),
46 terminal_ansi_cyan: Some(rgba(0x679d6aff).into()),
47 terminal_ansi_white: Some(rgba(0xa89984ff).into()),
48 ..Default::default()
49 },
50 },
51 },
52 UserTheme {
53 name: "Gruvbox Dark Medium".into(),
54 appearance: Appearance::Dark,
55 styles: UserThemeStylesRefinement {
56 colors: ThemeColorsRefinement {
57 border: Some(rgba(0x3c3836ff).into()),
58 border_variant: Some(rgba(0x3c3836ff).into()),
59 border_focused: Some(rgba(0x3c3836ff).into()),
60 border_selected: Some(rgba(0x3c3836ff).into()),
61 border_transparent: Some(rgba(0x3c3836ff).into()),
62 border_disabled: Some(rgba(0x3c3836ff).into()),
63 background: Some(rgba(0x282828ff).into()),
64 element_background: Some(rgba(0x44858780).into()),
65 text: Some(rgba(0xebdbb2ff).into()),
66 tab_inactive_background: Some(rgba(0x282828ff).into()),
67 tab_active_background: Some(rgba(0x3c3836ff).into()),
68 terminal_background: Some(rgba(0x282828ff).into()),
69 terminal_ansi_bright_black: Some(rgba(0x928374ff).into()),
70 terminal_ansi_bright_red: Some(rgba(0xfb4833ff).into()),
71 terminal_ansi_bright_green: Some(rgba(0xb8bb25ff).into()),
72 terminal_ansi_bright_yellow: Some(rgba(0xfabd2eff).into()),
73 terminal_ansi_bright_blue: Some(rgba(0x83a598ff).into()),
74 terminal_ansi_bright_magenta: Some(rgba(0xd3869bff).into()),
75 terminal_ansi_bright_cyan: Some(rgba(0x8ec07cff).into()),
76 terminal_ansi_bright_white: Some(rgba(0xebdbb2ff).into()),
77 terminal_ansi_black: Some(rgba(0x3c3836ff).into()),
78 terminal_ansi_red: Some(rgba(0xcc241cff).into()),
79 terminal_ansi_green: Some(rgba(0x989719ff).into()),
80 terminal_ansi_yellow: Some(rgba(0xd79920ff).into()),
81 terminal_ansi_blue: Some(rgba(0x448587ff).into()),
82 terminal_ansi_magenta: Some(rgba(0xb16185ff).into()),
83 terminal_ansi_cyan: Some(rgba(0x679d6aff).into()),
84 terminal_ansi_white: Some(rgba(0xa89984ff).into()),
85 ..Default::default()
86 },
87 },
88 },
89 UserTheme {
90 name: "Gruvbox Dark Soft".into(),
91 appearance: Appearance::Dark,
92 styles: UserThemeStylesRefinement {
93 colors: ThemeColorsRefinement {
94 border: Some(rgba(0x3c3836ff).into()),
95 border_variant: Some(rgba(0x3c3836ff).into()),
96 border_focused: Some(rgba(0x3c3836ff).into()),
97 border_selected: Some(rgba(0x3c3836ff).into()),
98 border_transparent: Some(rgba(0x3c3836ff).into()),
99 border_disabled: Some(rgba(0x3c3836ff).into()),
100 background: Some(rgba(0x32302fff).into()),
101 element_background: Some(rgba(0x44858780).into()),
102 text: Some(rgba(0xebdbb2ff).into()),
103 tab_inactive_background: Some(rgba(0x32302fff).into()),
104 tab_active_background: Some(rgba(0x504945ff).into()),
105 terminal_background: Some(rgba(0x32302fff).into()),
106 terminal_ansi_bright_black: Some(rgba(0x928374ff).into()),
107 terminal_ansi_bright_red: Some(rgba(0xfb4833ff).into()),
108 terminal_ansi_bright_green: Some(rgba(0xb8bb25ff).into()),
109 terminal_ansi_bright_yellow: Some(rgba(0xfabd2eff).into()),
110 terminal_ansi_bright_blue: Some(rgba(0x83a598ff).into()),
111 terminal_ansi_bright_magenta: Some(rgba(0xd3869bff).into()),
112 terminal_ansi_bright_cyan: Some(rgba(0x8ec07cff).into()),
113 terminal_ansi_bright_white: Some(rgba(0xebdbb2ff).into()),
114 terminal_ansi_black: Some(rgba(0x3c3836ff).into()),
115 terminal_ansi_red: Some(rgba(0xcc241cff).into()),
116 terminal_ansi_green: Some(rgba(0x989719ff).into()),
117 terminal_ansi_yellow: Some(rgba(0xd79920ff).into()),
118 terminal_ansi_blue: Some(rgba(0x448587ff).into()),
119 terminal_ansi_magenta: Some(rgba(0xb16185ff).into()),
120 terminal_ansi_cyan: Some(rgba(0x679d6aff).into()),
121 terminal_ansi_white: Some(rgba(0xa89984ff).into()),
122 ..Default::default()
123 },
124 },
125 },
126 UserTheme {
127 name: "Gruvbox Light Hard".into(),
128 appearance: Appearance::Light,
129 styles: UserThemeStylesRefinement {
130 colors: ThemeColorsRefinement {
131 border: Some(rgba(0xebdbb2ff).into()),
132 border_variant: Some(rgba(0xebdbb2ff).into()),
133 border_focused: Some(rgba(0xebdbb2ff).into()),
134 border_selected: Some(rgba(0xebdbb2ff).into()),
135 border_transparent: Some(rgba(0xebdbb2ff).into()),
136 border_disabled: Some(rgba(0xebdbb2ff).into()),
137 background: Some(rgba(0xf9f5d7ff).into()),
138 element_background: Some(rgba(0x44858780).into()),
139 text: Some(rgba(0x3c3836ff).into()),
140 tab_inactive_background: Some(rgba(0xf9f5d7ff).into()),
141 tab_active_background: Some(rgba(0xf2e5bcff).into()),
142 terminal_background: Some(rgba(0xf9f5d7ff).into()),
143 terminal_ansi_bright_black: Some(rgba(0x928374ff).into()),
144 terminal_ansi_bright_red: Some(rgba(0x9d0006ff).into()),
145 terminal_ansi_bright_green: Some(rgba(0x79740eff).into()),
146 terminal_ansi_bright_yellow: Some(rgba(0xb57613ff).into()),
147 terminal_ansi_bright_blue: Some(rgba(0x066578ff).into()),
148 terminal_ansi_bright_magenta: Some(rgba(0x8f3e71ff).into()),
149 terminal_ansi_bright_cyan: Some(rgba(0x427b58ff).into()),
150 terminal_ansi_bright_white: Some(rgba(0x3c3836ff).into()),
151 terminal_ansi_black: Some(rgba(0xebdbb2ff).into()),
152 terminal_ansi_red: Some(rgba(0xcc241cff).into()),
153 terminal_ansi_green: Some(rgba(0x989719ff).into()),
154 terminal_ansi_yellow: Some(rgba(0xd79920ff).into()),
155 terminal_ansi_blue: Some(rgba(0x448587ff).into()),
156 terminal_ansi_magenta: Some(rgba(0xb16185ff).into()),
157 terminal_ansi_cyan: Some(rgba(0x679d6aff).into()),
158 terminal_ansi_white: Some(rgba(0x7c6f64ff).into()),
159 ..Default::default()
160 },
161 },
162 },
163 UserTheme {
164 name: "Gruvbox Light Medium".into(),
165 appearance: Appearance::Light,
166 styles: UserThemeStylesRefinement {
167 colors: ThemeColorsRefinement {
168 border: Some(rgba(0xebdbb2ff).into()),
169 border_variant: Some(rgba(0xebdbb2ff).into()),
170 border_focused: Some(rgba(0xebdbb2ff).into()),
171 border_selected: Some(rgba(0xebdbb2ff).into()),
172 border_transparent: Some(rgba(0xebdbb2ff).into()),
173 border_disabled: Some(rgba(0xebdbb2ff).into()),
174 background: Some(rgba(0xfbf1c7ff).into()),
175 element_background: Some(rgba(0x44858780).into()),
176 text: Some(rgba(0x3c3836ff).into()),
177 tab_inactive_background: Some(rgba(0xfbf1c7ff).into()),
178 tab_active_background: Some(rgba(0xebdbb2ff).into()),
179 terminal_background: Some(rgba(0xfbf1c7ff).into()),
180 terminal_ansi_bright_black: Some(rgba(0x928374ff).into()),
181 terminal_ansi_bright_red: Some(rgba(0x9d0006ff).into()),
182 terminal_ansi_bright_green: Some(rgba(0x79740eff).into()),
183 terminal_ansi_bright_yellow: Some(rgba(0xb57613ff).into()),
184 terminal_ansi_bright_blue: Some(rgba(0x066578ff).into()),
185 terminal_ansi_bright_magenta: Some(rgba(0x8f3e71ff).into()),
186 terminal_ansi_bright_cyan: Some(rgba(0x427b58ff).into()),
187 terminal_ansi_bright_white: Some(rgba(0x3c3836ff).into()),
188 terminal_ansi_black: Some(rgba(0xebdbb2ff).into()),
189 terminal_ansi_red: Some(rgba(0xcc241cff).into()),
190 terminal_ansi_green: Some(rgba(0x989719ff).into()),
191 terminal_ansi_yellow: Some(rgba(0xd79920ff).into()),
192 terminal_ansi_blue: Some(rgba(0x448587ff).into()),
193 terminal_ansi_magenta: Some(rgba(0xb16185ff).into()),
194 terminal_ansi_cyan: Some(rgba(0x679d6aff).into()),
195 terminal_ansi_white: Some(rgba(0x7c6f64ff).into()),
196 ..Default::default()
197 },
198 },
199 },
200 UserTheme {
201 name: "Gruvbox Light Soft".into(),
202 appearance: Appearance::Light,
203 styles: UserThemeStylesRefinement {
204 colors: ThemeColorsRefinement {
205 border: Some(rgba(0xebdbb2ff).into()),
206 border_variant: Some(rgba(0xebdbb2ff).into()),
207 border_focused: Some(rgba(0xebdbb2ff).into()),
208 border_selected: Some(rgba(0xebdbb2ff).into()),
209 border_transparent: Some(rgba(0xebdbb2ff).into()),
210 border_disabled: Some(rgba(0xebdbb2ff).into()),
211 background: Some(rgba(0xf2e5bcff).into()),
212 element_background: Some(rgba(0x44858780).into()),
213 text: Some(rgba(0x3c3836ff).into()),
214 tab_inactive_background: Some(rgba(0xf2e5bcff).into()),
215 tab_active_background: Some(rgba(0xd5c4a1ff).into()),
216 terminal_background: Some(rgba(0xf2e5bcff).into()),
217 terminal_ansi_bright_black: Some(rgba(0x928374ff).into()),
218 terminal_ansi_bright_red: Some(rgba(0x9d0006ff).into()),
219 terminal_ansi_bright_green: Some(rgba(0x79740eff).into()),
220 terminal_ansi_bright_yellow: Some(rgba(0xb57613ff).into()),
221 terminal_ansi_bright_blue: Some(rgba(0x066578ff).into()),
222 terminal_ansi_bright_magenta: Some(rgba(0x8f3e71ff).into()),
223 terminal_ansi_bright_cyan: Some(rgba(0x427b58ff).into()),
224 terminal_ansi_bright_white: Some(rgba(0x3c3836ff).into()),
225 terminal_ansi_black: Some(rgba(0xebdbb2ff).into()),
226 terminal_ansi_red: Some(rgba(0xcc241cff).into()),
227 terminal_ansi_green: Some(rgba(0x989719ff).into()),
228 terminal_ansi_yellow: Some(rgba(0xd79920ff).into()),
229 terminal_ansi_blue: Some(rgba(0x448587ff).into()),
230 terminal_ansi_magenta: Some(rgba(0xb16185ff).into()),
231 terminal_ansi_cyan: Some(rgba(0x679d6aff).into()),
232 terminal_ansi_white: Some(rgba(0x7c6f64ff).into()),
233 ..Default::default()
234 },
235 },
236 },
237 ],
238 }
239}