nord.rs

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