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