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 solarized() -> UserThemeFamily {
11 UserThemeFamily {
12 name: "Solarized".into(),
13 author: "Ethan Schoonover (altercation)".into(),
14 themes: vec![
15 UserTheme {
16 name: "Solarized Dark".into(),
17 appearance: Appearance::Dark,
18 styles: UserThemeStylesRefinement {
19 colors: ThemeColorsRefinement {
20 border: Some(rgba(0x003847ff).into()),
21 border_variant: Some(rgba(0x003847ff).into()),
22 border_focused: Some(rgba(0x003847ff).into()),
23 border_selected: Some(rgba(0x003847ff).into()),
24 border_transparent: Some(rgba(0x003847ff).into()),
25 border_disabled: Some(rgba(0x003847ff).into()),
26 background: Some(rgba(0x002a35ff).into()),
27 element_background: Some(rgba(0x29a19899).into()),
28 tab_inactive_background: Some(rgba(0x003f51ff).into()),
29 tab_active_background: Some(rgba(0x002a36ff).into()),
30 terminal_ansi_bright_black: Some(rgba(0x586e75ff).into()),
31 terminal_ansi_bright_red: Some(rgba(0xcb4b15ff).into()),
32 terminal_ansi_bright_green: Some(rgba(0x859900ff).into()),
33 terminal_ansi_bright_yellow: Some(rgba(0x657b83ff).into()),
34 terminal_ansi_bright_blue: Some(rgba(0x839496ff).into()),
35 terminal_ansi_bright_magenta: Some(rgba(0x6c71c4ff).into()),
36 terminal_ansi_bright_cyan: Some(rgba(0x93a1a1ff).into()),
37 terminal_ansi_bright_white: Some(rgba(0x839496ff).into()),
38 terminal_ansi_black: Some(rgba(0x063642ff).into()),
39 terminal_ansi_red: Some(rgba(0xdc312eff).into()),
40 terminal_ansi_green: Some(rgba(0x859900ff).into()),
41 terminal_ansi_yellow: Some(rgba(0xb58800ff).into()),
42 terminal_ansi_blue: Some(rgba(0x258ad2ff).into()),
43 terminal_ansi_magenta: Some(rgba(0xd33582ff).into()),
44 terminal_ansi_cyan: Some(rgba(0x29a198ff).into()),
45 terminal_ansi_white: Some(rgba(0x839496ff).into()),
46 ..Default::default()
47 },
48 },
49 },
50 UserTheme {
51 name: "Solarized Light".into(),
52 appearance: Appearance::Light,
53 styles: UserThemeStylesRefinement {
54 colors: ThemeColorsRefinement {
55 border: Some(rgba(0xddd6c1ff).into()),
56 border_variant: Some(rgba(0xddd6c1ff).into()),
57 border_focused: Some(rgba(0xddd6c1ff).into()),
58 border_selected: Some(rgba(0xddd6c1ff).into()),
59 border_transparent: Some(rgba(0xddd6c1ff).into()),
60 border_disabled: Some(rgba(0xddd6c1ff).into()),
61 background: Some(rgba(0xfdf6e3ff).into()),
62 element_background: Some(rgba(0xab9d56ff).into()),
63 tab_inactive_background: Some(rgba(0xd3cbb7ff).into()),
64 tab_active_background: Some(rgba(0xfdf6e3ff).into()),
65 terminal_ansi_bright_black: Some(rgba(0x657b83ff).into()),
66 terminal_ansi_bright_red: Some(rgba(0xcb4b15ff).into()),
67 terminal_ansi_bright_green: Some(rgba(0x859900ff).into()),
68 terminal_ansi_bright_yellow: Some(rgba(0x657b83ff).into()),
69 terminal_ansi_bright_blue: Some(rgba(0x839496ff).into()),
70 terminal_ansi_bright_magenta: Some(rgba(0x6c71c4ff).into()),
71 terminal_ansi_bright_cyan: Some(rgba(0x93a1a1ff).into()),
72 terminal_ansi_bright_white: Some(rgba(0xeee8d5ff).into()),
73 terminal_ansi_black: Some(rgba(0x657b83ff).into()),
74 terminal_ansi_red: Some(rgba(0xdc312eff).into()),
75 terminal_ansi_green: Some(rgba(0x859900ff).into()),
76 terminal_ansi_yellow: Some(rgba(0xb58800ff).into()),
77 terminal_ansi_blue: Some(rgba(0x258ad2ff).into()),
78 terminal_ansi_magenta: Some(rgba(0xd33582ff).into()),
79 terminal_ansi_cyan: Some(rgba(0x29a198ff).into()),
80 terminal_ansi_white: Some(rgba(0xeee8d5ff).into()),
81 ..Default::default()
82 },
83 },
84 },
85 ],
86 }
87}