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(0x88bfd0ee).into()),
31 element_hover: Some(rgba(0x3b4252ff).into()),
32 element_selected: Some(rgba(0x88bfd0ff).into()),
33 drop_target_background: Some(rgba(0x88bfd099).into()),
34 ghost_element_hover: Some(rgba(0x3b4252ff).into()),
35 text: Some(rgba(0xd8dee9ff).into()),
36 tab_inactive_background: Some(rgba(0x2e3440ff).into()),
37 tab_active_background: Some(rgba(0x3b4252ff).into()),
38 editor_background: Some(rgba(0x2e3440ff).into()),
39 editor_gutter_background: Some(rgba(0x2e3440ff).into()),
40 editor_line_number: Some(rgba(0x4c566aff).into()),
41 editor_active_line_number: Some(rgba(0xd8dee9ff).into()),
42 terminal_background: Some(rgba(0x2e3440ff).into()),
43 terminal_ansi_bright_black: Some(rgba(0x4c566aff).into()),
44 terminal_ansi_bright_red: Some(rgba(0xbf616aff).into()),
45 terminal_ansi_bright_green: Some(rgba(0xa3be8cff).into()),
46 terminal_ansi_bright_yellow: Some(rgba(0xebcb8bff).into()),
47 terminal_ansi_bright_blue: Some(rgba(0x81a1c1ff).into()),
48 terminal_ansi_bright_magenta: Some(rgba(0xb48eacff).into()),
49 terminal_ansi_bright_cyan: Some(rgba(0x8fbcbbff).into()),
50 terminal_ansi_bright_white: Some(rgba(0xeceff4ff).into()),
51 terminal_ansi_black: Some(rgba(0x3b4252ff).into()),
52 terminal_ansi_red: Some(rgba(0xbf616aff).into()),
53 terminal_ansi_green: Some(rgba(0xa3be8cff).into()),
54 terminal_ansi_yellow: Some(rgba(0xebcb8bff).into()),
55 terminal_ansi_blue: Some(rgba(0x81a1c1ff).into()),
56 terminal_ansi_magenta: Some(rgba(0xb48eacff).into()),
57 terminal_ansi_cyan: Some(rgba(0x88bfd0ff).into()),
58 terminal_ansi_white: Some(rgba(0xe5e9f0ff).into()),
59 ..Default::default()
60 },
61 status: StatusColorsRefinement {
62 deleted: Some(rgba(0xbf616aff).into()),
63 error: Some(rgba(0xbf616aff).into()),
64 hidden: Some(rgba(0xd8dee966).into()),
65 warning: Some(rgba(0xebcb8bff).into()),
66 ..Default::default()
67 },
68 syntax: Some(UserSyntaxTheme {
69 highlights: vec![
70 (
71 "attribute".into(),
72 UserHighlightStyle {
73 color: Some(rgba(0x8fbcbbff).into()),
74 ..Default::default()
75 },
76 ),
77 (
78 "boolean".into(),
79 UserHighlightStyle {
80 color: Some(rgba(0x81a1c1ff).into()),
81 ..Default::default()
82 },
83 ),
84 (
85 "comment".into(),
86 UserHighlightStyle {
87 color: Some(rgba(0x606e87ff).into()),
88 ..Default::default()
89 },
90 ),
91 (
92 "constant".into(),
93 UserHighlightStyle {
94 color: Some(rgba(0xebcb8bff).into()),
95 ..Default::default()
96 },
97 ),
98 (
99 "emphasis.strong".into(),
100 UserHighlightStyle {
101 font_weight: Some(UserFontWeight(700.0)),
102 ..Default::default()
103 },
104 ),
105 (
106 "function".into(),
107 UserHighlightStyle {
108 color: Some(rgba(0x88bfd0ff).into()),
109 ..Default::default()
110 },
111 ),
112 (
113 "keyword".into(),
114 UserHighlightStyle {
115 color: Some(rgba(0x81a1c1ff).into()),
116 ..Default::default()
117 },
118 ),
119 (
120 "number".into(),
121 UserHighlightStyle {
122 color: Some(rgba(0xb48eacff).into()),
123 ..Default::default()
124 },
125 ),
126 (
127 "operator".into(),
128 UserHighlightStyle {
129 color: Some(rgba(0x81a1c1ff).into()),
130 ..Default::default()
131 },
132 ),
133 (
134 "punctuation".into(),
135 UserHighlightStyle {
136 color: Some(rgba(0xeceff4ff).into()),
137 ..Default::default()
138 },
139 ),
140 (
141 "punctuation.delimiter".into(),
142 UserHighlightStyle {
143 color: Some(rgba(0x81a1c1ff).into()),
144 ..Default::default()
145 },
146 ),
147 (
148 "string".into(),
149 UserHighlightStyle {
150 color: Some(rgba(0xa3be8cff).into()),
151 ..Default::default()
152 },
153 ),
154 (
155 "string.escape".into(),
156 UserHighlightStyle {
157 color: Some(rgba(0xebcb8bff).into()),
158 ..Default::default()
159 },
160 ),
161 (
162 "tag".into(),
163 UserHighlightStyle {
164 color: Some(rgba(0x81a1c1ff).into()),
165 ..Default::default()
166 },
167 ),
168 (
169 "text.literal".into(),
170 UserHighlightStyle {
171 color: Some(rgba(0xa3be8cff).into()),
172 ..Default::default()
173 },
174 ),
175 (
176 "type".into(),
177 UserHighlightStyle {
178 color: Some(rgba(0x8fbcbbff).into()),
179 ..Default::default()
180 },
181 ),
182 (
183 "variable".into(),
184 UserHighlightStyle {
185 color: Some(rgba(0x81a1c1ff).into()),
186 ..Default::default()
187 },
188 ),
189 (
190 "variable.special".into(),
191 UserHighlightStyle {
192 color: Some(rgba(0x81a1c1ff).into()),
193 ..Default::default()
194 },
195 ),
196 ],
197 }),
198 },
199 }],
200 }
201}