solarized.rs

 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                        editor_background: Some(rgba(0x002a35ff).into()),
31                        editor_gutter_background: Some(rgba(0x002a35ff).into()),
32                        editor_line_number: Some(rgba(0x566c74ff).into()),
33                        terminal_ansi_bright_black: Some(rgba(0x586e75ff).into()),
34                        terminal_ansi_bright_red: Some(rgba(0xcb4b15ff).into()),
35                        terminal_ansi_bright_green: Some(rgba(0x859900ff).into()),
36                        terminal_ansi_bright_yellow: Some(rgba(0x657b83ff).into()),
37                        terminal_ansi_bright_blue: Some(rgba(0x839496ff).into()),
38                        terminal_ansi_bright_magenta: Some(rgba(0x6c71c4ff).into()),
39                        terminal_ansi_bright_cyan: Some(rgba(0x93a1a1ff).into()),
40                        terminal_ansi_bright_white: Some(rgba(0x839496ff).into()),
41                        terminal_ansi_black: Some(rgba(0x063642ff).into()),
42                        terminal_ansi_red: Some(rgba(0xdc312eff).into()),
43                        terminal_ansi_green: Some(rgba(0x859900ff).into()),
44                        terminal_ansi_yellow: Some(rgba(0xb58800ff).into()),
45                        terminal_ansi_blue: Some(rgba(0x258ad2ff).into()),
46                        terminal_ansi_magenta: Some(rgba(0xd33582ff).into()),
47                        terminal_ansi_cyan: Some(rgba(0x29a198ff).into()),
48                        terminal_ansi_white: Some(rgba(0x839496ff).into()),
49                        ..Default::default()
50                    },
51                },
52            },
53            UserTheme {
54                name: "Solarized Light".into(),
55                appearance: Appearance::Light,
56                styles: UserThemeStylesRefinement {
57                    colors: ThemeColorsRefinement {
58                        border: Some(rgba(0xddd6c1ff).into()),
59                        border_variant: Some(rgba(0xddd6c1ff).into()),
60                        border_focused: Some(rgba(0xddd6c1ff).into()),
61                        border_selected: Some(rgba(0xddd6c1ff).into()),
62                        border_transparent: Some(rgba(0xddd6c1ff).into()),
63                        border_disabled: Some(rgba(0xddd6c1ff).into()),
64                        background: Some(rgba(0xfdf6e3ff).into()),
65                        element_background: Some(rgba(0xab9d56ff).into()),
66                        tab_inactive_background: Some(rgba(0xd3cbb7ff).into()),
67                        tab_active_background: Some(rgba(0xfdf6e3ff).into()),
68                        editor_background: Some(rgba(0xfdf6e3ff).into()),
69                        editor_gutter_background: Some(rgba(0xfdf6e3ff).into()),
70                        editor_line_number: Some(rgba(0x9ca8a6ff).into()),
71                        terminal_ansi_bright_black: Some(rgba(0x657b83ff).into()),
72                        terminal_ansi_bright_red: Some(rgba(0xcb4b15ff).into()),
73                        terminal_ansi_bright_green: Some(rgba(0x859900ff).into()),
74                        terminal_ansi_bright_yellow: Some(rgba(0x657b83ff).into()),
75                        terminal_ansi_bright_blue: Some(rgba(0x839496ff).into()),
76                        terminal_ansi_bright_magenta: Some(rgba(0x6c71c4ff).into()),
77                        terminal_ansi_bright_cyan: Some(rgba(0x93a1a1ff).into()),
78                        terminal_ansi_bright_white: Some(rgba(0xeee8d5ff).into()),
79                        terminal_ansi_black: Some(rgba(0x657b83ff).into()),
80                        terminal_ansi_red: Some(rgba(0xdc312eff).into()),
81                        terminal_ansi_green: Some(rgba(0x859900ff).into()),
82                        terminal_ansi_yellow: Some(rgba(0xb58800ff).into()),
83                        terminal_ansi_blue: Some(rgba(0x258ad2ff).into()),
84                        terminal_ansi_magenta: Some(rgba(0xd33582ff).into()),
85                        terminal_ansi_cyan: Some(rgba(0x29a198ff).into()),
86                        terminal_ansi_white: Some(rgba(0xeee8d5ff).into()),
87                        ..Default::default()
88                    },
89                },
90            },
91        ],
92    }
93}