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, StatusColorsRefinement, ThemeColorsRefinement, UserTheme, UserThemeFamily,
8 UserThemeStylesRefinement,
9};
10
11pub fn ayu() -> UserThemeFamily {
12 UserThemeFamily {
13 name: "Ayu".into(),
14 author: "dempfi (Ike Ku)".into(),
15 themes: vec![
16 UserTheme {
17 name: "Ayu Light".into(),
18 appearance: Appearance::Light,
19 styles: UserThemeStylesRefinement {
20 colors: ThemeColorsRefinement {
21 border: Some(rgba(0x6b7d8f1f).into()),
22 border_variant: Some(rgba(0x6b7d8f1f).into()),
23 border_focused: Some(rgba(0xffaa32b3).into()),
24 border_selected: Some(rgba(0x6b7d8f1f).into()),
25 border_transparent: Some(rgba(0x6b7d8f1f).into()),
26 border_disabled: Some(rgba(0x6b7d8f1f).into()),
27 elevated_surface_background: Some(rgba(0xf8f9faff).into()),
28 surface_background: Some(rgba(0xf8f9faff).into()),
29 background: Some(rgba(0xf8f9faff).into()),
30 element_background: Some(rgba(0xffaa32ff).into()),
31 element_hover: Some(rgba(0x55728f1f).into()),
32 element_selected: Some(rgba(0x55728f1f).into()),
33 ghost_element_hover: Some(rgba(0x55728f1f).into()),
34 text: Some(rgba(0x8a9199ff).into()),
35 tab_inactive_background: Some(rgba(0xf8f9faff).into()),
36 tab_active_background: Some(rgba(0xf8f9faff).into()),
37 editor_background: Some(rgba(0xf8f9faff).into()),
38 editor_gutter_background: Some(rgba(0xf8f9faff).into()),
39 editor_line_number: Some(rgba(0x8a919966).into()),
40 editor_active_line_number: Some(rgba(0x5c6166ff).into()),
41 terminal_background: Some(rgba(0xf8f9faff).into()),
42 terminal_ansi_bright_black: Some(rgba(0x686868ff).into()),
43 terminal_ansi_bright_red: Some(rgba(0xef7070ff).into()),
44 terminal_ansi_bright_green: Some(rgba(0x86b300ff).into()),
45 terminal_ansi_bright_yellow: Some(rgba(0xf2ad48ff).into()),
46 terminal_ansi_bright_blue: Some(rgba(0x389ee6ff).into()),
47 terminal_ansi_bright_magenta: Some(rgba(0xa37accff).into()),
48 terminal_ansi_bright_cyan: Some(rgba(0x4bbf98ff).into()),
49 terminal_ansi_bright_white: Some(rgba(0xd1d1d1ff).into()),
50 terminal_ansi_black: Some(rgba(0x000000ff).into()),
51 terminal_ansi_red: Some(rgba(0xea6c6dff).into()),
52 terminal_ansi_green: Some(rgba(0x6cbf43ff).into()),
53 terminal_ansi_yellow: Some(rgba(0xeca944ff).into()),
54 terminal_ansi_blue: Some(rgba(0x3198e1ff).into()),
55 terminal_ansi_magenta: Some(rgba(0x9e75c7ff).into()),
56 terminal_ansi_cyan: Some(rgba(0x46ba94ff).into()),
57 terminal_ansi_white: Some(rgba(0xc7c7c7ff).into()),
58 ..Default::default()
59 },
60 status: StatusColorsRefinement {
61 deleted: Some(rgba(0xe65050ff).into()),
62 error: Some(rgba(0xe65050ff).into()),
63 hidden: Some(rgba(0x8a9199ff).into()),
64 ..Default::default()
65 },
66 syntax: Some(UserSyntaxTheme {
67 highlights: vec![
68 ("comment".into(), rgba(0x787b8099).into()),
69 ("something".into(), rgba(0x86b300ff).into()),
70 ("something".into(), rgba(0x5c6166ff).into()),
71 ("something".into(), rgba(0xfa8d3eff).into()),
72 ("punctuation".into(), rgba(0x5c6166b3).into()),
73 ("punctuation".into(), rgba(0x5c6166ff).into()),
74 ("punctuation".into(), rgba(0xed9365ff).into()),
75 ("punctuation".into(), rgba(0xfa8d3eff).into()),
76 ("punctuation".into(), rgba(0xfa8d3eff).into()),
77 ("punctuation".into(), rgba(0x55b4d380).into()),
78 ("punctuation".into(), rgba(0x55b4d380).into()),
79 ("punctuation".into(), rgba(0x55b4d380).into()),
80 ("punctuation".into(), rgba(0x787b8099).into()),
81 ],
82 }),
83 },
84 },
85 UserTheme {
86 name: "Ayu Mirage".into(),
87 appearance: Appearance::Dark,
88 styles: UserThemeStylesRefinement {
89 colors: ThemeColorsRefinement {
90 border: Some(rgba(0x171a24ff).into()),
91 border_variant: Some(rgba(0x171a24ff).into()),
92 border_focused: Some(rgba(0xffcb65b3).into()),
93 border_selected: Some(rgba(0x171a24ff).into()),
94 border_transparent: Some(rgba(0x171a24ff).into()),
95 border_disabled: Some(rgba(0x171a24ff).into()),
96 elevated_surface_background: Some(rgba(0x1f2430ff).into()),
97 surface_background: Some(rgba(0x1f2430ff).into()),
98 background: Some(rgba(0x1f2430ff).into()),
99 element_background: Some(rgba(0xffcb65ff).into()),
100 element_hover: Some(rgba(0x63759926).into()),
101 element_selected: Some(rgba(0x63759926).into()),
102 ghost_element_hover: Some(rgba(0x63759926).into()),
103 text: Some(rgba(0x707a8cff).into()),
104 tab_inactive_background: Some(rgba(0x1f2430ff).into()),
105 tab_active_background: Some(rgba(0x1f2430ff).into()),
106 editor_background: Some(rgba(0x1f2430ff).into()),
107 editor_gutter_background: Some(rgba(0x1f2430ff).into()),
108 editor_line_number: Some(rgba(0x8a919966).into()),
109 editor_active_line_number: Some(rgba(0xcccac2ff).into()),
110 terminal_background: Some(rgba(0x1f2430ff).into()),
111 terminal_ansi_bright_black: Some(rgba(0x686868ff).into()),
112 terminal_ansi_bright_red: Some(rgba(0xf18678ff).into()),
113 terminal_ansi_bright_green: Some(rgba(0xd4fe7fff).into()),
114 terminal_ansi_bright_yellow: Some(rgba(0xffd173ff).into()),
115 terminal_ansi_bright_blue: Some(rgba(0x73cfffff).into()),
116 terminal_ansi_bright_magenta: Some(rgba(0xdfbfffff).into()),
117 terminal_ansi_bright_cyan: Some(rgba(0x95e6cbff).into()),
118 terminal_ansi_bright_white: Some(rgba(0xffffffff).into()),
119 terminal_ansi_black: Some(rgba(0x171a24ff).into()),
120 terminal_ansi_red: Some(rgba(0xed8173ff).into()),
121 terminal_ansi_green: Some(rgba(0x86d96bff).into()),
122 terminal_ansi_yellow: Some(rgba(0xfacc6eff).into()),
123 terminal_ansi_blue: Some(rgba(0x6ccafaff).into()),
124 terminal_ansi_magenta: Some(rgba(0xdabafaff).into()),
125 terminal_ansi_cyan: Some(rgba(0x90e1c6ff).into()),
126 terminal_ansi_white: Some(rgba(0xc7c7c7ff).into()),
127 ..Default::default()
128 },
129 status: StatusColorsRefinement {
130 deleted: Some(rgba(0xff6565ff).into()),
131 error: Some(rgba(0xff6565ff).into()),
132 hidden: Some(rgba(0x707a8cff).into()),
133 ..Default::default()
134 },
135 syntax: Some(UserSyntaxTheme {
136 highlights: vec![
137 ("comment".into(), rgba(0xb8cfe680).into()),
138 ("something".into(), rgba(0xd4fe7fff).into()),
139 ("something".into(), rgba(0xcccac2ff).into()),
140 ("something".into(), rgba(0xffad65ff).into()),
141 ("punctuation".into(), rgba(0xcccac2b3).into()),
142 ("punctuation".into(), rgba(0xcccac2ff).into()),
143 ("punctuation".into(), rgba(0xf29e74ff).into()),
144 ("punctuation".into(), rgba(0xffad65ff).into()),
145 ("punctuation".into(), rgba(0xffad65ff).into()),
146 ("punctuation".into(), rgba(0x5ccfe680).into()),
147 ("punctuation".into(), rgba(0x5ccfe680).into()),
148 ("punctuation".into(), rgba(0x5ccfe680).into()),
149 ("punctuation".into(), rgba(0xb8cfe680).into()),
150 ],
151 }),
152 },
153 },
154 UserTheme {
155 name: "Ayu Dark".into(),
156 appearance: Appearance::Dark,
157 styles: UserThemeStylesRefinement {
158 colors: ThemeColorsRefinement {
159 border: Some(rgba(0x1e232bff).into()),
160 border_variant: Some(rgba(0x1e232bff).into()),
161 border_focused: Some(rgba(0xe6b450b3).into()),
162 border_selected: Some(rgba(0x1e232bff).into()),
163 border_transparent: Some(rgba(0x1e232bff).into()),
164 border_disabled: Some(rgba(0x1e232bff).into()),
165 elevated_surface_background: Some(rgba(0x0b0e14ff).into()),
166 surface_background: Some(rgba(0x0b0e14ff).into()),
167 background: Some(rgba(0x0b0e14ff).into()),
168 element_background: Some(rgba(0xe6b450ff).into()),
169 element_hover: Some(rgba(0x47526640).into()),
170 element_selected: Some(rgba(0x47526640).into()),
171 ghost_element_hover: Some(rgba(0x47526640).into()),
172 text: Some(rgba(0x565b66ff).into()),
173 tab_inactive_background: Some(rgba(0x0b0e14ff).into()),
174 tab_active_background: Some(rgba(0x0b0e14ff).into()),
175 editor_background: Some(rgba(0x0b0e14ff).into()),
176 editor_gutter_background: Some(rgba(0x0b0e14ff).into()),
177 editor_line_number: Some(rgba(0x6c738099).into()),
178 editor_active_line_number: Some(rgba(0xbfbdb6ff).into()),
179 terminal_background: Some(rgba(0x0b0e14ff).into()),
180 terminal_ansi_bright_black: Some(rgba(0x686868ff).into()),
181 terminal_ansi_bright_red: Some(rgba(0xef7077ff).into()),
182 terminal_ansi_bright_green: Some(rgba(0xa9d94bff).into()),
183 terminal_ansi_bright_yellow: Some(rgba(0xffb353ff).into()),
184 terminal_ansi_bright_blue: Some(rgba(0x59c2ffff).into()),
185 terminal_ansi_bright_magenta: Some(rgba(0xd2a6ffff).into()),
186 terminal_ansi_bright_cyan: Some(rgba(0x95e6cbff).into()),
187 terminal_ansi_bright_white: Some(rgba(0xffffffff).into()),
188 terminal_ansi_black: Some(rgba(0x1e232bff).into()),
189 terminal_ansi_red: Some(rgba(0xea6c72ff).into()),
190 terminal_ansi_green: Some(rgba(0x7ed962ff).into()),
191 terminal_ansi_yellow: Some(rgba(0xf9af4fff).into()),
192 terminal_ansi_blue: Some(rgba(0x52bdfaff).into()),
193 terminal_ansi_magenta: Some(rgba(0xcca1faff).into()),
194 terminal_ansi_cyan: Some(rgba(0x90e1c6ff).into()),
195 terminal_ansi_white: Some(rgba(0xc7c7c7ff).into()),
196 ..Default::default()
197 },
198 status: StatusColorsRefinement {
199 deleted: Some(rgba(0xd95757ff).into()),
200 error: Some(rgba(0xd95757ff).into()),
201 hidden: Some(rgba(0x565b66ff).into()),
202 ..Default::default()
203 },
204 syntax: Some(UserSyntaxTheme {
205 highlights: vec![
206 ("comment".into(), rgba(0xabb5be8c).into()),
207 ("something".into(), rgba(0xa9d94bff).into()),
208 ("something".into(), rgba(0xbfbdb6ff).into()),
209 ("something".into(), rgba(0xff8f3fff).into()),
210 ("punctuation".into(), rgba(0xbfbdb6b3).into()),
211 ("punctuation".into(), rgba(0xbfbdb6ff).into()),
212 ("punctuation".into(), rgba(0xf29668ff).into()),
213 ("punctuation".into(), rgba(0xff8f3fff).into()),
214 ("punctuation".into(), rgba(0xff8f3fff).into()),
215 ("punctuation".into(), rgba(0x38b9e680).into()),
216 ("punctuation".into(), rgba(0x38b9e680).into()),
217 ("punctuation".into(), rgba(0x38b9e680).into()),
218 ("punctuation".into(), rgba(0xabb5be8c).into()),
219 ],
220 }),
221 },
222 },
223 ],
224 }
225}