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 nord() -> UserThemeFamily {
13 UserThemeFamily {
14 name: "Nord".into(),
15 author: "Sven Greb (svengreb)".into(),
16 themes: vec![UserTheme {
17 name: "Nord".into(),
18 appearance: Appearance::Dark,
19 styles: UserThemeStylesRefinement {
20 colors: ThemeColorsRefinement {
21 border: Some(rgba(0x3b4252ff).into()),
22 border_variant: Some(rgba(0x3b4252ff).into()),
23 border_focused: Some(rgba(0x3b4252ff).into()),
24 border_selected: Some(rgba(0x3b4252ff).into()),
25 border_transparent: Some(rgba(0x3b4252ff).into()),
26 border_disabled: Some(rgba(0x3b4252ff).into()),
27 elevated_surface_background: Some(rgba(0x3b4252ff).into()),
28 surface_background: Some(rgba(0x2e3440ff).into()),
29 background: Some(rgba(0x2e3440ff).into()),
30 element_background: Some(rgba(0x88c0d0ee).into()),
31 element_hover: Some(rgba(0x3b4252ff).into()),
32 element_selected: Some(rgba(0x88c0d0ff).into()),
33 drop_target_background: Some(rgba(0x88c0d099).into()),
34 ghost_element_hover: Some(rgba(0x3b4252ff).into()),
35 ghost_element_selected: Some(rgba(0x88c0d0ff).into()),
36 text: Some(rgba(0xd8dee9ff).into()),
37 text_muted: Some(rgba(0xd8dee966).into()),
38 status_bar_background: Some(rgba(0x3b4252ff).into()),
39 title_bar_background: Some(rgba(0x2e3440ff).into()),
40 toolbar_background: Some(rgba(0x2e3440ff).into()),
41 tab_bar_background: Some(rgba(0x2e3440ff).into()),
42 tab_inactive_background: Some(rgba(0x2e3440ff).into()),
43 tab_active_background: Some(rgba(0x3b4252ff).into()),
44 scrollbar_thumb_background: Some(rgba(0x434c5e99).into()),
45 scrollbar_thumb_hover_background: Some(rgba(0x434c5eaa).into()),
46 scrollbar_thumb_border: Some(rgba(0x434c5e99).into()),
47 scrollbar_track_background: Some(rgba(0x2e3440ff).into()),
48 scrollbar_track_border: Some(rgba(0x3b4252ff).into()),
49 editor_background: Some(rgba(0x2e3440ff).into()),
50 editor_gutter_background: Some(rgba(0x2e3440ff).into()),
51 editor_line_number: Some(rgba(0x4c566aff).into()),
52 editor_active_line_number: Some(rgba(0xd8dee9ff).into()),
53 terminal_background: Some(rgba(0x2e3440ff).into()),
54 terminal_ansi_bright_black: Some(rgba(0x4c566aff).into()),
55 terminal_ansi_bright_red: Some(rgba(0xbf616aff).into()),
56 terminal_ansi_bright_green: Some(rgba(0xa3be8cff).into()),
57 terminal_ansi_bright_yellow: Some(rgba(0xebcb8bff).into()),
58 terminal_ansi_bright_blue: Some(rgba(0x81a1c1ff).into()),
59 terminal_ansi_bright_magenta: Some(rgba(0xb48eadff).into()),
60 terminal_ansi_bright_cyan: Some(rgba(0x8fbcbbff).into()),
61 terminal_ansi_bright_white: Some(rgba(0xeceff4ff).into()),
62 terminal_ansi_black: Some(rgba(0x3b4252ff).into()),
63 terminal_ansi_red: Some(rgba(0xbf616aff).into()),
64 terminal_ansi_green: Some(rgba(0xa3be8cff).into()),
65 terminal_ansi_yellow: Some(rgba(0xebcb8bff).into()),
66 terminal_ansi_blue: Some(rgba(0x81a1c1ff).into()),
67 terminal_ansi_magenta: Some(rgba(0xb48eadff).into()),
68 terminal_ansi_cyan: Some(rgba(0x88c0d0ff).into()),
69 terminal_ansi_white: Some(rgba(0xe5e9f0ff).into()),
70 ..Default::default()
71 },
72 status: StatusColorsRefinement {
73 conflict: Some(rgba(0x5e81acff).into()),
74 created: Some(rgba(0xa3be8cff).into()),
75 deleted: Some(rgba(0xbf616aff).into()),
76 error: Some(rgba(0xbf616aff).into()),
77 hidden: Some(rgba(0xd8dee966).into()),
78 hint: Some(rgba(0xd8dee9ff).into()),
79 ignored: Some(rgba(0xd8dee966).into()),
80 modified: Some(rgba(0xebcb8bff).into()),
81 warning: Some(rgba(0xebcb8bff).into()),
82 ..Default::default()
83 },
84 syntax: Some(UserSyntaxTheme {
85 highlights: vec![
86 (
87 "attribute".into(),
88 UserHighlightStyle {
89 color: Some(rgba(0x8fbcbbff).into()),
90 ..Default::default()
91 },
92 ),
93 (
94 "boolean".into(),
95 UserHighlightStyle {
96 color: Some(rgba(0x81a1c1ff).into()),
97 ..Default::default()
98 },
99 ),
100 (
101 "comment".into(),
102 UserHighlightStyle {
103 color: Some(rgba(0x616e88ff).into()),
104 ..Default::default()
105 },
106 ),
107 (
108 "comment.doc".into(),
109 UserHighlightStyle {
110 color: Some(rgba(0x616e88ff).into()),
111 ..Default::default()
112 },
113 ),
114 (
115 "constant".into(),
116 UserHighlightStyle {
117 color: Some(rgba(0x81a1c1ff).into()),
118 ..Default::default()
119 },
120 ),
121 (
122 "constructor".into(),
123 UserHighlightStyle {
124 color: Some(rgba(0x81a1c1ff).into()),
125 ..Default::default()
126 },
127 ),
128 (
129 "function".into(),
130 UserHighlightStyle {
131 color: Some(rgba(0x88c0d0ff).into()),
132 ..Default::default()
133 },
134 ),
135 (
136 "keyword".into(),
137 UserHighlightStyle {
138 color: Some(rgba(0x81a1c1ff).into()),
139 ..Default::default()
140 },
141 ),
142 (
143 "number".into(),
144 UserHighlightStyle {
145 color: Some(rgba(0xb48eadff).into()),
146 ..Default::default()
147 },
148 ),
149 (
150 "operator".into(),
151 UserHighlightStyle {
152 color: Some(rgba(0x81a1c1ff).into()),
153 ..Default::default()
154 },
155 ),
156 (
157 "preproc".into(),
158 UserHighlightStyle {
159 color: Some(rgba(0x5e81acff).into()),
160 ..Default::default()
161 },
162 ),
163 (
164 "punctuation".into(),
165 UserHighlightStyle {
166 color: Some(rgba(0xeceff4ff).into()),
167 ..Default::default()
168 },
169 ),
170 (
171 "punctuation.bracket".into(),
172 UserHighlightStyle {
173 color: Some(rgba(0xeceff4ff).into()),
174 ..Default::default()
175 },
176 ),
177 (
178 "punctuation.delimiter".into(),
179 UserHighlightStyle {
180 color: Some(rgba(0x81a1c1ff).into()),
181 ..Default::default()
182 },
183 ),
184 (
185 "punctuation.list_marker".into(),
186 UserHighlightStyle {
187 color: Some(rgba(0xeceff4ff).into()),
188 ..Default::default()
189 },
190 ),
191 (
192 "punctuation.special".into(),
193 UserHighlightStyle {
194 color: Some(rgba(0xeceff4ff).into()),
195 ..Default::default()
196 },
197 ),
198 (
199 "string".into(),
200 UserHighlightStyle {
201 color: Some(rgba(0xa3be8cff).into()),
202 ..Default::default()
203 },
204 ),
205 (
206 "string.escape".into(),
207 UserHighlightStyle {
208 color: Some(rgba(0xebcb8bff).into()),
209 ..Default::default()
210 },
211 ),
212 (
213 "string.regex".into(),
214 UserHighlightStyle {
215 color: Some(rgba(0xa3be8cff).into()),
216 ..Default::default()
217 },
218 ),
219 (
220 "string.special".into(),
221 UserHighlightStyle {
222 color: Some(rgba(0xa3be8cff).into()),
223 ..Default::default()
224 },
225 ),
226 (
227 "string.special.symbol".into(),
228 UserHighlightStyle {
229 color: Some(rgba(0xa3be8cff).into()),
230 ..Default::default()
231 },
232 ),
233 (
234 "tag".into(),
235 UserHighlightStyle {
236 color: Some(rgba(0x81a1c1ff).into()),
237 ..Default::default()
238 },
239 ),
240 (
241 "text.literal".into(),
242 UserHighlightStyle {
243 color: Some(rgba(0xa3be8cff).into()),
244 ..Default::default()
245 },
246 ),
247 (
248 "type".into(),
249 UserHighlightStyle {
250 color: Some(rgba(0x8fbcbbff).into()),
251 ..Default::default()
252 },
253 ),
254 (
255 "variable".into(),
256 UserHighlightStyle {
257 color: Some(rgba(0x81a1c1ff).into()),
258 ..Default::default()
259 },
260 ),
261 (
262 "variable.special".into(),
263 UserHighlightStyle {
264 color: Some(rgba(0x81a1c1ff).into()),
265 ..Default::default()
266 },
267 ),
268 ],
269 }),
270 },
271 }],
272 }
273}