1// This file was generated by the `theme_importer`.
2// Be careful when modifying it by hand.
3
4use gpui::rgba;
5
6use crate::{
7 Appearance, ThemeColorsRefinement, UserTheme, UserThemeFamily, UserThemeStylesRefinement,
8};
9
10pub fn ayu() -> UserThemeFamily {
11 UserThemeFamily {
12 name: "Ayu".into(),
13 author: "dempfi (Ike Ku)".into(),
14 themes: vec![
15 UserTheme {
16 name: "Ayu Light".into(),
17 appearance: Appearance::Light,
18 styles: UserThemeStylesRefinement {
19 colors: ThemeColorsRefinement {
20 border: Some(rgba(0x6b7d8f1f).into()),
21 border_variant: Some(rgba(0x6b7d8f1f).into()),
22 border_focused: Some(rgba(0x6b7d8f1f).into()),
23 border_selected: Some(rgba(0x6b7d8f1f).into()),
24 border_transparent: Some(rgba(0x6b7d8f1f).into()),
25 border_disabled: Some(rgba(0x6b7d8f1f).into()),
26 elevated_surface_background: Some(rgba(0xf8f9faff).into()),
27 surface_background: Some(rgba(0xf8f9faff).into()),
28 background: Some(rgba(0xf8f9faff).into()),
29 element_background: Some(rgba(0xffaa32ff).into()),
30 text: Some(rgba(0x8a9199ff).into()),
31 tab_inactive_background: Some(rgba(0xf8f9faff).into()),
32 tab_active_background: Some(rgba(0xf8f9faff).into()),
33 terminal_background: Some(rgba(0xf8f9faff).into()),
34 terminal_ansi_bright_black: Some(rgba(0x686868ff).into()),
35 terminal_ansi_bright_red: Some(rgba(0xef7070ff).into()),
36 terminal_ansi_bright_green: Some(rgba(0x86b300ff).into()),
37 terminal_ansi_bright_yellow: Some(rgba(0xf2ad48ff).into()),
38 terminal_ansi_bright_blue: Some(rgba(0x389ee6ff).into()),
39 terminal_ansi_bright_magenta: Some(rgba(0xa37accff).into()),
40 terminal_ansi_bright_cyan: Some(rgba(0x4bbf98ff).into()),
41 terminal_ansi_bright_white: Some(rgba(0xd1d1d1ff).into()),
42 terminal_ansi_black: Some(rgba(0x000000ff).into()),
43 terminal_ansi_red: Some(rgba(0xea6c6dff).into()),
44 terminal_ansi_green: Some(rgba(0x6cbf43ff).into()),
45 terminal_ansi_yellow: Some(rgba(0xeca944ff).into()),
46 terminal_ansi_blue: Some(rgba(0x3198e1ff).into()),
47 terminal_ansi_magenta: Some(rgba(0x9e75c7ff).into()),
48 terminal_ansi_cyan: Some(rgba(0x46ba94ff).into()),
49 terminal_ansi_white: Some(rgba(0xc7c7c7ff).into()),
50 ..Default::default()
51 },
52 },
53 },
54 UserTheme {
55 name: "Ayu Mirage".into(),
56 appearance: Appearance::Dark,
57 styles: UserThemeStylesRefinement {
58 colors: ThemeColorsRefinement {
59 border: Some(rgba(0x171a24ff).into()),
60 border_variant: Some(rgba(0x171a24ff).into()),
61 border_focused: Some(rgba(0x171a24ff).into()),
62 border_selected: Some(rgba(0x171a24ff).into()),
63 border_transparent: Some(rgba(0x171a24ff).into()),
64 border_disabled: Some(rgba(0x171a24ff).into()),
65 elevated_surface_background: Some(rgba(0x1f2430ff).into()),
66 surface_background: Some(rgba(0x1f2430ff).into()),
67 background: Some(rgba(0x1f2430ff).into()),
68 element_background: Some(rgba(0xffcb65ff).into()),
69 text: Some(rgba(0x707a8cff).into()),
70 tab_inactive_background: Some(rgba(0x1f2430ff).into()),
71 tab_active_background: Some(rgba(0x1f2430ff).into()),
72 terminal_background: Some(rgba(0x1f2430ff).into()),
73 terminal_ansi_bright_black: Some(rgba(0x686868ff).into()),
74 terminal_ansi_bright_red: Some(rgba(0xf18678ff).into()),
75 terminal_ansi_bright_green: Some(rgba(0xd4fe7fff).into()),
76 terminal_ansi_bright_yellow: Some(rgba(0xffd173ff).into()),
77 terminal_ansi_bright_blue: Some(rgba(0x73cfffff).into()),
78 terminal_ansi_bright_magenta: Some(rgba(0xdfbfffff).into()),
79 terminal_ansi_bright_cyan: Some(rgba(0x95e6cbff).into()),
80 terminal_ansi_bright_white: Some(rgba(0xffffffff).into()),
81 terminal_ansi_black: Some(rgba(0x171a24ff).into()),
82 terminal_ansi_red: Some(rgba(0xed8173ff).into()),
83 terminal_ansi_green: Some(rgba(0x86d96bff).into()),
84 terminal_ansi_yellow: Some(rgba(0xfacc6eff).into()),
85 terminal_ansi_blue: Some(rgba(0x6ccafaff).into()),
86 terminal_ansi_magenta: Some(rgba(0xdabafaff).into()),
87 terminal_ansi_cyan: Some(rgba(0x90e1c6ff).into()),
88 terminal_ansi_white: Some(rgba(0xc7c7c7ff).into()),
89 ..Default::default()
90 },
91 },
92 },
93 UserTheme {
94 name: "Ayu Dark".into(),
95 appearance: Appearance::Dark,
96 styles: UserThemeStylesRefinement {
97 colors: ThemeColorsRefinement {
98 border: Some(rgba(0x1e232bff).into()),
99 border_variant: Some(rgba(0x1e232bff).into()),
100 border_focused: Some(rgba(0x1e232bff).into()),
101 border_selected: Some(rgba(0x1e232bff).into()),
102 border_transparent: Some(rgba(0x1e232bff).into()),
103 border_disabled: Some(rgba(0x1e232bff).into()),
104 elevated_surface_background: Some(rgba(0x0b0e14ff).into()),
105 surface_background: Some(rgba(0x0b0e14ff).into()),
106 background: Some(rgba(0x0b0e14ff).into()),
107 element_background: Some(rgba(0xe6b450ff).into()),
108 text: Some(rgba(0x565b66ff).into()),
109 tab_inactive_background: Some(rgba(0x0b0e14ff).into()),
110 tab_active_background: Some(rgba(0x0b0e14ff).into()),
111 terminal_background: Some(rgba(0x0b0e14ff).into()),
112 terminal_ansi_bright_black: Some(rgba(0x686868ff).into()),
113 terminal_ansi_bright_red: Some(rgba(0xef7077ff).into()),
114 terminal_ansi_bright_green: Some(rgba(0xa9d94bff).into()),
115 terminal_ansi_bright_yellow: Some(rgba(0xffb353ff).into()),
116 terminal_ansi_bright_blue: Some(rgba(0x59c2ffff).into()),
117 terminal_ansi_bright_magenta: Some(rgba(0xd2a6ffff).into()),
118 terminal_ansi_bright_cyan: Some(rgba(0x95e6cbff).into()),
119 terminal_ansi_bright_white: Some(rgba(0xffffffff).into()),
120 terminal_ansi_black: Some(rgba(0x1e232bff).into()),
121 terminal_ansi_red: Some(rgba(0xea6c72ff).into()),
122 terminal_ansi_green: Some(rgba(0x7ed962ff).into()),
123 terminal_ansi_yellow: Some(rgba(0xf9af4fff).into()),
124 terminal_ansi_blue: Some(rgba(0x52bdfaff).into()),
125 terminal_ansi_magenta: Some(rgba(0xcca1faff).into()),
126 terminal_ansi_cyan: Some(rgba(0x90e1c6ff).into()),
127 terminal_ansi_white: Some(rgba(0xc7c7c7ff).into()),
128 ..Default::default()
129 },
130 },
131 },
132 ],
133 }
134}