synthwave_84.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 synthwave_84() -> UserThemeFamily {
 13    UserThemeFamily {
 14        name: "Synthwave 84".into(),
 15        author: "Robb Owen (robb0wen)".into(),
 16        themes: vec![UserTheme {
 17            name: "Synthwave 84".into(),
 18            appearance: Appearance::Dark,
 19            styles: UserThemeStylesRefinement {
 20                colors: ThemeColorsRefinement {
 21                    border_focused: Some(rgba(0x1f212bff).into()),
 22                    background: Some(rgba(0x252334ff).into()),
 23                    element_background: Some(rgba(0x614d85ff).into()),
 24                    element_hover: Some(rgba(0x37294d99).into()),
 25                    element_selected: Some(rgba(0xffffff20).into()),
 26                    drop_target_background: Some(rgba(0x34294f66).into()),
 27                    ghost_element_hover: Some(rgba(0x37294d99).into()),
 28                    text: Some(rgba(0xffffffff).into()),
 29                    tab_inactive_background: Some(rgba(0x252334ff).into()),
 30                    editor_background: Some(rgba(0x252334ff).into()),
 31                    editor_gutter_background: Some(rgba(0x252334ff).into()),
 32                    editor_line_number: Some(rgba(0xffffff73).into()),
 33                    terminal_ansi_bright_red: Some(rgba(0xfe444fff).into()),
 34                    terminal_ansi_bright_green: Some(rgba(0x71f1b7ff).into()),
 35                    terminal_ansi_bright_yellow: Some(rgba(0xfede5cff).into()),
 36                    terminal_ansi_bright_blue: Some(rgba(0x02edf9ff).into()),
 37                    terminal_ansi_bright_magenta: Some(rgba(0xff7ddaff).into()),
 38                    terminal_ansi_bright_cyan: Some(rgba(0x02edf9ff).into()),
 39                    terminal_ansi_red: Some(rgba(0xfe444fff).into()),
 40                    terminal_ansi_green: Some(rgba(0x71f1b7ff).into()),
 41                    terminal_ansi_yellow: Some(rgba(0xf3e70fff).into()),
 42                    terminal_ansi_blue: Some(rgba(0x02edf9ff).into()),
 43                    terminal_ansi_magenta: Some(rgba(0xff7ddaff).into()),
 44                    terminal_ansi_cyan: Some(rgba(0x02edf9ff).into()),
 45                    ..Default::default()
 46                },
 47                status: StatusColorsRefinement {
 48                    deleted: Some(rgba(0xfe444fff).into()),
 49                    error: Some(rgba(0xfe444fff).into()),
 50                    warning: Some(rgba(0x71f1b7bb).into()),
 51                    ..Default::default()
 52                },
 53                syntax: Some(UserSyntaxTheme {
 54                    highlights: vec![
 55                        (
 56                            "attribute".into(),
 57                            UserHighlightStyle {
 58                                color: Some(rgba(0xfede5cff).into()),
 59                                ..Default::default()
 60                            },
 61                        ),
 62                        (
 63                            "boolean".into(),
 64                            UserHighlightStyle {
 65                                color: Some(rgba(0xf97d71ff).into()),
 66                                ..Default::default()
 67                            },
 68                        ),
 69                        (
 70                            "comment".into(),
 71                            UserHighlightStyle {
 72                                color: Some(rgba(0x848bbdff).into()),
 73                                font_style: Some(UserFontStyle::Italic),
 74                                ..Default::default()
 75                            },
 76                        ),
 77                        (
 78                            "function".into(),
 79                            UserHighlightStyle {
 80                                color: Some(rgba(0x35f9f5ff).into()),
 81                                ..Default::default()
 82                            },
 83                        ),
 84                        (
 85                            "keyword".into(),
 86                            UserHighlightStyle {
 87                                color: Some(rgba(0xfede5cff).into()),
 88                                ..Default::default()
 89                            },
 90                        ),
 91                        (
 92                            "label".into(),
 93                            UserHighlightStyle {
 94                                color: Some(rgba(0xfe444fff).into()),
 95                                ..Default::default()
 96                            },
 97                        ),
 98                        (
 99                            "link_text".into(),
100                            UserHighlightStyle {
101                                color: Some(rgba(0xdd5500ff).into()),
102                                ..Default::default()
103                            },
104                        ),
105                        (
106                            "link_uri".into(),
107                            UserHighlightStyle {
108                                color: Some(rgba(0xdd5500ff).into()),
109                                ..Default::default()
110                            },
111                        ),
112                        (
113                            "number".into(),
114                            UserHighlightStyle {
115                                color: Some(rgba(0xf97d71ff).into()),
116                                ..Default::default()
117                            },
118                        ),
119                        (
120                            "operator".into(),
121                            UserHighlightStyle {
122                                color: Some(rgba(0xfede5cff).into()),
123                                ..Default::default()
124                            },
125                        ),
126                        (
127                            "property".into(),
128                            UserHighlightStyle {
129                                color: Some(rgba(0xff7ddaff).into()),
130                                ..Default::default()
131                            },
132                        ),
133                        (
134                            "punctuation".into(),
135                            UserHighlightStyle {
136                                color: Some(rgba(0x35f9f5ff).into()),
137                                ..Default::default()
138                            },
139                        ),
140                        (
141                            "tag".into(),
142                            UserHighlightStyle {
143                                color: Some(rgba(0x71f1b7ff).into()),
144                                ..Default::default()
145                            },
146                        ),
147                        (
148                            "title".into(),
149                            UserHighlightStyle {
150                                color: Some(rgba(0xfe444fff).into()),
151                                ..Default::default()
152                            },
153                        ),
154                        (
155                            "type".into(),
156                            UserHighlightStyle {
157                                color: Some(rgba(0xfe444fff).into()),
158                                ..Default::default()
159                            },
160                        ),
161                        (
162                            "variable".into(),
163                            UserHighlightStyle {
164                                color: Some(rgba(0xff7ddaff).into()),
165                                ..Default::default()
166                            },
167                        ),
168                        (
169                            "variable.special".into(),
170                            UserHighlightStyle {
171                                color: Some(rgba(0xfe444fff).into()),
172                                font_weight: Some(UserFontWeight(700.0)),
173                                ..Default::default()
174                            },
175                        ),
176                    ],
177                }),
178            },
179        }],
180    }
181}