Use Zed1 Color Scheme to update Zed1 Theme Importer (#3842)

Bring Zed1 themes closer to their old appearance using the `base_theme`
values.

This will inevitably re-introduce some outstanding design issues from
Zed 1 that we will need to solve (low contrasts in some places, etc.)
We'll work on some of these in a later PR.

Known issues introduced:
- Scrollbar thumb is incorrectly drawn in front of the indicators
- Borders aren't quite correct - will fix in a followup
- Titlebar/status bar buttons will now have low contrast states
- Keybinding background color blends with palette

There are likely more issues, add them to the product checklist as you
find them.

Release Notes:

- N/A
This commit is contained in:
Marshall Bowers
2024-01-02 15:14:28 -05:00
committed by GitHub
16 changed files with 1971 additions and 774 deletions
+1 -7
View File
@@ -8,7 +8,7 @@ use components::{
};
use gpui::{
color::Color,
elements::{Border, ContainerStyle, ImageStyle, LabelStyle, Shadow, SvgStyle, TooltipStyle},
elements::{Border, ContainerStyle, ImageStyle, LabelStyle, SvgStyle, TooltipStyle},
fonts::{HighlightStyle, TextStyle},
platform, AppContext, AssetSource, MouseState,
};
@@ -1276,15 +1276,9 @@ pub struct WelcomeStyle {
pub struct ColorScheme {
pub name: String,
pub is_light: bool,
pub ramps: RampSet,
pub lowest: Layer,
pub middle: Layer,
pub highest: Layer,
pub popover_shadow: Shadow,
pub modal_shadow: Shadow,
pub players: Vec<Player>,
}
#[derive(Clone, Deserialize, Default, JsonSchema)]
+131 -149
View File
@@ -13,91 +13,82 @@ impl ThemeColors {
let system = SystemColors::default();
Self {
background: neutral().light().step_1(),
border: neutral().light().step_6(),
border_disabled: neutral().light().step_3(),
border_variant: neutral().light().step_5(),
border_focused: blue().light().step_5(),
border_selected: blue().light().step_5(),
border_transparent: system.transparent,
border_variant: neutral().light().step_5(),
code_block_background: gpui::transparent_black(),
code_block_border: gpui::transparent_black(),
drop_target_background: blue().light_alpha().step_2(),
editor_active_line_background: neutral().light_alpha().step_3(),
editor_active_line_number: neutral().light().step_11(),
editor_active_wrap_guide: neutral().light_alpha().step_8(), // todo!("pick the right colors")
editor_foreground: neutral().light().step_12(),
editor_background: neutral().light().step_1(),
editor_document_highlight_read_background: neutral().light_alpha().step_3(), // todo!("pick the right colors")
editor_document_highlight_write_background: neutral().light_alpha().step_4(), // todo!("pick the right colors")
editor_gutter_background: neutral().light().step_1(), // todo!("pick the right colors")
editor_highlighted_line_background: neutral().light_alpha().step_3(),
editor_invisible: neutral().light().step_10(),
editor_line_number: neutral().light().step_10(),
editor_subheader_background: neutral().light().step_2(),
editor_wrap_guide: neutral().light_alpha().step_7(),
element_active: neutral().light_alpha().step_5(),
element_background: neutral().light().step_3(),
element_disabled: neutral().light_alpha().step_3(),
element_hover: neutral().light_alpha().step_4(),
element_selected: neutral().light_alpha().step_5(),
border_disabled: neutral().light().step_3(),
elevated_surface_background: neutral().light().step_2(),
emphasis: neutral().light().step_12(),
ghost_element_active: neutral().light_alpha().step_4(),
ghost_element_background: system.transparent,
ghost_element_disabled: neutral().light_alpha().step_3(),
ghost_element_hover: neutral().light_alpha().step_3(),
ghost_element_selected: neutral().light_alpha().step_5(),
headline: blue().light().step_9(),
icon: neutral().light().step_11(),
icon_accent: blue().light().step_11(),
icon_disabled: neutral().light().step_9(),
icon_muted: neutral().light().step_10(),
icon_placeholder: neutral().light().step_10(),
inline_code_background: gpui::transparent_black(),
inline_code_border: gpui::transparent_black(),
link_text: orange().light().step_9(),
link_text_hover: orange().light().step_10(),
link_uri: green().light().step_9(),
pane_focused_border: blue().light().step_5(),
panel_background: neutral().light().step_2(),
panel_focused_border: blue().light().step_5(),
paragraph: neutral().light().step_12(),
scrollbar_thumb_background: neutral().light_alpha().step_3(),
scrollbar_thumb_border: gpui::transparent_black(),
scrollbar_thumb_hover_background: neutral().light_alpha().step_4(),
scrollbar_track_background: gpui::transparent_black(),
scrollbar_track_border: neutral().light().step_5(),
search_match_background: neutral().light().step_2(), // todo!(this was inserted by Mikayla)
status_bar_background: neutral().light().step_2(),
surface_background: neutral().light().step_2(),
tab_active_background: neutral().light().step_1(),
tab_bar_background: neutral().light().step_2(),
tab_inactive_background: neutral().light().step_2(),
terminal_ansi_black: black().light().step_12(),
terminal_ansi_blue: blue().light().step_11(),
terminal_ansi_bright_black: black().light().step_11(),
terminal_ansi_bright_blue: blue().light().step_10(),
terminal_ansi_bright_cyan: cyan().light().step_10(),
terminal_ansi_bright_green: green().light().step_10(),
terminal_ansi_bright_magenta: violet().light().step_10(),
terminal_ansi_bright_red: red().light().step_10(),
terminal_ansi_bright_white: neutral().light().step_11(),
terminal_ansi_bright_yellow: yellow().light().step_10(),
terminal_ansi_cyan: cyan().light().step_11(),
terminal_ansi_green: green().light().step_11(),
terminal_ansi_magenta: violet().light().step_11(),
terminal_ansi_red: red().light().step_11(),
terminal_ansi_white: neutral().light().step_12(),
terminal_ansi_yellow: yellow().light().step_11(),
terminal_background: neutral().light().step_1(),
background: neutral().light().step_1(),
element_background: neutral().light().step_3(),
element_hover: neutral().light_alpha().step_4(), // todo!("pick the right colors")
element_active: neutral().light_alpha().step_5(),
element_selected: neutral().light_alpha().step_5(),
element_disabled: neutral().light_alpha().step_3(), // todo!("pick the right colors")
drop_target_background: blue().light_alpha().step_2(), // todo!("pick the right colors")
ghost_element_background: system.transparent, // todo!("pick the right colors")
ghost_element_hover: neutral().light_alpha().step_3(),
ghost_element_active: neutral().light_alpha().step_4(),
ghost_element_selected: neutral().light_alpha().step_5(),
ghost_element_disabled: neutral().light_alpha().step_3(),
text: neutral().light().step_12(),
text_accent: blue().light().step_11(),
text_disabled: neutral().light().step_9(),
text_muted: neutral().light().step_10(),
text_placeholder: neutral().light().step_10(),
text_disabled: neutral().light().step_9(),
text_accent: blue().light().step_11(),
icon: neutral().light().step_11(),
icon_muted: neutral().light().step_10(),
icon_disabled: neutral().light().step_9(),
icon_placeholder: neutral().light().step_10(),
icon_accent: blue().light().step_11(),
status_bar_background: neutral().light().step_2(),
title_bar_background: neutral().light().step_2(),
toolbar_background: neutral().light().step_1(),
tab_bar_background: neutral().light().step_2(),
tab_inactive_background: neutral().light().step_2(),
tab_active_background: neutral().light().step_1(),
search_match_background: neutral().light().step_2(),
panel_background: neutral().light().step_2(),
panel_focused_border: blue().light().step_5(),
pane_focused_border: blue().light().step_5(),
scrollbar_thumb_background: neutral().light_alpha().step_3(),
scrollbar_thumb_hover_background: neutral().light_alpha().step_4(),
scrollbar_thumb_border: gpui::transparent_black(),
scrollbar_track_background: gpui::transparent_black(),
scrollbar_track_border: neutral().light().step_5(),
editor_foreground: neutral().light().step_12(),
editor_background: neutral().light().step_1(), // todo!(this was inserted by Mikayla)
editor_gutter_background: neutral().light().step_1(),
editor_subheader_background: neutral().light().step_2(),
editor_active_line_background: neutral().light_alpha().step_3(),
editor_highlighted_line_background: neutral().light_alpha().step_3(),
editor_line_number: neutral().light().step_10(),
editor_active_line_number: neutral().light().step_11(),
editor_invisible: neutral().light().step_10(),
editor_wrap_guide: neutral().light_alpha().step_7(),
editor_active_wrap_guide: neutral().light_alpha().step_8(),
editor_document_highlight_read_background: neutral().light_alpha().step_3(),
editor_document_highlight_write_background: neutral().light_alpha().step_4(),
terminal_background: neutral().light().step_1(),
terminal_ansi_bright_black: black().light().step_11(),
terminal_ansi_bright_red: red().light().step_10(),
terminal_ansi_bright_green: green().light().step_10(),
terminal_ansi_bright_yellow: yellow().light().step_10(),
terminal_ansi_bright_blue: blue().light().step_10(),
terminal_ansi_bright_magenta: violet().light().step_10(),
terminal_ansi_bright_cyan: cyan().light().step_10(),
terminal_ansi_bright_white: neutral().light().step_11(),
terminal_ansi_black: black().light().step_12(),
terminal_ansi_red: red().light().step_11(),
terminal_ansi_green: green().light().step_11(),
terminal_ansi_yellow: yellow().light().step_11(),
terminal_ansi_blue: blue().light().step_11(),
terminal_ansi_magenta: violet().light().step_11(),
terminal_ansi_cyan: cyan().light().step_11(),
terminal_ansi_white: neutral().light().step_12(),
link_text_hover: orange().light().step_10(),
}
}
@@ -105,91 +96,82 @@ impl ThemeColors {
let system = SystemColors::default();
Self {
background: neutral().dark().step_1(),
border: neutral().dark().step_6(),
border_disabled: neutral().dark().step_3(),
border_variant: neutral().dark().step_5(),
border_focused: blue().dark().step_5(),
border_selected: blue().dark().step_5(),
border_transparent: system.transparent,
border_variant: neutral().dark().step_5(),
code_block_background: gpui::transparent_black(),
code_block_border: gpui::transparent_black(),
drop_target_background: blue().dark_alpha().step_2(),
editor_active_line_background: neutral().dark_alpha().step_3(),
editor_active_line_number: neutral().dark_alpha().step_12(),
editor_active_wrap_guide: neutral().dark_alpha().step_4(), // todo!("pick the right colors")
editor_background: neutral().dark().step_1(),
editor_document_highlight_read_background: neutral().dark_alpha().step_4(), // todo!("pick the right colors")
editor_document_highlight_write_background: neutral().dark_alpha().step_4(), // todo!("pick the right colors")
editor_foreground: neutral().dark().step_12(),
editor_gutter_background: neutral().dark().step_1(),
editor_highlighted_line_background: neutral().dark_alpha().step_4(), // todo!("pick the right colors")
editor_invisible: neutral().dark_alpha().step_4(), // todo!("pick the right colors")
editor_line_number: neutral().dark_alpha().step_10(),
editor_subheader_background: neutral().dark().step_3(),
editor_wrap_guide: neutral().dark_alpha().step_4(), // todo!("pick the right colors")
element_active: neutral().dark_alpha().step_5(),
element_background: neutral().dark().step_3(),
element_disabled: neutral().dark_alpha().step_3(),
element_hover: neutral().dark_alpha().step_4(),
element_selected: neutral().dark_alpha().step_5(),
border_disabled: neutral().dark().step_3(),
elevated_surface_background: neutral().dark().step_2(),
emphasis: neutral().dark().step_12(),
ghost_element_active: neutral().dark_alpha().step_5(),
ghost_element_background: system.transparent,
ghost_element_disabled: neutral().dark_alpha().step_3(),
ghost_element_hover: neutral().dark_alpha().step_4(),
ghost_element_selected: neutral().dark_alpha().step_5(),
headline: blue().dark().step_9(),
icon: neutral().dark().step_11(),
icon_accent: blue().dark().step_11(),
icon_disabled: neutral().dark().step_9(),
icon_muted: neutral().dark().step_10(),
icon_placeholder: neutral().dark().step_10(),
inline_code_background: gpui::transparent_black(),
inline_code_border: gpui::transparent_black(),
link_text: orange().dark().step_9(),
link_text_hover: orange().dark().step_10(),
link_uri: green().dark().step_9(),
pane_focused_border: blue().dark().step_5(),
panel_background: neutral().dark().step_2(),
panel_focused_border: blue().dark().step_5(),
paragraph: neutral().dark().step_12(),
scrollbar_thumb_background: neutral().dark_alpha().step_3(),
scrollbar_thumb_border: gpui::transparent_black(),
scrollbar_thumb_hover_background: neutral().dark_alpha().step_4(),
scrollbar_track_background: gpui::transparent_black(),
scrollbar_track_border: neutral().dark().step_5(),
search_match_background: neutral().dark().step_2(), // todo!(this was inserted by Mikayla)
status_bar_background: neutral().dark().step_2(),
surface_background: neutral().dark().step_2(),
tab_active_background: neutral().dark().step_1(),
tab_bar_background: neutral().dark().step_2(),
tab_inactive_background: neutral().dark().step_2(),
terminal_ansi_black: black().dark().step_12(),
terminal_ansi_blue: blue().dark().step_11(),
terminal_ansi_bright_black: black().dark().step_11(),
terminal_ansi_bright_blue: blue().dark().step_10(),
terminal_ansi_bright_cyan: cyan().dark().step_10(),
terminal_ansi_bright_green: green().dark().step_10(),
terminal_ansi_bright_magenta: violet().dark().step_10(),
terminal_ansi_bright_red: red().dark().step_10(),
terminal_ansi_bright_white: neutral().dark().step_11(),
terminal_ansi_bright_yellow: yellow().dark().step_10(),
terminal_ansi_cyan: cyan().dark().step_11(),
terminal_ansi_green: green().dark().step_11(),
terminal_ansi_magenta: violet().dark().step_11(),
terminal_ansi_red: red().dark().step_11(),
terminal_ansi_white: neutral().dark().step_12(),
terminal_ansi_yellow: yellow().dark().step_11(),
terminal_background: neutral().dark().step_1(),
text: neutral().dark().step_12(),
text_accent: blue().dark().step_11(),
text_disabled: neutral().dark().step_9(),
background: neutral().dark().step_1(),
element_background: neutral().dark().step_3(),
element_hover: neutral().dark_alpha().step_4(), // todo!("pick the right colors")
element_active: neutral().dark_alpha().step_5(),
element_selected: neutral().dark_alpha().step_5(), // todo!("pick the right colors")
element_disabled: neutral().dark_alpha().step_3(), // todo!("pick the right colors")
drop_target_background: blue().dark_alpha().step_2(),
ghost_element_background: system.transparent,
ghost_element_hover: neutral().dark_alpha().step_4(), // todo!("pick the right colors")
ghost_element_active: neutral().dark_alpha().step_5(), // todo!("pick the right colors")
ghost_element_selected: neutral().dark_alpha().step_5(),
ghost_element_disabled: neutral().dark_alpha().step_3(),
text: neutral().dark().step_12(), // todo!("pick the right colors")
text_muted: neutral().dark().step_11(),
text_placeholder: neutral().dark().step_10(),
text_disabled: neutral().dark().step_9(),
text_accent: blue().dark().step_11(),
icon: neutral().dark().step_11(),
icon_muted: neutral().dark().step_10(),
icon_disabled: neutral().dark().step_9(),
icon_placeholder: neutral().dark().step_10(),
icon_accent: blue().dark().step_11(),
status_bar_background: neutral().dark().step_2(),
title_bar_background: neutral().dark().step_2(),
toolbar_background: neutral().dark().step_1(),
tab_bar_background: neutral().dark().step_2(),
tab_inactive_background: neutral().dark().step_2(),
tab_active_background: neutral().dark().step_1(),
search_match_background: neutral().dark().step_2(),
panel_background: neutral().dark().step_2(),
panel_focused_border: blue().dark().step_5(),
pane_focused_border: blue().dark().step_5(),
scrollbar_thumb_background: neutral().dark_alpha().step_3(),
scrollbar_thumb_hover_background: neutral().dark_alpha().step_4(),
scrollbar_thumb_border: gpui::transparent_black(),
scrollbar_track_background: gpui::transparent_black(),
scrollbar_track_border: neutral().dark().step_5(), // todo!(this was inserted by Mikayla)
editor_foreground: neutral().dark().step_12(),
editor_background: neutral().dark().step_1(),
editor_gutter_background: neutral().dark().step_1(),
editor_subheader_background: neutral().dark().step_3(),
editor_active_line_background: neutral().dark_alpha().step_3(),
editor_highlighted_line_background: neutral().dark_alpha().step_4(),
editor_line_number: neutral().dark_alpha().step_10(),
editor_active_line_number: neutral().dark_alpha().step_12(),
editor_invisible: neutral().dark_alpha().step_4(),
editor_wrap_guide: neutral().dark_alpha().step_4(),
editor_active_wrap_guide: neutral().dark_alpha().step_4(),
editor_document_highlight_read_background: neutral().dark_alpha().step_4(),
editor_document_highlight_write_background: neutral().dark_alpha().step_4(),
terminal_background: neutral().dark().step_1(),
terminal_ansi_bright_black: black().dark().step_11(),
terminal_ansi_bright_red: red().dark().step_10(),
terminal_ansi_bright_green: green().dark().step_10(),
terminal_ansi_bright_yellow: yellow().dark().step_10(),
terminal_ansi_bright_blue: blue().dark().step_10(),
terminal_ansi_bright_magenta: violet().dark().step_10(),
terminal_ansi_bright_cyan: cyan().dark().step_10(),
terminal_ansi_bright_white: neutral().dark().step_11(),
terminal_ansi_black: black().dark().step_12(),
terminal_ansi_red: red().dark().step_11(),
terminal_ansi_green: green().dark().step_11(),
terminal_ansi_yellow: yellow().dark().step_11(),
terminal_ansi_blue: blue().dark().step_11(),
terminal_ansi_magenta: violet().dark().step_11(),
terminal_ansi_cyan: cyan().dark().step_11(),
terminal_ansi_white: neutral().dark().step_12(),
link_text_hover: orange().dark().step_10(),
}
}
}
-10
View File
@@ -23,7 +23,6 @@ pub(crate) fn one_dark() -> Theme {
let elevated_surface = hsla(225. / 360., 12. / 100., 17. / 100., 1.);
let blue = hsla(207.8 / 360., 81. / 100., 66. / 100., 1.0);
let light_gray = hsla(218.8 / 360., 14. / 100., 71. / 100., 1.0);
let gray = hsla(218.8 / 360., 10. / 100., 40. / 100., 1.0);
let green = hsla(95. / 360., 38. / 100., 62. / 100., 1.0);
let orange = hsla(29. / 360., 54. / 100., 61. / 100., 1.0);
@@ -123,16 +122,7 @@ pub(crate) fn one_dark() -> Theme {
scrollbar_track_background: gpui::transparent_black(),
scrollbar_track_border: hsla(228. / 360., 8. / 100., 25. / 100., 1.),
editor_foreground: hsla(218. / 360., 14. / 100., 71. / 100., 1.),
headline: hsla(355. / 360., 65. / 100., 65. / 100., 1.),
paragraph: light_gray,
link_text: blue,
link_text_hover: blue,
link_uri: teal,
inline_code_background: gpui::transparent_black(),
inline_code_border: gpui::transparent_black(),
code_block_background: gpui::transparent_black(),
code_block_border: gpui::transparent_black(),
emphasis: orange,
},
status: StatusColors {
conflict: yellow,
-9
View File
@@ -206,16 +206,7 @@ pub struct ThemeColors {
// ===
// UI/Rich Text
// ===
pub headline: Hsla,
pub paragraph: Hsla,
pub link_text: Hsla,
pub link_text_hover: Hsla,
pub link_uri: Hsla,
pub inline_code_background: Hsla,
pub inline_code_border: Hsla,
pub code_block_background: Hsla,
pub code_block_border: Hsla,
pub emphasis: Hsla,
}
#[derive(Refineable, Clone)]
+45 -13
View File
@@ -19,36 +19,61 @@ pub fn andromeda() -> UserThemeFamily {
appearance: Appearance::Dark,
styles: UserThemeStylesRefinement {
colors: ThemeColorsRefinement {
border: Some(rgba(0x252931ff).into()),
border_variant: Some(rgba(0x21232aff).into()),
border: Some(rgba(0x2b2f39ff).into()),
border_variant: Some(rgba(0x2b2f39ff).into()),
border_focused: Some(rgba(0x183a34ff).into()),
border_selected: Some(rgba(0x183a34ff).into()),
border_transparent: Some(rgba(0x00000000).into()),
border_disabled: Some(rgba(0x292d37ff).into()),
elevated_surface_background: Some(rgba(0x21242bff).into()),
surface_background: Some(rgba(0x21242bff).into()),
background: Some(rgba(0x262a33ff).into()),
panel_background: Some(rgba(0x21242bff).into()),
element_hover: Some(rgba(0x2b2f3980).into()),
element_selected: Some(rgba(0x383b4580).into()),
element_background: Some(rgba(0x21242bff).into()),
element_hover: Some(rgba(0x252931ff).into()),
element_active: Some(rgba(0x2a2f39ff).into()),
element_selected: Some(rgba(0x2a2f39ff).into()),
element_disabled: Some(rgba(0x21242bff).into()),
drop_target_background: Some(rgba(0xaca8ae80).into()),
ghost_element_background: Some(rgba(0x00000000).into()),
ghost_element_hover: Some(rgba(0x252931ff).into()),
ghost_element_active: Some(rgba(0x2a2f39ff).into()),
ghost_element_selected: Some(rgba(0x2a2f39ff).into()),
ghost_element_disabled: Some(rgba(0x21242bff).into()),
text: Some(rgba(0xf7f7f8ff).into()),
text_muted: Some(rgba(0xaca8aeff).into()),
text_placeholder: Some(rgba(0x474a53ff).into()),
text_disabled: Some(rgba(0xf7f7f8ff).into()),
text_placeholder: Some(rgba(0x6b6b73ff).into()),
text_disabled: Some(rgba(0x6b6b73ff).into()),
text_accent: Some(rgba(0x11a793ff).into()),
icon: Some(rgba(0xf7f7f8ff).into()),
icon_muted: Some(rgba(0xaca8aeff).into()),
icon_disabled: Some(rgba(0x6b6b73ff).into()),
icon_placeholder: Some(rgba(0xaca8aeff).into()),
icon_accent: Some(rgba(0x11a793ff).into()),
status_bar_background: Some(rgba(0x262a33ff).into()),
title_bar_background: Some(rgba(0x262a33ff).into()),
toolbar_background: Some(rgba(0x1e2025ff).into()),
tab_bar_background: Some(rgba(0x21242bff).into()),
tab_inactive_background: Some(rgba(0x21242bff).into()),
tab_active_background: Some(rgba(0x1e2025ff).into()),
scrollbar_thumb_background: Some(rgba(0xf7f7f84d).into()),
scrollbar_thumb_hover_background: Some(rgba(0xf7f7f84d).into()),
scrollbar_thumb_border: Some(rgba(0x21232aff).into()),
scrollbar_thumb_background: Some(rgba(0x21242bff).into()),
scrollbar_thumb_hover_background: Some(rgba(0x252931ff).into()),
scrollbar_thumb_border: Some(rgba(0x252931ff).into()),
scrollbar_track_background: Some(rgba(0x1e2025ff).into()),
scrollbar_track_border: Some(rgba(0x21232aff).into()),
editor_foreground: Some(rgba(0xf7f7f8ff).into()),
editor_background: Some(rgba(0x1e2025ff).into()),
editor_gutter_background: Some(rgba(0x1e2025ff).into()),
editor_subheader_background: Some(rgba(0x21242bff).into()),
editor_active_line_background: Some(rgba(0x21242bbf).into()),
editor_highlighted_line_background: Some(rgba(0x21242bff).into()),
editor_line_number: Some(rgba(0xf7f7f859).into()),
editor_active_line_number: Some(rgba(0xf7f7f8ff).into()),
editor_invisible: Some(rgba(0xaca8aeff).into()),
editor_wrap_guide: Some(rgba(0xf7f7f80d).into()),
editor_active_wrap_guide: Some(rgba(0xf7f7f81a).into()),
editor_document_highlight_read_background: Some(rgba(0x11a7931a).into()),
editor_document_highlight_write_background: Some(rgba(0x64646d66).into()),
terminal_background: Some(rgba(0x1e2025ff).into()),
terminal_ansi_bright_black: Some(rgba(0x40434cff).into()),
terminal_ansi_bright_red: Some(rgba(0x8e103aff).into()),
@@ -66,16 +91,23 @@ pub fn andromeda() -> UserThemeFamily {
terminal_ansi_magenta: Some(rgba(0xc74decff).into()),
terminal_ansi_cyan: Some(rgba(0x09e7c6ff).into()),
terminal_ansi_white: Some(rgba(0xf7f7f8ff).into()),
link_text_hover: Some(rgba(0x11a793ff).into()),
..Default::default()
},
status: StatusColorsRefinement {
conflict: Some(rgba(0xfee56dff).into()),
created: Some(rgba(0x96df72ff).into()),
deleted: Some(rgba(0xcd1d5aff).into()),
deleted: Some(rgba(0xf82872ff).into()),
error: Some(rgba(0xf82872ff).into()),
hint: Some(rgba(0x618399ff).into()),
hidden: Some(rgba(0x6b6b73ff).into()),
hint: Some(rgba(0x11a793ff).into()),
ignored: Some(rgba(0xaca8aeff).into()),
info: Some(rgba(0x11a793ff).into()),
modified: Some(rgba(0xfee56dff).into()),
predictive: Some(rgba(0x315f70ff).into()),
success: Some(rgba(0xf7f7f8ff).into()),
predictive: Some(rgba(0x96df72ff).into()),
renamed: Some(rgba(0x11a793ff).into()),
success: Some(rgba(0x96df72ff).into()),
unreachable: Some(rgba(0xaca8aeff).into()),
warning: Some(rgba(0xfee56dff).into()),
..Default::default()
},
File diff suppressed because it is too large Load Diff
+135 -39
View File
@@ -20,36 +20,61 @@ pub fn ayu() -> UserThemeFamily {
appearance: Appearance::Dark,
styles: UserThemeStylesRefinement {
colors: ThemeColorsRefinement {
border: Some(rgba(0x2d2f34ff).into()),
border_variant: Some(rgba(0x1b1e24ff).into()),
border: Some(rgba(0x3f4043ff).into()),
border_variant: Some(rgba(0x3f4043ff).into()),
border_focused: Some(rgba(0x1b4a6eff).into()),
border_selected: Some(rgba(0x1b4a6eff).into()),
border_transparent: Some(rgba(0x00000000).into()),
border_disabled: Some(rgba(0x383a3eff).into()),
elevated_surface_background: Some(rgba(0x1f2127ff).into()),
surface_background: Some(rgba(0x1f2127ff).into()),
background: Some(rgba(0x313337ff).into()),
panel_background: Some(rgba(0x1f2127ff).into()),
element_hover: Some(rgba(0x3f404380).into()),
element_selected: Some(rgba(0x50515280).into()),
element_background: Some(rgba(0x1f2127ff).into()),
element_hover: Some(rgba(0x2d2f34ff).into()),
element_active: Some(rgba(0x3e4043ff).into()),
element_selected: Some(rgba(0x3e4043ff).into()),
element_disabled: Some(rgba(0x1f2127ff).into()),
drop_target_background: Some(rgba(0x8a898680).into()),
ghost_element_background: Some(rgba(0x00000000).into()),
ghost_element_hover: Some(rgba(0x2d2f34ff).into()),
ghost_element_active: Some(rgba(0x3e4043ff).into()),
ghost_element_selected: Some(rgba(0x3e4043ff).into()),
ghost_element_disabled: Some(rgba(0x1f2127ff).into()),
text: Some(rgba(0xbfbdb6ff).into()),
text_muted: Some(rgba(0x8a8986ff).into()),
text_placeholder: Some(rgba(0x58595aff).into()),
text_disabled: Some(rgba(0xbfbdb6ff).into()),
text_placeholder: Some(rgba(0x696a6aff).into()),
text_disabled: Some(rgba(0x696a6aff).into()),
text_accent: Some(rgba(0x5ac2feff).into()),
icon: Some(rgba(0xbfbdb6ff).into()),
icon_muted: Some(rgba(0x8a8986ff).into()),
icon_disabled: Some(rgba(0x696a6aff).into()),
icon_placeholder: Some(rgba(0x8a8986ff).into()),
icon_accent: Some(rgba(0x5ac2feff).into()),
status_bar_background: Some(rgba(0x313337ff).into()),
title_bar_background: Some(rgba(0x313337ff).into()),
toolbar_background: Some(rgba(0x0d1017ff).into()),
tab_bar_background: Some(rgba(0x1f2127ff).into()),
tab_inactive_background: Some(rgba(0x1f2127ff).into()),
tab_active_background: Some(rgba(0x0d1017ff).into()),
scrollbar_thumb_background: Some(rgba(0xbfbdb64d).into()),
scrollbar_thumb_hover_background: Some(rgba(0xbfbdb64d).into()),
scrollbar_thumb_border: Some(rgba(0x1b1e24ff).into()),
scrollbar_thumb_background: Some(rgba(0x1f2127ff).into()),
scrollbar_thumb_hover_background: Some(rgba(0x2d2f34ff).into()),
scrollbar_thumb_border: Some(rgba(0x2d2f34ff).into()),
scrollbar_track_background: Some(rgba(0x0d1017ff).into()),
scrollbar_track_border: Some(rgba(0x1b1e24ff).into()),
editor_foreground: Some(rgba(0xbfbdb6ff).into()),
editor_background: Some(rgba(0x0d1017ff).into()),
editor_gutter_background: Some(rgba(0x0d1017ff).into()),
editor_subheader_background: Some(rgba(0x1f2127ff).into()),
editor_active_line_background: Some(rgba(0x1f2127bf).into()),
editor_highlighted_line_background: Some(rgba(0x1f2127ff).into()),
editor_line_number: Some(rgba(0xbfbdb659).into()),
editor_active_line_number: Some(rgba(0xbfbdb6ff).into()),
editor_invisible: Some(rgba(0x8a8986ff).into()),
editor_wrap_guide: Some(rgba(0xbfbdb60d).into()),
editor_active_wrap_guide: Some(rgba(0xbfbdb61a).into()),
editor_document_highlight_read_background: Some(rgba(0x5ac2fe1a).into()),
editor_document_highlight_write_background: Some(rgba(0x66676766).into()),
terminal_background: Some(rgba(0x0d1017ff).into()),
terminal_ansi_bright_black: Some(rgba(0x545557ff).into()),
terminal_ansi_bright_red: Some(rgba(0x83363cff).into()),
@@ -67,16 +92,23 @@ pub fn ayu() -> UserThemeFamily {
terminal_ansi_magenta: Some(rgba(0x3abae5ff).into()),
terminal_ansi_cyan: Some(rgba(0x95e5cbff).into()),
terminal_ansi_white: Some(rgba(0xbfbdb6ff).into()),
link_text_hover: Some(rgba(0x5ac2feff).into()),
..Default::default()
},
status: StatusColorsRefinement {
conflict: Some(rgba(0xfeb454ff).into()),
created: Some(rgba(0xaad84cff).into()),
deleted: Some(rgba(0xc3595fff).into()),
deleted: Some(rgba(0xef7178ff).into()),
error: Some(rgba(0xef7178ff).into()),
hint: Some(rgba(0x638c81ff).into()),
hidden: Some(rgba(0x696a6aff).into()),
hint: Some(rgba(0x5ac2feff).into()),
ignored: Some(rgba(0x8a8986ff).into()),
info: Some(rgba(0x5ac2feff).into()),
modified: Some(rgba(0xfeb454ff).into()),
predictive: Some(rgba(0x5b728cff).into()),
success: Some(rgba(0xbfbdb6ff).into()),
predictive: Some(rgba(0xaad84cff).into()),
renamed: Some(rgba(0x5ac2feff).into()),
success: Some(rgba(0xaad84cff).into()),
unreachable: Some(rgba(0x8a8986ff).into()),
warning: Some(rgba(0xfeb454ff).into()),
..Default::default()
},
@@ -404,36 +436,61 @@ pub fn ayu() -> UserThemeFamily {
appearance: Appearance::Light,
styles: UserThemeStylesRefinement {
colors: ThemeColorsRefinement {
border: Some(rgba(0xdfe0e1ff).into()),
border_variant: Some(rgba(0xefeff0ff).into()),
border: Some(rgba(0xcfd1d2ff).into()),
border_variant: Some(rgba(0xcfd1d2ff).into()),
border_focused: Some(rgba(0xc4daf6ff).into()),
border_selected: Some(rgba(0xc4daf6ff).into()),
border_transparent: Some(rgba(0x00000000).into()),
border_disabled: Some(rgba(0xd5d6d8ff).into()),
elevated_surface_background: Some(rgba(0xececedff).into()),
surface_background: Some(rgba(0xececedff).into()),
background: Some(rgba(0xdcdddeff).into()),
panel_background: Some(rgba(0xececedff).into()),
element_hover: Some(rgba(0xcfd1d280).into()),
element_selected: Some(rgba(0xc0c2c480).into()),
element_background: Some(rgba(0xececedff).into()),
element_hover: Some(rgba(0xdfe0e1ff).into()),
element_active: Some(rgba(0xd0d1d3ff).into()),
element_selected: Some(rgba(0xd0d1d3ff).into()),
element_disabled: Some(rgba(0xececedff).into()),
drop_target_background: Some(rgba(0x8c8f9380).into()),
ghost_element_background: Some(rgba(0x00000000).into()),
ghost_element_hover: Some(rgba(0xdfe0e1ff).into()),
ghost_element_active: Some(rgba(0xd0d1d3ff).into()),
ghost_element_selected: Some(rgba(0xd0d1d3ff).into()),
ghost_element_disabled: Some(rgba(0xececedff).into()),
text: Some(rgba(0x5c6166ff).into()),
text_muted: Some(rgba(0x8c8f93ff).into()),
text_placeholder: Some(rgba(0xb9bbbdff).into()),
text_disabled: Some(rgba(0x5c6166ff).into()),
text_placeholder: Some(rgba(0xa9acaeff).into()),
text_disabled: Some(rgba(0xa9acaeff).into()),
text_accent: Some(rgba(0x3b9ee5ff).into()),
icon: Some(rgba(0x5c6166ff).into()),
icon_muted: Some(rgba(0x8c8f93ff).into()),
icon_disabled: Some(rgba(0xa9acaeff).into()),
icon_placeholder: Some(rgba(0x8c8f93ff).into()),
icon_accent: Some(rgba(0x3b9ee5ff).into()),
status_bar_background: Some(rgba(0xdcdddeff).into()),
title_bar_background: Some(rgba(0xdcdddeff).into()),
toolbar_background: Some(rgba(0xfcfcfcff).into()),
tab_bar_background: Some(rgba(0xececedff).into()),
tab_inactive_background: Some(rgba(0xececedff).into()),
tab_active_background: Some(rgba(0xfcfcfcff).into()),
scrollbar_thumb_background: Some(rgba(0x5c61664d).into()),
scrollbar_thumb_hover_background: Some(rgba(0x5c61664d).into()),
scrollbar_thumb_border: Some(rgba(0xefeff0ff).into()),
scrollbar_thumb_background: Some(rgba(0xececedff).into()),
scrollbar_thumb_hover_background: Some(rgba(0xdfe0e1ff).into()),
scrollbar_thumb_border: Some(rgba(0xdfe0e1ff).into()),
scrollbar_track_background: Some(rgba(0xfcfcfcff).into()),
scrollbar_track_border: Some(rgba(0xefeff0ff).into()),
editor_foreground: Some(rgba(0x5c6166ff).into()),
editor_background: Some(rgba(0xfcfcfcff).into()),
editor_gutter_background: Some(rgba(0xfcfcfcff).into()),
editor_subheader_background: Some(rgba(0xececedff).into()),
editor_active_line_background: Some(rgba(0xececedbf).into()),
editor_highlighted_line_background: Some(rgba(0xececedff).into()),
editor_line_number: Some(rgba(0x5c616659).into()),
editor_active_line_number: Some(rgba(0x5c6166ff).into()),
editor_invisible: Some(rgba(0x8c8f93ff).into()),
editor_wrap_guide: Some(rgba(0x5c61660d).into()),
editor_active_wrap_guide: Some(rgba(0x5c61661a).into()),
editor_document_highlight_read_background: Some(rgba(0x3b9ee51a).into()),
editor_document_highlight_write_background: Some(rgba(0xacafb166).into()),
terminal_background: Some(rgba(0xfcfcfcff).into()),
terminal_ansi_bright_black: Some(rgba(0xbcbec0ff).into()),
terminal_ansi_bright_red: Some(rgba(0xfebab6ff).into()),
@@ -451,16 +508,23 @@ pub fn ayu() -> UserThemeFamily {
terminal_ansi_magenta: Some(rgba(0x56b4d3ff).into()),
terminal_ansi_cyan: Some(rgba(0x4dbf99ff).into()),
terminal_ansi_white: Some(rgba(0x5c6166ff).into()),
link_text_hover: Some(rgba(0x3b9ee5ff).into()),
..Default::default()
},
status: StatusColorsRefinement {
created: Some(rgba(0xa1c24bff).into()),
conflict: Some(rgba(0xf1ae4aff).into()),
created: Some(rgba(0x86b305ff).into()),
deleted: Some(rgba(0xef7271ff).into()),
error: Some(rgba(0xef7271ff).into()),
hint: Some(rgba(0x8ca7c2ff).into()),
hidden: Some(rgba(0xa9acaeff).into()),
hint: Some(rgba(0x3b9ee5ff).into()),
ignored: Some(rgba(0x8c8f93ff).into()),
info: Some(rgba(0x3b9ee5ff).into()),
modified: Some(rgba(0xf1ae4aff).into()),
predictive: Some(rgba(0x9eb9d3ff).into()),
success: Some(rgba(0x5c6166ff).into()),
predictive: Some(rgba(0x86b305ff).into()),
renamed: Some(rgba(0x3b9ee5ff).into()),
success: Some(rgba(0x86b305ff).into()),
unreachable: Some(rgba(0x8c8f93ff).into()),
warning: Some(rgba(0xf1ae4aff).into()),
..Default::default()
},
@@ -788,36 +852,61 @@ pub fn ayu() -> UserThemeFamily {
appearance: Appearance::Dark,
styles: UserThemeStylesRefinement {
colors: ThemeColorsRefinement {
border: Some(rgba(0x43464fff).into()),
border_variant: Some(rgba(0x323641ff).into()),
border: Some(rgba(0x53565dff).into()),
border_variant: Some(rgba(0x53565dff).into()),
border_focused: Some(rgba(0x24556fff).into()),
border_selected: Some(rgba(0x24556fff).into()),
border_transparent: Some(rgba(0x00000000).into()),
border_disabled: Some(rgba(0x4d5058ff).into()),
elevated_surface_background: Some(rgba(0x353944ff).into()),
surface_background: Some(rgba(0x353944ff).into()),
background: Some(rgba(0x464a52ff).into()),
panel_background: Some(rgba(0x353944ff).into()),
element_hover: Some(rgba(0x53565d80).into()),
element_selected: Some(rgba(0x63656a80).into()),
element_background: Some(rgba(0x353944ff).into()),
element_hover: Some(rgba(0x43464fff).into()),
element_active: Some(rgba(0x53565dff).into()),
element_selected: Some(rgba(0x53565dff).into()),
element_disabled: Some(rgba(0x353944ff).into()),
drop_target_background: Some(rgba(0x9a9a9880).into()),
ghost_element_background: Some(rgba(0x00000000).into()),
ghost_element_hover: Some(rgba(0x43464fff).into()),
ghost_element_active: Some(rgba(0x53565dff).into()),
ghost_element_selected: Some(rgba(0x53565dff).into()),
ghost_element_disabled: Some(rgba(0x353944ff).into()),
text: Some(rgba(0xcccac2ff).into()),
text_muted: Some(rgba(0x9a9a98ff).into()),
text_placeholder: Some(rgba(0x6b6d71ff).into()),
text_disabled: Some(rgba(0xcccac2ff).into()),
text_placeholder: Some(rgba(0x7b7d7fff).into()),
text_disabled: Some(rgba(0x7b7d7fff).into()),
text_accent: Some(rgba(0x73cffeff).into()),
icon: Some(rgba(0xcccac2ff).into()),
icon_muted: Some(rgba(0x9a9a98ff).into()),
icon_disabled: Some(rgba(0x7b7d7fff).into()),
icon_placeholder: Some(rgba(0x9a9a98ff).into()),
icon_accent: Some(rgba(0x73cffeff).into()),
status_bar_background: Some(rgba(0x464a52ff).into()),
title_bar_background: Some(rgba(0x464a52ff).into()),
toolbar_background: Some(rgba(0x242936ff).into()),
tab_bar_background: Some(rgba(0x353944ff).into()),
tab_inactive_background: Some(rgba(0x353944ff).into()),
tab_active_background: Some(rgba(0x242936ff).into()),
scrollbar_thumb_background: Some(rgba(0xcccac24d).into()),
scrollbar_thumb_hover_background: Some(rgba(0xcccac24d).into()),
scrollbar_thumb_border: Some(rgba(0x323641ff).into()),
scrollbar_thumb_background: Some(rgba(0x353944ff).into()),
scrollbar_thumb_hover_background: Some(rgba(0x43464fff).into()),
scrollbar_thumb_border: Some(rgba(0x43464fff).into()),
scrollbar_track_background: Some(rgba(0x242936ff).into()),
scrollbar_track_border: Some(rgba(0x323641ff).into()),
editor_foreground: Some(rgba(0xcccac2ff).into()),
editor_background: Some(rgba(0x242936ff).into()),
editor_gutter_background: Some(rgba(0x242936ff).into()),
editor_subheader_background: Some(rgba(0x353944ff).into()),
editor_active_line_background: Some(rgba(0x353944bf).into()),
editor_highlighted_line_background: Some(rgba(0x353944ff).into()),
editor_line_number: Some(rgba(0xcccac259).into()),
editor_active_line_number: Some(rgba(0xcccac2ff).into()),
editor_invisible: Some(rgba(0x9a9a98ff).into()),
editor_wrap_guide: Some(rgba(0xcccac20d).into()),
editor_active_wrap_guide: Some(rgba(0xcccac21a).into()),
editor_document_highlight_read_background: Some(rgba(0x73cffe1a).into()),
editor_document_highlight_write_background: Some(rgba(0x787a7c66).into()),
terminal_background: Some(rgba(0x242936ff).into()),
terminal_ansi_bright_black: Some(rgba(0x67696eff).into()),
terminal_ansi_bright_red: Some(rgba(0x83403dff).into()),
@@ -835,16 +924,23 @@ pub fn ayu() -> UserThemeFamily {
terminal_ansi_magenta: Some(rgba(0x5ccee5ff).into()),
terminal_ansi_cyan: Some(rgba(0x95e5cbff).into()),
terminal_ansi_white: Some(rgba(0xcccac2ff).into()),
link_text_hover: Some(rgba(0x73cffeff).into()),
..Default::default()
},
status: StatusColorsRefinement {
conflict: Some(rgba(0xfed073ff).into()),
created: Some(rgba(0xd5fe80ff).into()),
deleted: Some(rgba(0xc46a60ff).into()),
deleted: Some(rgba(0xf18779ff).into()),
error: Some(rgba(0xf18779ff).into()),
hint: Some(rgba(0x7399a3ff).into()),
hidden: Some(rgba(0x7b7d7fff).into()),
hint: Some(rgba(0x73cffeff).into()),
ignored: Some(rgba(0x9a9a98ff).into()),
info: Some(rgba(0x73cffeff).into()),
modified: Some(rgba(0xfed073ff).into()),
predictive: Some(rgba(0x6d839bff).into()),
success: Some(rgba(0xcccac2ff).into()),
predictive: Some(rgba(0xd5fe80ff).into()),
renamed: Some(rgba(0x73cffeff).into()),
success: Some(rgba(0xd5fe80ff).into()),
unreachable: Some(rgba(0x9a9a98ff).into()),
warning: Some(rgba(0xfed073ff).into()),
..Default::default()
},
+270 -78
View File
@@ -20,36 +20,61 @@ pub fn gruvbox() -> UserThemeFamily {
appearance: Appearance::Light,
styles: UserThemeStylesRefinement {
colors: ThemeColorsRefinement {
border: Some(rgba(0xddcca7ff).into()),
border_variant: Some(rgba(0xefe2bcff).into()),
border: Some(rgba(0xc9b99aff).into()),
border_variant: Some(rgba(0xc9b99aff).into()),
border_focused: Some(rgba(0xaec6cdff).into()),
border_selected: Some(rgba(0xaec6cdff).into()),
border_transparent: Some(rgba(0x00000000).into()),
border_disabled: Some(rgba(0xd1c09eff).into()),
elevated_surface_background: Some(rgba(0xecddb5ff).into()),
surface_background: Some(rgba(0xecddb5ff).into()),
background: Some(rgba(0xd9c8a4ff).into()),
panel_background: Some(rgba(0xecddb5ff).into()),
element_hover: Some(rgba(0xc9b99a80).into()),
element_selected: Some(rgba(0xb5a68e80).into()),
element_background: Some(rgba(0xecddb5ff).into()),
element_hover: Some(rgba(0xddcca7ff).into()),
element_active: Some(rgba(0xc9b99aff).into()),
element_selected: Some(rgba(0xc9b99aff).into()),
element_disabled: Some(rgba(0xecddb5ff).into()),
drop_target_background: Some(rgba(0x5f565080).into()),
ghost_element_background: Some(rgba(0x00000000).into()),
ghost_element_hover: Some(rgba(0xddcca7ff).into()),
ghost_element_active: Some(rgba(0xc9b99aff).into()),
ghost_element_selected: Some(rgba(0xc9b99aff).into()),
ghost_element_disabled: Some(rgba(0xecddb5ff).into()),
text: Some(rgba(0x282828ff).into()),
text_muted: Some(rgba(0x5f5650ff).into()),
text_placeholder: Some(rgba(0xad9e87ff).into()),
text_disabled: Some(rgba(0x282828ff).into()),
text_placeholder: Some(rgba(0x8a7c6fff).into()),
text_disabled: Some(rgba(0x8a7c6fff).into()),
text_accent: Some(rgba(0x0b6678ff).into()),
icon: Some(rgba(0x282828ff).into()),
icon_muted: Some(rgba(0x5f5650ff).into()),
icon_disabled: Some(rgba(0x8a7c6fff).into()),
icon_placeholder: Some(rgba(0x5f5650ff).into()),
icon_accent: Some(rgba(0x0b6678ff).into()),
status_bar_background: Some(rgba(0xd9c8a4ff).into()),
title_bar_background: Some(rgba(0xd9c8a4ff).into()),
toolbar_background: Some(rgba(0xf9f5d7ff).into()),
tab_bar_background: Some(rgba(0xecddb5ff).into()),
tab_inactive_background: Some(rgba(0xecddb5ff).into()),
tab_active_background: Some(rgba(0xf9f5d7ff).into()),
scrollbar_thumb_background: Some(rgba(0x2828284d).into()),
scrollbar_thumb_hover_background: Some(rgba(0x2828284d).into()),
scrollbar_thumb_border: Some(rgba(0xefe2bcff).into()),
scrollbar_thumb_background: Some(rgba(0xecddb5ff).into()),
scrollbar_thumb_hover_background: Some(rgba(0xddcca7ff).into()),
scrollbar_thumb_border: Some(rgba(0xddcca7ff).into()),
scrollbar_track_background: Some(rgba(0xf9f5d7ff).into()),
scrollbar_track_border: Some(rgba(0xefe2bcff).into()),
editor_foreground: Some(rgba(0x282828ff).into()),
editor_background: Some(rgba(0xf9f5d7ff).into()),
editor_gutter_background: Some(rgba(0xf9f5d7ff).into()),
editor_subheader_background: Some(rgba(0xecddb5ff).into()),
editor_active_line_background: Some(rgba(0xecddb5bf).into()),
editor_highlighted_line_background: Some(rgba(0xecddb5ff).into()),
editor_line_number: Some(rgba(0x28282859).into()),
editor_active_line_number: Some(rgba(0x282828ff).into()),
editor_invisible: Some(rgba(0x5f5650ff).into()),
editor_wrap_guide: Some(rgba(0x2828280d).into()),
editor_active_wrap_guide: Some(rgba(0x2828281a).into()),
editor_document_highlight_read_background: Some(rgba(0x0b66781a).into()),
editor_document_highlight_write_background: Some(rgba(0x92847466).into()),
terminal_background: Some(rgba(0xf9f5d7ff).into()),
terminal_ansi_bright_black: Some(rgba(0xb1a28aff).into()),
terminal_ansi_bright_red: Some(rgba(0xdc8c7bff).into()),
@@ -67,16 +92,23 @@ pub fn gruvbox() -> UserThemeFamily {
terminal_ansi_magenta: Some(rgba(0x7c6f64ff).into()),
terminal_ansi_cyan: Some(rgba(0x437b59ff).into()),
terminal_ansi_white: Some(rgba(0x282828ff).into()),
link_text_hover: Some(rgba(0x0b6678ff).into()),
..Default::default()
},
status: StatusColorsRefinement {
created: Some(rgba(0x958e43ff).into()),
conflict: Some(rgba(0xb57616ff).into()),
created: Some(rgba(0x797410ff).into()),
deleted: Some(rgba(0x9d0408ff).into()),
error: Some(rgba(0x9d0408ff).into()),
hint: Some(rgba(0x677562ff).into()),
hidden: Some(rgba(0x8a7c6fff).into()),
hint: Some(rgba(0x0b6678ff).into()),
ignored: Some(rgba(0x5f5650ff).into()),
info: Some(rgba(0x0b6678ff).into()),
modified: Some(rgba(0xb57616ff).into()),
predictive: Some(rgba(0x7d9881ff).into()),
success: Some(rgba(0x282828ff).into()),
predictive: Some(rgba(0x797410ff).into()),
renamed: Some(rgba(0x0b6678ff).into()),
success: Some(rgba(0x797410ff).into()),
unreachable: Some(rgba(0x5f5650ff).into()),
warning: Some(rgba(0xb57616ff).into()),
..Default::default()
},
@@ -411,36 +443,61 @@ pub fn gruvbox() -> UserThemeFamily {
appearance: Appearance::Dark,
styles: UserThemeStylesRefinement {
colors: ThemeColorsRefinement {
border: Some(rgba(0x494340ff).into()),
border_variant: Some(rgba(0x393634ff).into()),
border: Some(rgba(0x5b534dff).into()),
border_variant: Some(rgba(0x5b534dff).into()),
border_focused: Some(rgba(0x303a36ff).into()),
border_selected: Some(rgba(0x303a36ff).into()),
border_transparent: Some(rgba(0x00000000).into()),
border_disabled: Some(rgba(0x544c48ff).into()),
elevated_surface_background: Some(rgba(0x3b3735ff).into()),
surface_background: Some(rgba(0x3b3735ff).into()),
background: Some(rgba(0x4c4642ff).into()),
panel_background: Some(rgba(0x3b3735ff).into()),
element_hover: Some(rgba(0x5b534d80).into()),
element_selected: Some(rgba(0x6e635a80).into()),
element_background: Some(rgba(0x3b3735ff).into()),
element_hover: Some(rgba(0x494340ff).into()),
element_active: Some(rgba(0x5b524cff).into()),
element_selected: Some(rgba(0x5b524cff).into()),
element_disabled: Some(rgba(0x3b3735ff).into()),
drop_target_background: Some(rgba(0xc5b59780).into()),
ghost_element_background: Some(rgba(0x00000000).into()),
ghost_element_hover: Some(rgba(0x494340ff).into()),
ghost_element_active: Some(rgba(0x5b524cff).into()),
ghost_element_selected: Some(rgba(0x5b524cff).into()),
ghost_element_disabled: Some(rgba(0x3b3735ff).into()),
text: Some(rgba(0xfbf1c7ff).into()),
text_muted: Some(rgba(0xc5b597ff).into()),
text_placeholder: Some(rgba(0x776b61ff).into()),
text_disabled: Some(rgba(0xfbf1c7ff).into()),
text_placeholder: Some(rgba(0x9a8c79ff).into()),
text_disabled: Some(rgba(0x9a8c79ff).into()),
text_accent: Some(rgba(0x83a598ff).into()),
icon: Some(rgba(0xfbf1c7ff).into()),
icon_muted: Some(rgba(0xc5b597ff).into()),
icon_disabled: Some(rgba(0x9a8c79ff).into()),
icon_placeholder: Some(rgba(0xc5b597ff).into()),
icon_accent: Some(rgba(0x83a598ff).into()),
status_bar_background: Some(rgba(0x4c4642ff).into()),
title_bar_background: Some(rgba(0x4c4642ff).into()),
toolbar_background: Some(rgba(0x32302fff).into()),
tab_bar_background: Some(rgba(0x3b3735ff).into()),
tab_inactive_background: Some(rgba(0x3b3735ff).into()),
tab_active_background: Some(rgba(0x32302fff).into()),
scrollbar_thumb_background: Some(rgba(0xfbf1c74d).into()),
scrollbar_thumb_hover_background: Some(rgba(0xfbf1c74d).into()),
scrollbar_thumb_border: Some(rgba(0x393634ff).into()),
scrollbar_thumb_background: Some(rgba(0x3b3735ff).into()),
scrollbar_thumb_hover_background: Some(rgba(0x494340ff).into()),
scrollbar_thumb_border: Some(rgba(0x494340ff).into()),
scrollbar_track_background: Some(rgba(0x32302fff).into()),
scrollbar_track_border: Some(rgba(0x393634ff).into()),
editor_foreground: Some(rgba(0xebdbb2ff).into()),
editor_background: Some(rgba(0x32302fff).into()),
editor_gutter_background: Some(rgba(0x32302fff).into()),
editor_subheader_background: Some(rgba(0x3b3735ff).into()),
editor_active_line_background: Some(rgba(0x3b3735bf).into()),
editor_highlighted_line_background: Some(rgba(0x3b3735ff).into()),
editor_line_number: Some(rgba(0xfbf1c759).into()),
editor_active_line_number: Some(rgba(0xfbf1c7ff).into()),
editor_invisible: Some(rgba(0xc5b597ff).into()),
editor_wrap_guide: Some(rgba(0xfbf1c70d).into()),
editor_active_wrap_guide: Some(rgba(0xfbf1c71a).into()),
editor_document_highlight_read_background: Some(rgba(0x83a5981a).into()),
editor_document_highlight_write_background: Some(rgba(0x92847466).into()),
terminal_background: Some(rgba(0x32302fff).into()),
terminal_ansi_bright_black: Some(rgba(0x73675eff).into()),
terminal_ansi_bright_red: Some(rgba(0x93211eff).into()),
@@ -458,16 +515,23 @@ pub fn gruvbox() -> UserThemeFamily {
terminal_ansi_magenta: Some(rgba(0xa89984ff).into()),
terminal_ansi_cyan: Some(rgba(0x8ec07cff).into()),
terminal_ansi_white: Some(rgba(0xfbf1c7ff).into()),
link_text_hover: Some(rgba(0x83a598ff).into()),
..Default::default()
},
status: StatusColorsRefinement {
conflict: Some(rgba(0xf9bd30ff).into()),
created: Some(rgba(0xb8bb27ff).into()),
deleted: Some(rgba(0xd0382bff).into()),
deleted: Some(rgba(0xfb4a35ff).into()),
error: Some(rgba(0xfb4a35ff).into()),
hint: Some(rgba(0x8d957eff).into()),
hidden: Some(rgba(0x9a8c79ff).into()),
hint: Some(rgba(0x83a598ff).into()),
ignored: Some(rgba(0xc5b597ff).into()),
info: Some(rgba(0x83a598ff).into()),
modified: Some(rgba(0xf9bd30ff).into()),
predictive: Some(rgba(0x717363ff).into()),
success: Some(rgba(0xfbf1c7ff).into()),
predictive: Some(rgba(0xb8bb27ff).into()),
renamed: Some(rgba(0x83a598ff).into()),
success: Some(rgba(0xb8bb27ff).into()),
unreachable: Some(rgba(0xc5b597ff).into()),
warning: Some(rgba(0xf9bd30ff).into()),
..Default::default()
},
@@ -802,36 +866,61 @@ pub fn gruvbox() -> UserThemeFamily {
appearance: Appearance::Light,
styles: UserThemeStylesRefinement {
colors: ThemeColorsRefinement {
border: Some(rgba(0xddcca7ff).into()),
border_variant: Some(rgba(0xefe1b8ff).into()),
border: Some(rgba(0xc9b99aff).into()),
border_variant: Some(rgba(0xc9b99aff).into()),
border_focused: Some(rgba(0xaec6cdff).into()),
border_selected: Some(rgba(0xaec6cdff).into()),
border_transparent: Some(rgba(0x00000000).into()),
border_disabled: Some(rgba(0xd1c09eff).into()),
elevated_surface_background: Some(rgba(0xecddb4ff).into()),
surface_background: Some(rgba(0xecddb4ff).into()),
background: Some(rgba(0xd9c8a4ff).into()),
panel_background: Some(rgba(0xecddb4ff).into()),
element_hover: Some(rgba(0xc9b99a80).into()),
element_selected: Some(rgba(0xb5a68e80).into()),
element_background: Some(rgba(0xecddb4ff).into()),
element_hover: Some(rgba(0xddcca7ff).into()),
element_active: Some(rgba(0xc9b99aff).into()),
element_selected: Some(rgba(0xc9b99aff).into()),
element_disabled: Some(rgba(0xecddb4ff).into()),
drop_target_background: Some(rgba(0x5f565080).into()),
ghost_element_background: Some(rgba(0x00000000).into()),
ghost_element_hover: Some(rgba(0xddcca7ff).into()),
ghost_element_active: Some(rgba(0xc9b99aff).into()),
ghost_element_selected: Some(rgba(0xc9b99aff).into()),
ghost_element_disabled: Some(rgba(0xecddb4ff).into()),
text: Some(rgba(0x282828ff).into()),
text_muted: Some(rgba(0x5f5650ff).into()),
text_placeholder: Some(rgba(0xad9e87ff).into()),
text_disabled: Some(rgba(0x282828ff).into()),
text_placeholder: Some(rgba(0x8a7c6fff).into()),
text_disabled: Some(rgba(0x8a7c6fff).into()),
text_accent: Some(rgba(0x0b6678ff).into()),
icon: Some(rgba(0x282828ff).into()),
icon_muted: Some(rgba(0x5f5650ff).into()),
icon_disabled: Some(rgba(0x8a7c6fff).into()),
icon_placeholder: Some(rgba(0x5f5650ff).into()),
icon_accent: Some(rgba(0x0b6678ff).into()),
status_bar_background: Some(rgba(0xd9c8a4ff).into()),
title_bar_background: Some(rgba(0xd9c8a4ff).into()),
toolbar_background: Some(rgba(0xfbf1c7ff).into()),
tab_bar_background: Some(rgba(0xecddb4ff).into()),
tab_inactive_background: Some(rgba(0xecddb4ff).into()),
tab_active_background: Some(rgba(0xfbf1c7ff).into()),
scrollbar_thumb_background: Some(rgba(0x2828284d).into()),
scrollbar_thumb_hover_background: Some(rgba(0x2828284d).into()),
scrollbar_thumb_border: Some(rgba(0xefe1b8ff).into()),
scrollbar_thumb_background: Some(rgba(0xecddb4ff).into()),
scrollbar_thumb_hover_background: Some(rgba(0xddcca7ff).into()),
scrollbar_thumb_border: Some(rgba(0xddcca7ff).into()),
scrollbar_track_background: Some(rgba(0xfbf1c7ff).into()),
scrollbar_track_border: Some(rgba(0xefe1b8ff).into()),
editor_foreground: Some(rgba(0x282828ff).into()),
editor_background: Some(rgba(0xfbf1c7ff).into()),
editor_gutter_background: Some(rgba(0xfbf1c7ff).into()),
editor_subheader_background: Some(rgba(0xecddb4ff).into()),
editor_active_line_background: Some(rgba(0xecddb4bf).into()),
editor_highlighted_line_background: Some(rgba(0xecddb4ff).into()),
editor_line_number: Some(rgba(0x28282859).into()),
editor_active_line_number: Some(rgba(0x282828ff).into()),
editor_invisible: Some(rgba(0x5f5650ff).into()),
editor_wrap_guide: Some(rgba(0x2828280d).into()),
editor_active_wrap_guide: Some(rgba(0x2828281a).into()),
editor_document_highlight_read_background: Some(rgba(0x0b66781a).into()),
editor_document_highlight_write_background: Some(rgba(0x92847466).into()),
terminal_background: Some(rgba(0xfbf1c7ff).into()),
terminal_ansi_bright_black: Some(rgba(0xb1a28aff).into()),
terminal_ansi_bright_red: Some(rgba(0xdc8c7bff).into()),
@@ -849,16 +938,23 @@ pub fn gruvbox() -> UserThemeFamily {
terminal_ansi_magenta: Some(rgba(0x7c6f64ff).into()),
terminal_ansi_cyan: Some(rgba(0x437b59ff).into()),
terminal_ansi_white: Some(rgba(0x282828ff).into()),
link_text_hover: Some(rgba(0x0b6678ff).into()),
..Default::default()
},
status: StatusColorsRefinement {
created: Some(rgba(0x958e43ff).into()),
conflict: Some(rgba(0xb57616ff).into()),
created: Some(rgba(0x797410ff).into()),
deleted: Some(rgba(0x9d0408ff).into()),
error: Some(rgba(0x9d0408ff).into()),
hint: Some(rgba(0x677562ff).into()),
hidden: Some(rgba(0x8a7c6fff).into()),
hint: Some(rgba(0x0b6678ff).into()),
ignored: Some(rgba(0x5f5650ff).into()),
info: Some(rgba(0x0b6678ff).into()),
modified: Some(rgba(0xb57616ff).into()),
predictive: Some(rgba(0x7d9881ff).into()),
success: Some(rgba(0x282828ff).into()),
predictive: Some(rgba(0x797410ff).into()),
renamed: Some(rgba(0x0b6678ff).into()),
success: Some(rgba(0x797410ff).into()),
unreachable: Some(rgba(0x5f5650ff).into()),
warning: Some(rgba(0xb57616ff).into()),
..Default::default()
},
@@ -1193,36 +1289,61 @@ pub fn gruvbox() -> UserThemeFamily {
appearance: Appearance::Dark,
styles: UserThemeStylesRefinement {
colors: ThemeColorsRefinement {
border: Some(rgba(0x494340ff).into()),
border_variant: Some(rgba(0x373432ff).into()),
border: Some(rgba(0x5b534dff).into()),
border_variant: Some(rgba(0x5b534dff).into()),
border_focused: Some(rgba(0x303a36ff).into()),
border_selected: Some(rgba(0x303a36ff).into()),
border_transparent: Some(rgba(0x00000000).into()),
border_disabled: Some(rgba(0x544c48ff).into()),
elevated_surface_background: Some(rgba(0x3a3735ff).into()),
surface_background: Some(rgba(0x3a3735ff).into()),
background: Some(rgba(0x4c4642ff).into()),
panel_background: Some(rgba(0x3a3735ff).into()),
element_hover: Some(rgba(0x5b534d80).into()),
element_selected: Some(rgba(0x6e635a80).into()),
element_background: Some(rgba(0x3a3735ff).into()),
element_hover: Some(rgba(0x494340ff).into()),
element_active: Some(rgba(0x5b524cff).into()),
element_selected: Some(rgba(0x5b524cff).into()),
element_disabled: Some(rgba(0x3a3735ff).into()),
drop_target_background: Some(rgba(0xc5b59780).into()),
ghost_element_background: Some(rgba(0x00000000).into()),
ghost_element_hover: Some(rgba(0x494340ff).into()),
ghost_element_active: Some(rgba(0x5b524cff).into()),
ghost_element_selected: Some(rgba(0x5b524cff).into()),
ghost_element_disabled: Some(rgba(0x3a3735ff).into()),
text: Some(rgba(0xfbf1c7ff).into()),
text_muted: Some(rgba(0xc5b597ff).into()),
text_placeholder: Some(rgba(0x776b61ff).into()),
text_disabled: Some(rgba(0xfbf1c7ff).into()),
text_placeholder: Some(rgba(0x9a8c79ff).into()),
text_disabled: Some(rgba(0x9a8c79ff).into()),
text_accent: Some(rgba(0x83a598ff).into()),
icon: Some(rgba(0xfbf1c7ff).into()),
icon_muted: Some(rgba(0xc5b597ff).into()),
icon_disabled: Some(rgba(0x9a8c79ff).into()),
icon_placeholder: Some(rgba(0xc5b597ff).into()),
icon_accent: Some(rgba(0x83a598ff).into()),
status_bar_background: Some(rgba(0x4c4642ff).into()),
title_bar_background: Some(rgba(0x4c4642ff).into()),
toolbar_background: Some(rgba(0x282828ff).into()),
tab_bar_background: Some(rgba(0x3a3735ff).into()),
tab_inactive_background: Some(rgba(0x3a3735ff).into()),
tab_active_background: Some(rgba(0x282828ff).into()),
scrollbar_thumb_background: Some(rgba(0xfbf1c74d).into()),
scrollbar_thumb_hover_background: Some(rgba(0xfbf1c74d).into()),
scrollbar_thumb_border: Some(rgba(0x373432ff).into()),
scrollbar_thumb_background: Some(rgba(0x3a3735ff).into()),
scrollbar_thumb_hover_background: Some(rgba(0x494340ff).into()),
scrollbar_thumb_border: Some(rgba(0x494340ff).into()),
scrollbar_track_background: Some(rgba(0x282828ff).into()),
scrollbar_track_border: Some(rgba(0x373432ff).into()),
editor_foreground: Some(rgba(0xebdbb2ff).into()),
editor_background: Some(rgba(0x282828ff).into()),
editor_gutter_background: Some(rgba(0x282828ff).into()),
editor_subheader_background: Some(rgba(0x3a3735ff).into()),
editor_active_line_background: Some(rgba(0x3a3735bf).into()),
editor_highlighted_line_background: Some(rgba(0x3a3735ff).into()),
editor_line_number: Some(rgba(0xfbf1c759).into()),
editor_active_line_number: Some(rgba(0xfbf1c7ff).into()),
editor_invisible: Some(rgba(0xc5b597ff).into()),
editor_wrap_guide: Some(rgba(0xfbf1c70d).into()),
editor_active_wrap_guide: Some(rgba(0xfbf1c71a).into()),
editor_document_highlight_read_background: Some(rgba(0x83a5981a).into()),
editor_document_highlight_write_background: Some(rgba(0x92847466).into()),
terminal_background: Some(rgba(0x282828ff).into()),
terminal_ansi_bright_black: Some(rgba(0x73675eff).into()),
terminal_ansi_bright_red: Some(rgba(0x93211eff).into()),
@@ -1240,16 +1361,23 @@ pub fn gruvbox() -> UserThemeFamily {
terminal_ansi_magenta: Some(rgba(0xa89984ff).into()),
terminal_ansi_cyan: Some(rgba(0x8ec07cff).into()),
terminal_ansi_white: Some(rgba(0xfbf1c7ff).into()),
link_text_hover: Some(rgba(0x83a598ff).into()),
..Default::default()
},
status: StatusColorsRefinement {
conflict: Some(rgba(0xf9bd30ff).into()),
created: Some(rgba(0xb8bb27ff).into()),
deleted: Some(rgba(0xd0382bff).into()),
deleted: Some(rgba(0xfb4a35ff).into()),
error: Some(rgba(0xfb4a35ff).into()),
hint: Some(rgba(0x8d957eff).into()),
hidden: Some(rgba(0x9a8c79ff).into()),
hint: Some(rgba(0x83a598ff).into()),
ignored: Some(rgba(0xc5b597ff).into()),
info: Some(rgba(0x83a598ff).into()),
modified: Some(rgba(0xf9bd30ff).into()),
predictive: Some(rgba(0x717363ff).into()),
success: Some(rgba(0xfbf1c7ff).into()),
predictive: Some(rgba(0xb8bb27ff).into()),
renamed: Some(rgba(0x83a598ff).into()),
success: Some(rgba(0xb8bb27ff).into()),
unreachable: Some(rgba(0xc5b597ff).into()),
warning: Some(rgba(0xf9bd30ff).into()),
..Default::default()
},
@@ -1584,36 +1712,61 @@ pub fn gruvbox() -> UserThemeFamily {
appearance: Appearance::Light,
styles: UserThemeStylesRefinement {
colors: ThemeColorsRefinement {
border: Some(rgba(0xddcca7ff).into()),
border_variant: Some(rgba(0xeddeb5ff).into()),
border: Some(rgba(0xc9b99aff).into()),
border_variant: Some(rgba(0xc9b99aff).into()),
border_focused: Some(rgba(0xaec6cdff).into()),
border_selected: Some(rgba(0xaec6cdff).into()),
border_transparent: Some(rgba(0x00000000).into()),
border_disabled: Some(rgba(0xd1c09eff).into()),
elevated_surface_background: Some(rgba(0xecdcb3ff).into()),
surface_background: Some(rgba(0xecdcb3ff).into()),
background: Some(rgba(0xd9c8a4ff).into()),
panel_background: Some(rgba(0xecdcb3ff).into()),
element_hover: Some(rgba(0xc9b99a80).into()),
element_selected: Some(rgba(0xb5a68e80).into()),
element_background: Some(rgba(0xecdcb3ff).into()),
element_hover: Some(rgba(0xddcca7ff).into()),
element_active: Some(rgba(0xc9b99aff).into()),
element_selected: Some(rgba(0xc9b99aff).into()),
element_disabled: Some(rgba(0xecdcb3ff).into()),
drop_target_background: Some(rgba(0x5f565080).into()),
ghost_element_background: Some(rgba(0x00000000).into()),
ghost_element_hover: Some(rgba(0xddcca7ff).into()),
ghost_element_active: Some(rgba(0xc9b99aff).into()),
ghost_element_selected: Some(rgba(0xc9b99aff).into()),
ghost_element_disabled: Some(rgba(0xecdcb3ff).into()),
text: Some(rgba(0x282828ff).into()),
text_muted: Some(rgba(0x5f5650ff).into()),
text_placeholder: Some(rgba(0xad9e87ff).into()),
text_disabled: Some(rgba(0x282828ff).into()),
text_placeholder: Some(rgba(0x8a7c6fff).into()),
text_disabled: Some(rgba(0x8a7c6fff).into()),
text_accent: Some(rgba(0x0b6678ff).into()),
icon: Some(rgba(0x282828ff).into()),
icon_muted: Some(rgba(0x5f5650ff).into()),
icon_disabled: Some(rgba(0x8a7c6fff).into()),
icon_placeholder: Some(rgba(0x5f5650ff).into()),
icon_accent: Some(rgba(0x0b6678ff).into()),
status_bar_background: Some(rgba(0xd9c8a4ff).into()),
title_bar_background: Some(rgba(0xd9c8a4ff).into()),
toolbar_background: Some(rgba(0xf2e5bcff).into()),
tab_bar_background: Some(rgba(0xecdcb3ff).into()),
tab_inactive_background: Some(rgba(0xecdcb3ff).into()),
tab_active_background: Some(rgba(0xf2e5bcff).into()),
scrollbar_thumb_background: Some(rgba(0x2828284d).into()),
scrollbar_thumb_hover_background: Some(rgba(0x2828284d).into()),
scrollbar_thumb_border: Some(rgba(0xeddeb5ff).into()),
scrollbar_thumb_background: Some(rgba(0xecdcb3ff).into()),
scrollbar_thumb_hover_background: Some(rgba(0xddcca7ff).into()),
scrollbar_thumb_border: Some(rgba(0xddcca7ff).into()),
scrollbar_track_background: Some(rgba(0xf2e5bcff).into()),
scrollbar_track_border: Some(rgba(0xeddeb5ff).into()),
editor_foreground: Some(rgba(0x282828ff).into()),
editor_background: Some(rgba(0xf2e5bcff).into()),
editor_gutter_background: Some(rgba(0xf2e5bcff).into()),
editor_subheader_background: Some(rgba(0xecdcb3ff).into()),
editor_active_line_background: Some(rgba(0xecdcb3bf).into()),
editor_highlighted_line_background: Some(rgba(0xecdcb3ff).into()),
editor_line_number: Some(rgba(0x28282859).into()),
editor_active_line_number: Some(rgba(0x282828ff).into()),
editor_invisible: Some(rgba(0x5f5650ff).into()),
editor_wrap_guide: Some(rgba(0x2828280d).into()),
editor_active_wrap_guide: Some(rgba(0x2828281a).into()),
editor_document_highlight_read_background: Some(rgba(0x0b66781a).into()),
editor_document_highlight_write_background: Some(rgba(0x92847466).into()),
terminal_background: Some(rgba(0xf2e5bcff).into()),
terminal_ansi_bright_black: Some(rgba(0xb1a28aff).into()),
terminal_ansi_bright_red: Some(rgba(0xdc8c7bff).into()),
@@ -1631,16 +1784,23 @@ pub fn gruvbox() -> UserThemeFamily {
terminal_ansi_magenta: Some(rgba(0x7c6f64ff).into()),
terminal_ansi_cyan: Some(rgba(0x437b59ff).into()),
terminal_ansi_white: Some(rgba(0x282828ff).into()),
link_text_hover: Some(rgba(0x0b6678ff).into()),
..Default::default()
},
status: StatusColorsRefinement {
created: Some(rgba(0x958e43ff).into()),
conflict: Some(rgba(0xb57616ff).into()),
created: Some(rgba(0x797410ff).into()),
deleted: Some(rgba(0x9d0408ff).into()),
error: Some(rgba(0x9d0408ff).into()),
hint: Some(rgba(0x677562ff).into()),
hidden: Some(rgba(0x8a7c6fff).into()),
hint: Some(rgba(0x0b6678ff).into()),
ignored: Some(rgba(0x5f5650ff).into()),
info: Some(rgba(0x0b6678ff).into()),
modified: Some(rgba(0xb57616ff).into()),
predictive: Some(rgba(0x7d9881ff).into()),
success: Some(rgba(0x282828ff).into()),
predictive: Some(rgba(0x797410ff).into()),
renamed: Some(rgba(0x0b6678ff).into()),
success: Some(rgba(0x797410ff).into()),
unreachable: Some(rgba(0x5f5650ff).into()),
warning: Some(rgba(0xb57616ff).into()),
..Default::default()
},
@@ -1975,36 +2135,61 @@ pub fn gruvbox() -> UserThemeFamily {
appearance: Appearance::Dark,
styles: UserThemeStylesRefinement {
colors: ThemeColorsRefinement {
border: Some(rgba(0x494340ff).into()),
border_variant: Some(rgba(0x343130ff).into()),
border: Some(rgba(0x5b534dff).into()),
border_variant: Some(rgba(0x5b534dff).into()),
border_focused: Some(rgba(0x303a36ff).into()),
border_selected: Some(rgba(0x303a36ff).into()),
border_transparent: Some(rgba(0x00000000).into()),
border_disabled: Some(rgba(0x544c48ff).into()),
elevated_surface_background: Some(rgba(0x393634ff).into()),
surface_background: Some(rgba(0x393634ff).into()),
background: Some(rgba(0x4c4642ff).into()),
panel_background: Some(rgba(0x393634ff).into()),
element_hover: Some(rgba(0x5b534d80).into()),
element_selected: Some(rgba(0x6e635a80).into()),
element_background: Some(rgba(0x393634ff).into()),
element_hover: Some(rgba(0x494340ff).into()),
element_active: Some(rgba(0x5b524cff).into()),
element_selected: Some(rgba(0x5b524cff).into()),
element_disabled: Some(rgba(0x393634ff).into()),
drop_target_background: Some(rgba(0xc5b59780).into()),
ghost_element_background: Some(rgba(0x00000000).into()),
ghost_element_hover: Some(rgba(0x494340ff).into()),
ghost_element_active: Some(rgba(0x5b524cff).into()),
ghost_element_selected: Some(rgba(0x5b524cff).into()),
ghost_element_disabled: Some(rgba(0x393634ff).into()),
text: Some(rgba(0xfbf1c7ff).into()),
text_muted: Some(rgba(0xc5b597ff).into()),
text_placeholder: Some(rgba(0x776b61ff).into()),
text_disabled: Some(rgba(0xfbf1c7ff).into()),
text_placeholder: Some(rgba(0x9a8c79ff).into()),
text_disabled: Some(rgba(0x9a8c79ff).into()),
text_accent: Some(rgba(0x83a598ff).into()),
icon: Some(rgba(0xfbf1c7ff).into()),
icon_muted: Some(rgba(0xc5b597ff).into()),
icon_disabled: Some(rgba(0x9a8c79ff).into()),
icon_placeholder: Some(rgba(0xc5b597ff).into()),
icon_accent: Some(rgba(0x83a598ff).into()),
status_bar_background: Some(rgba(0x4c4642ff).into()),
title_bar_background: Some(rgba(0x4c4642ff).into()),
toolbar_background: Some(rgba(0x1d2021ff).into()),
tab_bar_background: Some(rgba(0x393634ff).into()),
tab_inactive_background: Some(rgba(0x393634ff).into()),
tab_active_background: Some(rgba(0x1d2021ff).into()),
scrollbar_thumb_background: Some(rgba(0xfbf1c74d).into()),
scrollbar_thumb_hover_background: Some(rgba(0xfbf1c74d).into()),
scrollbar_thumb_border: Some(rgba(0x343130ff).into()),
scrollbar_thumb_background: Some(rgba(0x393634ff).into()),
scrollbar_thumb_hover_background: Some(rgba(0x494340ff).into()),
scrollbar_thumb_border: Some(rgba(0x494340ff).into()),
scrollbar_track_background: Some(rgba(0x1d2021ff).into()),
scrollbar_track_border: Some(rgba(0x343130ff).into()),
editor_foreground: Some(rgba(0xebdbb2ff).into()),
editor_background: Some(rgba(0x1d2021ff).into()),
editor_gutter_background: Some(rgba(0x1d2021ff).into()),
editor_subheader_background: Some(rgba(0x393634ff).into()),
editor_active_line_background: Some(rgba(0x393634bf).into()),
editor_highlighted_line_background: Some(rgba(0x393634ff).into()),
editor_line_number: Some(rgba(0xfbf1c759).into()),
editor_active_line_number: Some(rgba(0xfbf1c7ff).into()),
editor_invisible: Some(rgba(0xc5b597ff).into()),
editor_wrap_guide: Some(rgba(0xfbf1c70d).into()),
editor_active_wrap_guide: Some(rgba(0xfbf1c71a).into()),
editor_document_highlight_read_background: Some(rgba(0x83a5981a).into()),
editor_document_highlight_write_background: Some(rgba(0x92847466).into()),
terminal_background: Some(rgba(0x1d2021ff).into()),
terminal_ansi_bright_black: Some(rgba(0x73675eff).into()),
terminal_ansi_bright_red: Some(rgba(0x93211eff).into()),
@@ -2022,16 +2207,23 @@ pub fn gruvbox() -> UserThemeFamily {
terminal_ansi_magenta: Some(rgba(0xa89984ff).into()),
terminal_ansi_cyan: Some(rgba(0x8ec07cff).into()),
terminal_ansi_white: Some(rgba(0xfbf1c7ff).into()),
link_text_hover: Some(rgba(0x83a598ff).into()),
..Default::default()
},
status: StatusColorsRefinement {
conflict: Some(rgba(0xf9bd30ff).into()),
created: Some(rgba(0xb8bb27ff).into()),
deleted: Some(rgba(0xd0382bff).into()),
deleted: Some(rgba(0xfb4a35ff).into()),
error: Some(rgba(0xfb4a35ff).into()),
hint: Some(rgba(0x8d957eff).into()),
hidden: Some(rgba(0x9a8c79ff).into()),
hint: Some(rgba(0x83a598ff).into()),
ignored: Some(rgba(0xc5b597ff).into()),
info: Some(rgba(0x83a598ff).into()),
modified: Some(rgba(0xf9bd30ff).into()),
predictive: Some(rgba(0x717363ff).into()),
success: Some(rgba(0xfbf1c7ff).into()),
predictive: Some(rgba(0xb8bb27ff).into()),
renamed: Some(rgba(0x83a598ff).into()),
success: Some(rgba(0xb8bb27ff).into()),
unreachable: Some(rgba(0xc5b597ff).into()),
warning: Some(rgba(0xf9bd30ff).into()),
..Default::default()
},
+90 -26
View File
@@ -20,36 +20,61 @@ pub fn one() -> UserThemeFamily {
appearance: Appearance::Light,
styles: UserThemeStylesRefinement {
colors: ThemeColorsRefinement {
border: Some(rgba(0xdfdfe0ff).into()),
border_variant: Some(rgba(0xeeeeeeff).into()),
border: Some(rgba(0xc9c9caff).into()),
border_variant: Some(rgba(0xc9c9caff).into()),
border_focused: Some(rgba(0xcbcdf6ff).into()),
border_selected: Some(rgba(0xcbcdf6ff).into()),
border_transparent: Some(rgba(0x00000000).into()),
border_disabled: Some(rgba(0xd3d3d4ff).into()),
elevated_surface_background: Some(rgba(0xebebecff).into()),
surface_background: Some(rgba(0xebebecff).into()),
background: Some(rgba(0xdcdcddff).into()),
panel_background: Some(rgba(0xebebecff).into()),
element_hover: Some(rgba(0xc9c9ca80).into()),
element_selected: Some(rgba(0xafafaf80).into()),
element_background: Some(rgba(0xebebecff).into()),
element_hover: Some(rgba(0xdfdfe0ff).into()),
element_active: Some(rgba(0xcacacaff).into()),
element_selected: Some(rgba(0xcacacaff).into()),
element_disabled: Some(rgba(0xebebecff).into()),
drop_target_background: Some(rgba(0x7f818880).into()),
ghost_element_background: Some(rgba(0x00000000).into()),
ghost_element_hover: Some(rgba(0xdfdfe0ff).into()),
ghost_element_active: Some(rgba(0xcacacaff).into()),
ghost_element_selected: Some(rgba(0xcacacaff).into()),
ghost_element_disabled: Some(rgba(0xebebecff).into()),
text: Some(rgba(0x383a41ff).into()),
text_muted: Some(rgba(0x7f8188ff).into()),
text_placeholder: Some(rgba(0xa7a7a8ff).into()),
text_disabled: Some(rgba(0x383a41ff).into()),
text_placeholder: Some(rgba(0xa1a1a3ff).into()),
text_disabled: Some(rgba(0xa1a1a3ff).into()),
text_accent: Some(rgba(0x5c79e2ff).into()),
icon: Some(rgba(0x383a41ff).into()),
icon_muted: Some(rgba(0x7f8188ff).into()),
icon_disabled: Some(rgba(0xa1a1a3ff).into()),
icon_placeholder: Some(rgba(0x7f8188ff).into()),
icon_accent: Some(rgba(0x5c79e2ff).into()),
status_bar_background: Some(rgba(0xdcdcddff).into()),
title_bar_background: Some(rgba(0xdcdcddff).into()),
toolbar_background: Some(rgba(0xfafafaff).into()),
tab_bar_background: Some(rgba(0xebebecff).into()),
tab_inactive_background: Some(rgba(0xebebecff).into()),
tab_active_background: Some(rgba(0xfafafaff).into()),
scrollbar_thumb_background: Some(rgba(0x383a414d).into()),
scrollbar_thumb_hover_background: Some(rgba(0x383a414d).into()),
scrollbar_thumb_border: Some(rgba(0xeeeeeeff).into()),
scrollbar_thumb_background: Some(rgba(0xebebecff).into()),
scrollbar_thumb_hover_background: Some(rgba(0xdfdfe0ff).into()),
scrollbar_thumb_border: Some(rgba(0xdfdfe0ff).into()),
scrollbar_track_background: Some(rgba(0xfafafaff).into()),
scrollbar_track_border: Some(rgba(0xeeeeeeff).into()),
editor_foreground: Some(rgba(0x383a41ff).into()),
editor_background: Some(rgba(0xfafafaff).into()),
editor_gutter_background: Some(rgba(0xfafafaff).into()),
editor_subheader_background: Some(rgba(0xebebecff).into()),
editor_active_line_background: Some(rgba(0xebebecbf).into()),
editor_highlighted_line_background: Some(rgba(0xebebecff).into()),
editor_line_number: Some(rgba(0x383a4159).into()),
editor_active_line_number: Some(rgba(0x383a41ff).into()),
editor_invisible: Some(rgba(0x7f8188ff).into()),
editor_wrap_guide: Some(rgba(0x383a410d).into()),
editor_active_wrap_guide: Some(rgba(0x383a411a).into()),
editor_document_highlight_read_background: Some(rgba(0x5c79e21a).into()),
editor_document_highlight_write_background: Some(rgba(0xa3a3a466).into()),
terminal_background: Some(rgba(0xfafafaff).into()),
terminal_ansi_bright_black: Some(rgba(0xaaaaaaff).into()),
terminal_ansi_bright_red: Some(rgba(0xf0b0a4ff).into()),
@@ -67,16 +92,23 @@ pub fn one() -> UserThemeFamily {
terminal_ansi_magenta: Some(rgba(0x994fa6ff).into()),
terminal_ansi_cyan: Some(rgba(0x3b82b7ff).into()),
terminal_ansi_white: Some(rgba(0x383a41ff).into()),
link_text_hover: Some(rgba(0x5c79e2ff).into()),
..Default::default()
},
status: StatusColorsRefinement {
created: Some(rgba(0x84b278ff).into()),
conflict: Some(rgba(0xdec184ff).into()),
created: Some(rgba(0x669f59ff).into()),
deleted: Some(rgba(0xd36151ff).into()),
error: Some(rgba(0xd36151ff).into()),
hint: Some(rgba(0x9295beff).into()),
hidden: Some(rgba(0xa1a1a3ff).into()),
hint: Some(rgba(0x5c79e2ff).into()),
ignored: Some(rgba(0x7f8188ff).into()),
info: Some(rgba(0x5c79e2ff).into()),
modified: Some(rgba(0xdec184ff).into()),
predictive: Some(rgba(0x9c9fc7ff).into()),
success: Some(rgba(0x383a41ff).into()),
predictive: Some(rgba(0x669f59ff).into()),
renamed: Some(rgba(0x5c79e2ff).into()),
success: Some(rgba(0x669f59ff).into()),
unreachable: Some(rgba(0x7f8188ff).into()),
warning: Some(rgba(0xdec184ff).into()),
..Default::default()
},
@@ -411,36 +443,61 @@ pub fn one() -> UserThemeFamily {
appearance: Appearance::Dark,
styles: UserThemeStylesRefinement {
colors: ThemeColorsRefinement {
border: Some(rgba(0x363c46ff).into()),
border_variant: Some(rgba(0x2e333cff).into()),
border: Some(rgba(0x464b57ff).into()),
border_variant: Some(rgba(0x464b57ff).into()),
border_focused: Some(rgba(0x293c5bff).into()),
border_selected: Some(rgba(0x293c5bff).into()),
border_transparent: Some(rgba(0x00000000).into()),
border_disabled: Some(rgba(0x414754ff).into()),
elevated_surface_background: Some(rgba(0x2f343eff).into()),
surface_background: Some(rgba(0x2f343eff).into()),
background: Some(rgba(0x3b414dff).into()),
panel_background: Some(rgba(0x2f343eff).into()),
element_hover: Some(rgba(0x464b5780).into()),
element_selected: Some(rgba(0x4f545e80).into()),
element_background: Some(rgba(0x2f343eff).into()),
element_hover: Some(rgba(0x363c46ff).into()),
element_active: Some(rgba(0x454a56ff).into()),
element_selected: Some(rgba(0x454a56ff).into()),
element_disabled: Some(rgba(0x2f343eff).into()),
drop_target_background: Some(rgba(0x83899480).into()),
ghost_element_background: Some(rgba(0x00000000).into()),
ghost_element_hover: Some(rgba(0x363c46ff).into()),
ghost_element_active: Some(rgba(0x454a56ff).into()),
ghost_element_selected: Some(rgba(0x454a56ff).into()),
ghost_element_disabled: Some(rgba(0x2f343eff).into()),
text: Some(rgba(0xc8ccd4ff).into()),
text_muted: Some(rgba(0x838994ff).into()),
text_placeholder: Some(rgba(0x545862ff).into()),
text_disabled: Some(rgba(0xc8ccd4ff).into()),
text_placeholder: Some(rgba(0x555a63ff).into()),
text_disabled: Some(rgba(0x555a63ff).into()),
text_accent: Some(rgba(0x74ade8ff).into()),
icon: Some(rgba(0xc8ccd4ff).into()),
icon_muted: Some(rgba(0x838994ff).into()),
icon_disabled: Some(rgba(0x555a63ff).into()),
icon_placeholder: Some(rgba(0x838994ff).into()),
icon_accent: Some(rgba(0x74ade8ff).into()),
status_bar_background: Some(rgba(0x3b414dff).into()),
title_bar_background: Some(rgba(0x3b414dff).into()),
toolbar_background: Some(rgba(0x282c34ff).into()),
tab_bar_background: Some(rgba(0x2f343eff).into()),
tab_inactive_background: Some(rgba(0x2f343eff).into()),
tab_active_background: Some(rgba(0x282c34ff).into()),
scrollbar_thumb_background: Some(rgba(0xc8ccd44d).into()),
scrollbar_thumb_hover_background: Some(rgba(0xc8ccd44d).into()),
scrollbar_thumb_border: Some(rgba(0x2e333cff).into()),
scrollbar_thumb_background: Some(rgba(0x2f343eff).into()),
scrollbar_thumb_hover_background: Some(rgba(0x363c46ff).into()),
scrollbar_thumb_border: Some(rgba(0x363c46ff).into()),
scrollbar_track_background: Some(rgba(0x282c34ff).into()),
scrollbar_track_border: Some(rgba(0x2e333cff).into()),
editor_foreground: Some(rgba(0xacb2beff).into()),
editor_background: Some(rgba(0x282c34ff).into()),
editor_gutter_background: Some(rgba(0x282c34ff).into()),
editor_subheader_background: Some(rgba(0x2f343eff).into()),
editor_active_line_background: Some(rgba(0x2f343ebf).into()),
editor_highlighted_line_background: Some(rgba(0x2f343eff).into()),
editor_line_number: Some(rgba(0xc8ccd459).into()),
editor_active_line_number: Some(rgba(0xc8ccd4ff).into()),
editor_invisible: Some(rgba(0x838994ff).into()),
editor_wrap_guide: Some(rgba(0xc8ccd40d).into()),
editor_active_wrap_guide: Some(rgba(0xc8ccd41a).into()),
editor_document_highlight_read_background: Some(rgba(0x74ade81a).into()),
editor_document_highlight_write_background: Some(rgba(0x555a6366).into()),
terminal_background: Some(rgba(0x282c34ff).into()),
terminal_ansi_bright_black: Some(rgba(0x525661ff).into()),
terminal_ansi_bright_red: Some(rgba(0x673a3cff).into()),
@@ -458,16 +515,23 @@ pub fn one() -> UserThemeFamily {
terminal_ansi_magenta: Some(rgba(0xbe5046ff).into()),
terminal_ansi_cyan: Some(rgba(0x6fb4c0ff).into()),
terminal_ansi_white: Some(rgba(0xc8ccd4ff).into()),
link_text_hover: Some(rgba(0x74ade8ff).into()),
..Default::default()
},
status: StatusColorsRefinement {
conflict: Some(rgba(0xdec184ff).into()),
created: Some(rgba(0xa1c181ff).into()),
deleted: Some(rgba(0xa45a5eff).into()),
deleted: Some(rgba(0xd07277ff).into()),
error: Some(rgba(0xd07277ff).into()),
hint: Some(rgba(0x5b708aff).into()),
hidden: Some(rgba(0x555a63ff).into()),
hint: Some(rgba(0x74ade8ff).into()),
ignored: Some(rgba(0x838994ff).into()),
info: Some(rgba(0x74ade8ff).into()),
modified: Some(rgba(0xdec184ff).into()),
predictive: Some(rgba(0x5b6b88ff).into()),
success: Some(rgba(0xc8ccd4ff).into()),
predictive: Some(rgba(0xa1c181ff).into()),
renamed: Some(rgba(0x74ade8ff).into()),
success: Some(rgba(0xa1c181ff).into()),
unreachable: Some(rgba(0x838994ff).into()),
warning: Some(rgba(0xdec184ff).into()),
..Default::default()
},
+135 -39
View File
@@ -20,36 +20,61 @@ pub fn rose_pine() -> UserThemeFamily {
appearance: Appearance::Light,
styles: UserThemeStylesRefinement {
colors: ThemeColorsRefinement {
border: Some(rgba(0xe5e0dfff).into()),
border_variant: Some(rgba(0xfdf8f1ff).into()),
border: Some(rgba(0xdcd6d5ff).into()),
border_variant: Some(rgba(0xdcd6d5ff).into()),
border_focused: Some(rgba(0xc3d7dbff).into()),
border_selected: Some(rgba(0xc3d7dbff).into()),
border_transparent: Some(rgba(0x00000000).into()),
border_disabled: Some(rgba(0xd0cccfff).into()),
elevated_surface_background: Some(rgba(0xfef9f2ff).into()),
surface_background: Some(rgba(0xfef9f2ff).into()),
background: Some(rgba(0xdcd8d8ff).into()),
panel_background: Some(rgba(0xfef9f2ff).into()),
element_hover: Some(rgba(0xdcd6d580).into()),
element_selected: Some(rgba(0xc1bac180).into()),
element_background: Some(rgba(0xfef9f2ff).into()),
element_hover: Some(rgba(0xe5e0dfff).into()),
element_active: Some(rgba(0xdbd5d4ff).into()),
element_selected: Some(rgba(0xdbd5d4ff).into()),
element_disabled: Some(rgba(0xfef9f2ff).into()),
drop_target_background: Some(rgba(0x706c8c80).into()),
ghost_element_background: Some(rgba(0x00000000).into()),
ghost_element_hover: Some(rgba(0xe5e0dfff).into()),
ghost_element_active: Some(rgba(0xdbd5d4ff).into()),
ghost_element_selected: Some(rgba(0xdbd5d4ff).into()),
ghost_element_disabled: Some(rgba(0xfef9f2ff).into()),
text: Some(rgba(0x575279ff).into()),
text_muted: Some(rgba(0x706c8cff).into()),
text_placeholder: Some(rgba(0xb1abb5ff).into()),
text_disabled: Some(rgba(0x575279ff).into()),
text_placeholder: Some(rgba(0x938fa3ff).into()),
text_disabled: Some(rgba(0x938fa3ff).into()),
text_accent: Some(rgba(0x57949fff).into()),
icon: Some(rgba(0x575279ff).into()),
icon_muted: Some(rgba(0x706c8cff).into()),
icon_disabled: Some(rgba(0x938fa3ff).into()),
icon_placeholder: Some(rgba(0x706c8cff).into()),
icon_accent: Some(rgba(0x57949fff).into()),
status_bar_background: Some(rgba(0xdcd8d8ff).into()),
title_bar_background: Some(rgba(0xdcd8d8ff).into()),
toolbar_background: Some(rgba(0xfaf4edff).into()),
tab_bar_background: Some(rgba(0xfef9f2ff).into()),
tab_inactive_background: Some(rgba(0xfef9f2ff).into()),
tab_active_background: Some(rgba(0xfaf4edff).into()),
scrollbar_thumb_background: Some(rgba(0x5752794d).into()),
scrollbar_thumb_hover_background: Some(rgba(0x5752794d).into()),
scrollbar_thumb_border: Some(rgba(0xfdf8f1ff).into()),
scrollbar_thumb_background: Some(rgba(0xfef9f2ff).into()),
scrollbar_thumb_hover_background: Some(rgba(0xe5e0dfff).into()),
scrollbar_thumb_border: Some(rgba(0xe5e0dfff).into()),
scrollbar_track_background: Some(rgba(0xfaf4edff).into()),
scrollbar_track_border: Some(rgba(0xfdf8f1ff).into()),
editor_foreground: Some(rgba(0x575279ff).into()),
editor_background: Some(rgba(0xfaf4edff).into()),
editor_gutter_background: Some(rgba(0xfaf4edff).into()),
editor_subheader_background: Some(rgba(0xfef9f2ff).into()),
editor_active_line_background: Some(rgba(0xfef9f2bf).into()),
editor_highlighted_line_background: Some(rgba(0xfef9f2ff).into()),
editor_line_number: Some(rgba(0x57527959).into()),
editor_active_line_number: Some(rgba(0x575279ff).into()),
editor_invisible: Some(rgba(0x706c8cff).into()),
editor_wrap_guide: Some(rgba(0x5752790d).into()),
editor_active_wrap_guide: Some(rgba(0x5752791a).into()),
editor_document_highlight_read_background: Some(rgba(0x57949f1a).into()),
editor_document_highlight_write_background: Some(rgba(0x9691a466).into()),
terminal_background: Some(rgba(0xfaf4edff).into()),
terminal_ansi_bright_black: Some(rgba(0xb8b2baff).into()),
terminal_ansi_bright_red: Some(rgba(0xdcb0bbff).into()),
@@ -67,16 +92,23 @@ pub fn rose_pine() -> UserThemeFamily {
terminal_ansi_magenta: Some(rgba(0x7c697fff).into()),
terminal_ansi_cyan: Some(rgba(0x2a6983ff).into()),
terminal_ansi_white: Some(rgba(0x575279ff).into()),
link_text_hover: Some(rgba(0x57949fff).into()),
..Default::default()
},
status: StatusColorsRefinement {
created: Some(rgba(0x6bbca3ff).into()),
conflict: Some(rgba(0xe99d35ff).into()),
created: Some(rgba(0x3eaa8eff).into()),
deleted: Some(rgba(0xb4647aff).into()),
error: Some(rgba(0xb4647aff).into()),
hint: Some(rgba(0x7a92aaff).into()),
hidden: Some(rgba(0x938fa3ff).into()),
hint: Some(rgba(0x57949fff).into()),
ignored: Some(rgba(0x706c8cff).into()),
info: Some(rgba(0x57949fff).into()),
modified: Some(rgba(0xe99d35ff).into()),
predictive: Some(rgba(0xa2acbeff).into()),
success: Some(rgba(0x575279ff).into()),
predictive: Some(rgba(0x3eaa8eff).into()),
renamed: Some(rgba(0x57949fff).into()),
success: Some(rgba(0x3eaa8eff).into()),
unreachable: Some(rgba(0x706c8cff).into()),
warning: Some(rgba(0xe99d35ff).into()),
..Default::default()
},
@@ -418,36 +450,61 @@ pub fn rose_pine() -> UserThemeFamily {
appearance: Appearance::Dark,
styles: UserThemeStylesRefinement {
colors: ThemeColorsRefinement {
border: Some(rgba(0x322f48ff).into()),
border_variant: Some(rgba(0x27243bff).into()),
border: Some(rgba(0x504c68ff).into()),
border_variant: Some(rgba(0x504c68ff).into()),
border_focused: Some(rgba(0x435255ff).into()),
border_selected: Some(rgba(0x435255ff).into()),
border_transparent: Some(rgba(0x00000000).into()),
border_disabled: Some(rgba(0x44415bff).into()),
elevated_surface_background: Some(rgba(0x28253cff).into()),
surface_background: Some(rgba(0x28253cff).into()),
background: Some(rgba(0x38354eff).into()),
panel_background: Some(rgba(0x28253cff).into()),
element_hover: Some(rgba(0x504c6880).into()),
element_selected: Some(rgba(0x45415d80).into()),
element_background: Some(rgba(0x28253cff).into()),
element_hover: Some(rgba(0x322f48ff).into()),
element_active: Some(rgba(0x4f4b66ff).into()),
element_selected: Some(rgba(0x4f4b66ff).into()),
element_disabled: Some(rgba(0x28253cff).into()),
drop_target_background: Some(rgba(0x85819e80).into()),
ghost_element_background: Some(rgba(0x00000000).into()),
ghost_element_hover: Some(rgba(0x322f48ff).into()),
ghost_element_active: Some(rgba(0x4f4b66ff).into()),
ghost_element_selected: Some(rgba(0x4f4b66ff).into()),
ghost_element_disabled: Some(rgba(0x28253cff).into()),
text: Some(rgba(0xe0def4ff).into()),
text_muted: Some(rgba(0x85819eff).into()),
text_placeholder: Some(rgba(0x3a3653ff).into()),
text_disabled: Some(rgba(0xe0def4ff).into()),
text_placeholder: Some(rgba(0x615d7aff).into()),
text_disabled: Some(rgba(0x615d7aff).into()),
text_accent: Some(rgba(0x9cced7ff).into()),
icon: Some(rgba(0xe0def4ff).into()),
icon_muted: Some(rgba(0x85819eff).into()),
icon_disabled: Some(rgba(0x615d7aff).into()),
icon_placeholder: Some(rgba(0x85819eff).into()),
icon_accent: Some(rgba(0x9cced7ff).into()),
status_bar_background: Some(rgba(0x38354eff).into()),
title_bar_background: Some(rgba(0x38354eff).into()),
toolbar_background: Some(rgba(0x232136ff).into()),
tab_bar_background: Some(rgba(0x28253cff).into()),
tab_inactive_background: Some(rgba(0x28253cff).into()),
tab_active_background: Some(rgba(0x232136ff).into()),
scrollbar_thumb_background: Some(rgba(0xe0def44d).into()),
scrollbar_thumb_hover_background: Some(rgba(0xe0def44d).into()),
scrollbar_thumb_border: Some(rgba(0x27243bff).into()),
scrollbar_thumb_background: Some(rgba(0x28253cff).into()),
scrollbar_thumb_hover_background: Some(rgba(0x322f48ff).into()),
scrollbar_thumb_border: Some(rgba(0x322f48ff).into()),
scrollbar_track_background: Some(rgba(0x232136ff).into()),
scrollbar_track_border: Some(rgba(0x27243bff).into()),
editor_foreground: Some(rgba(0xe0def4ff).into()),
editor_background: Some(rgba(0x232136ff).into()),
editor_gutter_background: Some(rgba(0x232136ff).into()),
editor_subheader_background: Some(rgba(0x28253cff).into()),
editor_active_line_background: Some(rgba(0x28253cbf).into()),
editor_highlighted_line_background: Some(rgba(0x28253cff).into()),
editor_line_number: Some(rgba(0xe0def459).into()),
editor_active_line_number: Some(rgba(0xe0def4ff).into()),
editor_invisible: Some(rgba(0x85819eff).into()),
editor_wrap_guide: Some(rgba(0xe0def40d).into()),
editor_active_wrap_guide: Some(rgba(0xe0def41a).into()),
editor_document_highlight_read_background: Some(rgba(0x9cced71a).into()),
editor_document_highlight_write_background: Some(rgba(0x59557166).into()),
terminal_background: Some(rgba(0x232136ff).into()),
terminal_ansi_bright_black: Some(rgba(0x3f3b58ff).into()),
terminal_ansi_bright_red: Some(rgba(0x7e3647ff).into()),
@@ -465,16 +522,23 @@ pub fn rose_pine() -> UserThemeFamily {
terminal_ansi_magenta: Some(rgba(0xa784a1ff).into()),
terminal_ansi_cyan: Some(rgba(0x3f8fb0ff).into()),
terminal_ansi_white: Some(rgba(0xe0def4ff).into()),
link_text_hover: Some(rgba(0x9cced7ff).into()),
..Default::default()
},
status: StatusColorsRefinement {
conflict: Some(rgba(0xf5c177ff).into()),
created: Some(rgba(0x5dc2a3ff).into()),
deleted: Some(rgba(0xbe5773ff).into()),
deleted: Some(rgba(0xea6f92ff).into()),
error: Some(rgba(0xea6f92ff).into()),
hint: Some(rgba(0x728aa2ff).into()),
hidden: Some(rgba(0x615d7aff).into()),
hint: Some(rgba(0x9cced7ff).into()),
ignored: Some(rgba(0x85819eff).into()),
info: Some(rgba(0x9cced7ff).into()),
modified: Some(rgba(0xf5c177ff).into()),
predictive: Some(rgba(0x516b83ff).into()),
success: Some(rgba(0xe0def4ff).into()),
predictive: Some(rgba(0x5dc2a3ff).into()),
renamed: Some(rgba(0x9cced7ff).into()),
success: Some(rgba(0x5dc2a3ff).into()),
unreachable: Some(rgba(0x85819eff).into()),
warning: Some(rgba(0xf5c177ff).into()),
..Default::default()
},
@@ -816,36 +880,61 @@ pub fn rose_pine() -> UserThemeFamily {
appearance: Appearance::Dark,
styles: UserThemeStylesRefinement {
colors: ThemeColorsRefinement {
border: Some(rgba(0x232132ff).into()),
border_variant: Some(rgba(0x1c1a29ff).into()),
border: Some(rgba(0x423f55ff).into()),
border_variant: Some(rgba(0x423f55ff).into()),
border_focused: Some(rgba(0x435255ff).into()),
border_selected: Some(rgba(0x435255ff).into()),
border_transparent: Some(rgba(0x00000000).into()),
border_disabled: Some(rgba(0x353347ff).into()),
elevated_surface_background: Some(rgba(0x1d1b2aff).into()),
surface_background: Some(rgba(0x1d1b2aff).into()),
background: Some(rgba(0x292739ff).into()),
panel_background: Some(rgba(0x1d1b2aff).into()),
element_hover: Some(rgba(0x423f5580).into()),
element_selected: Some(rgba(0x47445b80).into()),
element_background: Some(rgba(0x1d1b2aff).into()),
element_hover: Some(rgba(0x232132ff).into()),
element_active: Some(rgba(0x403e53ff).into()),
element_selected: Some(rgba(0x403e53ff).into()),
element_disabled: Some(rgba(0x1d1b2aff).into()),
drop_target_background: Some(rgba(0x75718e80).into()),
ghost_element_background: Some(rgba(0x00000000).into()),
ghost_element_hover: Some(rgba(0x232132ff).into()),
ghost_element_active: Some(rgba(0x403e53ff).into()),
ghost_element_selected: Some(rgba(0x403e53ff).into()),
ghost_element_disabled: Some(rgba(0x1d1b2aff).into()),
text: Some(rgba(0xe0def4ff).into()),
text_muted: Some(rgba(0x75718eff).into()),
text_placeholder: Some(rgba(0x3b384fff).into()),
text_disabled: Some(rgba(0xe0def4ff).into()),
text_placeholder: Some(rgba(0x2f2b43ff).into()),
text_disabled: Some(rgba(0x2f2b43ff).into()),
text_accent: Some(rgba(0x9cced7ff).into()),
icon: Some(rgba(0xe0def4ff).into()),
icon_muted: Some(rgba(0x75718eff).into()),
icon_disabled: Some(rgba(0x2f2b43ff).into()),
icon_placeholder: Some(rgba(0x75718eff).into()),
icon_accent: Some(rgba(0x9cced7ff).into()),
status_bar_background: Some(rgba(0x292739ff).into()),
title_bar_background: Some(rgba(0x292739ff).into()),
toolbar_background: Some(rgba(0x191724ff).into()),
tab_bar_background: Some(rgba(0x1d1b2aff).into()),
tab_inactive_background: Some(rgba(0x1d1b2aff).into()),
tab_active_background: Some(rgba(0x191724ff).into()),
scrollbar_thumb_background: Some(rgba(0xe0def44d).into()),
scrollbar_thumb_hover_background: Some(rgba(0xe0def44d).into()),
scrollbar_thumb_border: Some(rgba(0x1c1a29ff).into()),
scrollbar_thumb_background: Some(rgba(0x1d1b2aff).into()),
scrollbar_thumb_hover_background: Some(rgba(0x232132ff).into()),
scrollbar_thumb_border: Some(rgba(0x232132ff).into()),
scrollbar_track_background: Some(rgba(0x191724ff).into()),
scrollbar_track_border: Some(rgba(0x1c1a29ff).into()),
editor_foreground: Some(rgba(0xe0def4ff).into()),
editor_background: Some(rgba(0x191724ff).into()),
editor_gutter_background: Some(rgba(0x191724ff).into()),
editor_subheader_background: Some(rgba(0x1d1b2aff).into()),
editor_active_line_background: Some(rgba(0x1d1b2abf).into()),
editor_highlighted_line_background: Some(rgba(0x1d1b2aff).into()),
editor_line_number: Some(rgba(0xe0def459).into()),
editor_active_line_number: Some(rgba(0xe0def4ff).into()),
editor_invisible: Some(rgba(0x75718eff).into()),
editor_wrap_guide: Some(rgba(0xe0def40d).into()),
editor_active_wrap_guide: Some(rgba(0xe0def41a).into()),
editor_document_highlight_read_background: Some(rgba(0x9cced71a).into()),
editor_document_highlight_write_background: Some(rgba(0x28253c66).into()),
terminal_background: Some(rgba(0x191724ff).into()),
terminal_ansi_bright_black: Some(rgba(0x403d55ff).into()),
terminal_ansi_bright_red: Some(rgba(0x7e3647ff).into()),
@@ -863,16 +952,23 @@ pub fn rose_pine() -> UserThemeFamily {
terminal_ansi_magenta: Some(rgba(0x9d7691ff).into()),
terminal_ansi_cyan: Some(rgba(0x32748fff).into()),
terminal_ansi_white: Some(rgba(0xe0def4ff).into()),
link_text_hover: Some(rgba(0x9cced7ff).into()),
..Default::default()
},
status: StatusColorsRefinement {
conflict: Some(rgba(0xf5c177ff).into()),
created: Some(rgba(0x5dc2a3ff).into()),
deleted: Some(rgba(0xbe5773ff).into()),
deleted: Some(rgba(0xea6f92ff).into()),
error: Some(rgba(0xea6f92ff).into()),
hint: Some(rgba(0x5e768cff).into()),
hidden: Some(rgba(0x2f2b43ff).into()),
hint: Some(rgba(0x9cced7ff).into()),
ignored: Some(rgba(0x75718eff).into()),
info: Some(rgba(0x9cced7ff).into()),
modified: Some(rgba(0xf5c177ff).into()),
predictive: Some(rgba(0x556b81ff).into()),
success: Some(rgba(0xe0def4ff).into()),
predictive: Some(rgba(0x5dc2a3ff).into()),
renamed: Some(rgba(0x9cced7ff).into()),
success: Some(rgba(0x5dc2a3ff).into()),
unreachable: Some(rgba(0x75718eff).into()),
warning: Some(rgba(0xf5c177ff).into()),
..Default::default()
},
+45 -13
View File
@@ -19,36 +19,61 @@ pub fn sandcastle() -> UserThemeFamily {
appearance: Appearance::Dark,
styles: UserThemeStylesRefinement {
colors: ThemeColorsRefinement {
border: Some(rgba(0x313741ff).into()),
border_variant: Some(rgba(0x2a2f38ff).into()),
border: Some(rgba(0x3d4350ff).into()),
border_variant: Some(rgba(0x3d4350ff).into()),
border_focused: Some(rgba(0x223232ff).into()),
border_selected: Some(rgba(0x223232ff).into()),
border_transparent: Some(rgba(0x00000000).into()),
border_disabled: Some(rgba(0x393f4aff).into()),
elevated_surface_background: Some(rgba(0x2b3039ff).into()),
surface_background: Some(rgba(0x2b3039ff).into()),
background: Some(rgba(0x333944ff).into()),
panel_background: Some(rgba(0x2b3039ff).into()),
element_hover: Some(rgba(0x3d435080).into()),
element_selected: Some(rgba(0x57535380).into()),
element_background: Some(rgba(0x2b3039ff).into()),
element_hover: Some(rgba(0x313741ff).into()),
element_active: Some(rgba(0x3d4350ff).into()),
element_selected: Some(rgba(0x3d4350ff).into()),
element_disabled: Some(rgba(0x2b3039ff).into()),
drop_target_background: Some(rgba(0xa6978280).into()),
ghost_element_background: Some(rgba(0x00000000).into()),
ghost_element_hover: Some(rgba(0x313741ff).into()),
ghost_element_active: Some(rgba(0x3d4350ff).into()),
ghost_element_selected: Some(rgba(0x3d4350ff).into()),
ghost_element_disabled: Some(rgba(0x2b3039ff).into()),
text: Some(rgba(0xfdf4c1ff).into()),
text_muted: Some(rgba(0xa69782ff).into()),
text_placeholder: Some(rgba(0x645b54ff).into()),
text_disabled: Some(rgba(0xfdf4c1ff).into()),
text_placeholder: Some(rgba(0x827568ff).into()),
text_disabled: Some(rgba(0x827568ff).into()),
text_accent: Some(rgba(0x528b8bff).into()),
icon: Some(rgba(0xfdf4c1ff).into()),
icon_muted: Some(rgba(0xa69782ff).into()),
icon_disabled: Some(rgba(0x827568ff).into()),
icon_placeholder: Some(rgba(0xa69782ff).into()),
icon_accent: Some(rgba(0x528b8bff).into()),
status_bar_background: Some(rgba(0x333944ff).into()),
title_bar_background: Some(rgba(0x333944ff).into()),
toolbar_background: Some(rgba(0x282c34ff).into()),
tab_bar_background: Some(rgba(0x2b3039ff).into()),
tab_inactive_background: Some(rgba(0x2b3039ff).into()),
tab_active_background: Some(rgba(0x282c34ff).into()),
scrollbar_thumb_background: Some(rgba(0xfdf4c14d).into()),
scrollbar_thumb_hover_background: Some(rgba(0xfdf4c14d).into()),
scrollbar_thumb_border: Some(rgba(0x2a2f38ff).into()),
scrollbar_thumb_background: Some(rgba(0x2b3039ff).into()),
scrollbar_thumb_hover_background: Some(rgba(0x313741ff).into()),
scrollbar_thumb_border: Some(rgba(0x313741ff).into()),
scrollbar_track_background: Some(rgba(0x282c34ff).into()),
scrollbar_track_border: Some(rgba(0x2a2f38ff).into()),
editor_foreground: Some(rgba(0xfdf4c1ff).into()),
editor_background: Some(rgba(0x282c34ff).into()),
editor_gutter_background: Some(rgba(0x282c34ff).into()),
editor_subheader_background: Some(rgba(0x2b3039ff).into()),
editor_active_line_background: Some(rgba(0x2b3039bf).into()),
editor_highlighted_line_background: Some(rgba(0x2b3039ff).into()),
editor_line_number: Some(rgba(0xfdf4c159).into()),
editor_active_line_number: Some(rgba(0xfdf4c1ff).into()),
editor_invisible: Some(rgba(0xa69782ff).into()),
editor_wrap_guide: Some(rgba(0xfdf4c10d).into()),
editor_active_wrap_guide: Some(rgba(0xfdf4c11a).into()),
editor_document_highlight_read_background: Some(rgba(0x528b8b1a).into()),
editor_document_highlight_write_background: Some(rgba(0x7c6f6466).into()),
terminal_background: Some(rgba(0x282c34ff).into()),
terminal_ansi_bright_black: Some(rgba(0x5e5753ff).into()),
terminal_ansi_bright_red: Some(rgba(0x57333dff).into()),
@@ -66,16 +91,23 @@ pub fn sandcastle() -> UserThemeFamily {
terminal_ansi_magenta: Some(rgba(0xa87323ff).into()),
terminal_ansi_cyan: Some(rgba(0x83a598ff).into()),
terminal_ansi_white: Some(rgba(0xfdf4c1ff).into()),
link_text_hover: Some(rgba(0x528b8bff).into()),
..Default::default()
},
status: StatusColorsRefinement {
conflict: Some(rgba(0xa07e3bff).into()),
created: Some(rgba(0x83a598ff).into()),
deleted: Some(rgba(0x8d4f61ff).into()),
deleted: Some(rgba(0xb4637aff).into()),
error: Some(rgba(0xb4637aff).into()),
hint: Some(rgba(0x727d68ff).into()),
hidden: Some(rgba(0x827568ff).into()),
hint: Some(rgba(0x528b8bff).into()),
ignored: Some(rgba(0xa69782ff).into()),
info: Some(rgba(0x528b8bff).into()),
modified: Some(rgba(0xa07e3bff).into()),
predictive: Some(rgba(0x5c6152ff).into()),
success: Some(rgba(0xfdf4c1ff).into()),
predictive: Some(rgba(0x83a598ff).into()),
renamed: Some(rgba(0x528b8bff).into()),
success: Some(rgba(0x83a598ff).into()),
unreachable: Some(rgba(0xa69782ff).into()),
warning: Some(rgba(0xa07e3bff).into()),
..Default::default()
},
+90 -26
View File
@@ -20,36 +20,61 @@ pub fn solarized() -> UserThemeFamily {
appearance: Appearance::Light,
styles: UserThemeStylesRefinement {
colors: ThemeColorsRefinement {
border: Some(rgba(0xdcdacbff).into()),
border_variant: Some(rgba(0xf5eedbff).into()),
border: Some(rgba(0x9faaa8ff).into()),
border_variant: Some(rgba(0x9faaa8ff).into()),
border_focused: Some(rgba(0xbfd3efff).into()),
border_selected: Some(rgba(0xbfd3efff).into()),
border_transparent: Some(rgba(0x00000000).into()),
border_disabled: Some(rgba(0xb7bdb6ff).into()),
elevated_surface_background: Some(rgba(0xf3eddaff).into()),
surface_background: Some(rgba(0xf3eddaff).into()),
background: Some(rgba(0xcfd0c4ff).into()),
panel_background: Some(rgba(0xf3eddaff).into()),
element_hover: Some(rgba(0x9faaa880).into()),
element_selected: Some(rgba(0x7f919480).into()),
element_background: Some(rgba(0xf3eddaff).into()),
element_hover: Some(rgba(0xdcdacbff).into()),
element_active: Some(rgba(0xa2aca9ff).into()),
element_selected: Some(rgba(0xa2aca9ff).into()),
element_disabled: Some(rgba(0xf3eddaff).into()),
drop_target_background: Some(rgba(0x34555e80).into()),
ghost_element_background: Some(rgba(0x00000000).into()),
ghost_element_hover: Some(rgba(0xdcdacbff).into()),
ghost_element_active: Some(rgba(0xa2aca9ff).into()),
ghost_element_selected: Some(rgba(0xa2aca9ff).into()),
ghost_element_disabled: Some(rgba(0xf3eddaff).into()),
text: Some(rgba(0x002b36ff).into()),
text_muted: Some(rgba(0x34555eff).into()),
text_placeholder: Some(rgba(0x788b8fff).into()),
text_disabled: Some(rgba(0x002b36ff).into()),
text_placeholder: Some(rgba(0x6a7f86ff).into()),
text_disabled: Some(rgba(0x6a7f86ff).into()),
text_accent: Some(rgba(0x298bd1ff).into()),
icon: Some(rgba(0x002b36ff).into()),
icon_muted: Some(rgba(0x34555eff).into()),
icon_disabled: Some(rgba(0x6a7f86ff).into()),
icon_placeholder: Some(rgba(0x34555eff).into()),
icon_accent: Some(rgba(0x298bd1ff).into()),
status_bar_background: Some(rgba(0xcfd0c4ff).into()),
title_bar_background: Some(rgba(0xcfd0c4ff).into()),
toolbar_background: Some(rgba(0xfdf6e3ff).into()),
tab_bar_background: Some(rgba(0xf3eddaff).into()),
tab_inactive_background: Some(rgba(0xf3eddaff).into()),
tab_active_background: Some(rgba(0xfdf6e3ff).into()),
scrollbar_thumb_background: Some(rgba(0x002b364d).into()),
scrollbar_thumb_hover_background: Some(rgba(0x002b364d).into()),
scrollbar_thumb_border: Some(rgba(0xf5eedbff).into()),
scrollbar_thumb_background: Some(rgba(0xf3eddaff).into()),
scrollbar_thumb_hover_background: Some(rgba(0xdcdacbff).into()),
scrollbar_thumb_border: Some(rgba(0xdcdacbff).into()),
scrollbar_track_background: Some(rgba(0xfdf6e3ff).into()),
scrollbar_track_border: Some(rgba(0xf5eedbff).into()),
editor_foreground: Some(rgba(0x002b36ff).into()),
editor_background: Some(rgba(0xfdf6e3ff).into()),
editor_gutter_background: Some(rgba(0xfdf6e3ff).into()),
editor_subheader_background: Some(rgba(0xf3eddaff).into()),
editor_active_line_background: Some(rgba(0xf3eddabf).into()),
editor_highlighted_line_background: Some(rgba(0xf3eddaff).into()),
editor_line_number: Some(rgba(0x002b3659).into()),
editor_active_line_number: Some(rgba(0x002b36ff).into()),
editor_invisible: Some(rgba(0x34555eff).into()),
editor_wrap_guide: Some(rgba(0x002b360d).into()),
editor_active_wrap_guide: Some(rgba(0x002b361a).into()),
editor_document_highlight_read_background: Some(rgba(0x298bd11a).into()),
editor_document_highlight_write_background: Some(rgba(0x6d828866).into()),
terminal_background: Some(rgba(0xfdf6e3ff).into()),
terminal_ansi_bright_black: Some(rgba(0x7b8e91ff).into()),
terminal_ansi_bright_red: Some(rgba(0xfaa091ff).into()),
@@ -67,16 +92,23 @@ pub fn solarized() -> UserThemeFamily {
terminal_ansi_magenta: Some(rgba(0xd33882ff).into()),
terminal_ansi_cyan: Some(rgba(0x2ca198ff).into()),
terminal_ansi_white: Some(rgba(0x002b36ff).into()),
link_text_hover: Some(rgba(0x298bd1ff).into()),
..Default::default()
},
status: StatusColorsRefinement {
created: Some(rgba(0xa0ad46ff).into()),
conflict: Some(rgba(0xb58904ff).into()),
created: Some(rgba(0x859904ff).into()),
deleted: Some(rgba(0xdc3330ff).into()),
error: Some(rgba(0xdc3330ff).into()),
hint: Some(rgba(0x5889a3ff).into()),
hidden: Some(rgba(0x6a7f86ff).into()),
hint: Some(rgba(0x298bd1ff).into()),
ignored: Some(rgba(0x34555eff).into()),
info: Some(rgba(0x298bd1ff).into()),
modified: Some(rgba(0xb58904ff).into()),
predictive: Some(rgba(0x679aafff).into()),
success: Some(rgba(0x002b36ff).into()),
predictive: Some(rgba(0x859904ff).into()),
renamed: Some(rgba(0x298bd1ff).into()),
success: Some(rgba(0x859904ff).into()),
unreachable: Some(rgba(0x34555eff).into()),
warning: Some(rgba(0xb58904ff).into()),
..Default::default()
},
@@ -404,36 +436,61 @@ pub fn solarized() -> UserThemeFamily {
appearance: Appearance::Dark,
styles: UserThemeStylesRefinement {
colors: ThemeColorsRefinement {
border: Some(rgba(0x063541ff).into()),
border_variant: Some(rgba(0x032f3bff).into()),
border: Some(rgba(0x2b4f58ff).into()),
border_variant: Some(rgba(0x2b4f58ff).into()),
border_focused: Some(rgba(0x1c3249ff).into()),
border_selected: Some(rgba(0x1c3249ff).into()),
border_transparent: Some(rgba(0x00000000).into()),
border_disabled: Some(rgba(0x19424dff).into()),
elevated_surface_background: Some(rgba(0x04313cff).into()),
surface_background: Some(rgba(0x04313cff).into()),
background: Some(rgba(0x083743ff).into()),
panel_background: Some(rgba(0x04313cff).into()),
element_hover: Some(rgba(0x2b4f5880).into()),
element_selected: Some(rgba(0x566d7480).into()),
element_background: Some(rgba(0x04313cff).into()),
element_hover: Some(rgba(0x063541ff).into()),
element_active: Some(rgba(0x294e58ff).into()),
element_selected: Some(rgba(0x294e58ff).into()),
element_disabled: Some(rgba(0x04313cff).into()),
drop_target_background: Some(rgba(0x93a1a180).into()),
ghost_element_background: Some(rgba(0x00000000).into()),
ghost_element_hover: Some(rgba(0x063541ff).into()),
ghost_element_active: Some(rgba(0x294e58ff).into()),
ghost_element_selected: Some(rgba(0x294e58ff).into()),
ghost_element_disabled: Some(rgba(0x04313cff).into()),
text: Some(rgba(0xfdf6e3ff).into()),
text_muted: Some(rgba(0x93a1a1ff).into()),
text_placeholder: Some(rgba(0x5f757dff).into()),
text_disabled: Some(rgba(0xfdf6e3ff).into()),
text_placeholder: Some(rgba(0x6f8389ff).into()),
text_disabled: Some(rgba(0x6f8389ff).into()),
text_accent: Some(rgba(0x288bd1ff).into()),
icon: Some(rgba(0xfdf6e3ff).into()),
icon_muted: Some(rgba(0x93a1a1ff).into()),
icon_disabled: Some(rgba(0x6f8389ff).into()),
icon_placeholder: Some(rgba(0x93a1a1ff).into()),
icon_accent: Some(rgba(0x288bd1ff).into()),
status_bar_background: Some(rgba(0x083743ff).into()),
title_bar_background: Some(rgba(0x083743ff).into()),
toolbar_background: Some(rgba(0x002b36ff).into()),
tab_bar_background: Some(rgba(0x04313cff).into()),
tab_inactive_background: Some(rgba(0x04313cff).into()),
tab_active_background: Some(rgba(0x002b36ff).into()),
scrollbar_thumb_background: Some(rgba(0xfdf6e34d).into()),
scrollbar_thumb_hover_background: Some(rgba(0xfdf6e34d).into()),
scrollbar_thumb_border: Some(rgba(0x032f3bff).into()),
scrollbar_thumb_background: Some(rgba(0x04313cff).into()),
scrollbar_thumb_hover_background: Some(rgba(0x063541ff).into()),
scrollbar_thumb_border: Some(rgba(0x063541ff).into()),
scrollbar_track_background: Some(rgba(0x002b36ff).into()),
scrollbar_track_border: Some(rgba(0x032f3bff).into()),
editor_foreground: Some(rgba(0xfdf6e3ff).into()),
editor_background: Some(rgba(0x002b36ff).into()),
editor_gutter_background: Some(rgba(0x002b36ff).into()),
editor_subheader_background: Some(rgba(0x04313cff).into()),
editor_active_line_background: Some(rgba(0x04313cbf).into()),
editor_highlighted_line_background: Some(rgba(0x04313cff).into()),
editor_line_number: Some(rgba(0xfdf6e359).into()),
editor_active_line_number: Some(rgba(0xfdf6e3ff).into()),
editor_invisible: Some(rgba(0x93a1a1ff).into()),
editor_wrap_guide: Some(rgba(0xfdf6e30d).into()),
editor_active_wrap_guide: Some(rgba(0xfdf6e31a).into()),
editor_document_highlight_read_background: Some(rgba(0x288bd11a).into()),
editor_document_highlight_write_background: Some(rgba(0x6d828866).into()),
terminal_background: Some(rgba(0x002b36ff).into()),
terminal_ansi_bright_black: Some(rgba(0x5c7279ff).into()),
terminal_ansi_bright_red: Some(rgba(0x7d181cff).into()),
@@ -451,16 +508,23 @@ pub fn solarized() -> UserThemeFamily {
terminal_ansi_magenta: Some(rgba(0xd33782ff).into()),
terminal_ansi_cyan: Some(rgba(0x2ca198ff).into()),
terminal_ansi_white: Some(rgba(0xfdf6e3ff).into()),
link_text_hover: Some(rgba(0x288bd1ff).into()),
..Default::default()
},
status: StatusColorsRefinement {
conflict: Some(rgba(0xb58903ff).into()),
created: Some(rgba(0x859904ff).into()),
deleted: Some(rgba(0xb52727ff).into()),
deleted: Some(rgba(0xdc3330ff).into()),
error: Some(rgba(0xdc3330ff).into()),
hint: Some(rgba(0x4f8297ff).into()),
hidden: Some(rgba(0x6f8389ff).into()),
hint: Some(rgba(0x288bd1ff).into()),
ignored: Some(rgba(0x93a1a1ff).into()),
info: Some(rgba(0x288bd1ff).into()),
modified: Some(rgba(0xb58903ff).into()),
predictive: Some(rgba(0x40728bff).into()),
success: Some(rgba(0xfdf6e3ff).into()),
predictive: Some(rgba(0x859904ff).into()),
renamed: Some(rgba(0x288bd1ff).into()),
success: Some(rgba(0x859904ff).into()),
unreachable: Some(rgba(0x93a1a1ff).into()),
warning: Some(rgba(0xb58903ff).into()),
..Default::default()
},
+45 -13
View File
@@ -19,36 +19,61 @@ pub fn summercamp() -> UserThemeFamily {
appearance: Appearance::Dark,
styles: UserThemeStylesRefinement {
colors: ThemeColorsRefinement {
border: Some(rgba(0x29251bff).into()),
border_variant: Some(rgba(0x221e15ff).into()),
border: Some(rgba(0x312d21ff).into()),
border_variant: Some(rgba(0x312d21ff).into()),
border_focused: Some(rgba(0x193761ff).into()),
border_selected: Some(rgba(0x193761ff).into()),
border_transparent: Some(rgba(0x00000000).into()),
border_disabled: Some(rgba(0x2e2a1fff).into()),
elevated_surface_background: Some(rgba(0x231f16ff).into()),
surface_background: Some(rgba(0x231f16ff).into()),
background: Some(rgba(0x2a261cff).into()),
panel_background: Some(rgba(0x231f16ff).into()),
element_hover: Some(rgba(0x312d2180).into()),
element_selected: Some(rgba(0x39342780).into()),
element_background: Some(rgba(0x231f16ff).into()),
element_hover: Some(rgba(0x29251bff).into()),
element_active: Some(rgba(0x302c20ff).into()),
element_selected: Some(rgba(0x302c20ff).into()),
element_disabled: Some(rgba(0x231f16ff).into()),
drop_target_background: Some(rgba(0x736e5580).into()),
ghost_element_background: Some(rgba(0x00000000).into()),
ghost_element_hover: Some(rgba(0x29251bff).into()),
ghost_element_active: Some(rgba(0x302c20ff).into()),
ghost_element_selected: Some(rgba(0x302c20ff).into()),
ghost_element_disabled: Some(rgba(0x231f16ff).into()),
text: Some(rgba(0xf8f5deff).into()),
text_muted: Some(rgba(0x736e55ff).into()),
text_placeholder: Some(rgba(0x3d382aff).into()),
text_disabled: Some(rgba(0xf8f5deff).into()),
text_placeholder: Some(rgba(0x4c4735ff).into()),
text_disabled: Some(rgba(0x4c4735ff).into()),
text_accent: Some(rgba(0x499befff).into()),
icon: Some(rgba(0xf8f5deff).into()),
icon_muted: Some(rgba(0x736e55ff).into()),
icon_disabled: Some(rgba(0x4c4735ff).into()),
icon_placeholder: Some(rgba(0x736e55ff).into()),
icon_accent: Some(rgba(0x499befff).into()),
status_bar_background: Some(rgba(0x2a261cff).into()),
title_bar_background: Some(rgba(0x2a261cff).into()),
toolbar_background: Some(rgba(0x1c1810ff).into()),
tab_bar_background: Some(rgba(0x231f16ff).into()),
tab_inactive_background: Some(rgba(0x231f16ff).into()),
tab_active_background: Some(rgba(0x1c1810ff).into()),
scrollbar_thumb_background: Some(rgba(0xf8f5de4d).into()),
scrollbar_thumb_hover_background: Some(rgba(0xf8f5de4d).into()),
scrollbar_thumb_border: Some(rgba(0x221e15ff).into()),
scrollbar_thumb_background: Some(rgba(0x231f16ff).into()),
scrollbar_thumb_hover_background: Some(rgba(0x29251bff).into()),
scrollbar_thumb_border: Some(rgba(0x29251bff).into()),
scrollbar_track_background: Some(rgba(0x1c1810ff).into()),
scrollbar_track_border: Some(rgba(0x221e15ff).into()),
editor_foreground: Some(rgba(0xf8f5deff).into()),
editor_background: Some(rgba(0x1c1810ff).into()),
editor_gutter_background: Some(rgba(0x1c1810ff).into()),
editor_subheader_background: Some(rgba(0x231f16ff).into()),
editor_active_line_background: Some(rgba(0x231f16bf).into()),
editor_highlighted_line_background: Some(rgba(0x231f16ff).into()),
editor_line_number: Some(rgba(0xf8f5de59).into()),
editor_active_line_number: Some(rgba(0xf8f5deff).into()),
editor_invisible: Some(rgba(0x736e55ff).into()),
editor_wrap_guide: Some(rgba(0xf8f5de0d).into()),
editor_active_wrap_guide: Some(rgba(0xf8f5de1a).into()),
editor_document_highlight_read_background: Some(rgba(0x499bef1a).into()),
editor_document_highlight_write_background: Some(rgba(0x49443366).into()),
terminal_background: Some(rgba(0x1c1810ff).into()),
terminal_ansi_bright_black: Some(rgba(0x3b3627ff).into()),
terminal_ansi_bright_red: Some(rgba(0x7f2724ff).into()),
@@ -66,16 +91,23 @@ pub fn summercamp() -> UserThemeFamily {
terminal_ansi_magenta: Some(rgba(0xf59be6ff).into()),
terminal_ansi_cyan: Some(rgba(0x5beabcff).into()),
terminal_ansi_white: Some(rgba(0xf8f5deff).into()),
link_text_hover: Some(rgba(0x499befff).into()),
..Default::default()
},
status: StatusColorsRefinement {
conflict: Some(rgba(0xf1fe29ff).into()),
created: Some(rgba(0x5dea5aff).into()),
deleted: Some(rgba(0xb93f36ff).into()),
deleted: Some(rgba(0xe35142ff).into()),
error: Some(rgba(0xe35142ff).into()),
hint: Some(rgba(0x246e61ff).into()),
hidden: Some(rgba(0x4c4735ff).into()),
hint: Some(rgba(0x499befff).into()),
ignored: Some(rgba(0x736e55ff).into()),
info: Some(rgba(0x499befff).into()),
modified: Some(rgba(0xf1fe29ff).into()),
predictive: Some(rgba(0x79434bff).into()),
success: Some(rgba(0xf8f5deff).into()),
predictive: Some(rgba(0x5dea5aff).into()),
renamed: Some(rgba(0x499befff).into()),
success: Some(rgba(0x5dea5aff).into()),
unreachable: Some(rgba(0x736e55ff).into()),
warning: Some(rgba(0xf1fe29ff).into()),
..Default::default()
},
@@ -281,16 +281,7 @@ impl<'a> Debug for ThemeColorsRefinementPrinter<'a> {
("terminal_ansi_magenta", self.0.terminal_ansi_magenta),
("terminal_ansi_cyan", self.0.terminal_ansi_cyan),
("terminal_ansi_white", self.0.terminal_ansi_white),
("headline", self.0.headline),
("paragraph", self.0.paragraph),
("link_text", self.0.link_text),
("link_text_hover", self.0.link_text_hover),
("link_uri", self.0.link_uri),
("inline_code_background", self.0.inline_code_background),
("inline_code_border", self.0.inline_code_border),
("code_block_background", self.0.code_block_background),
("code_block_border", self.0.code_block_border),
("emphasis", self.0.emphasis),
];
f.write_str("ThemeColorsRefinement {")?;
+83 -83
View File
@@ -1,5 +1,5 @@
use anyhow::Result;
use gpui::{Hsla, Rgba};
use anyhow::{Context, Result};
use gpui::{serde_json, Hsla, Rgba};
use gpui1::color::Color as Zed1Color;
use gpui1::fonts::HighlightStyle as Zed1HighlightStyle;
use theme::{
@@ -7,7 +7,7 @@ use theme::{
UserFontStyle, UserFontWeight, UserHighlightStyle, UserSyntaxTheme, UserTheme,
UserThemeStylesRefinement,
};
use theme1::Theme as Zed1Theme;
use theme1::{ColorScheme, Theme as Zed1Theme};
fn zed1_color_to_hsla(color: Zed1Color) -> Hsla {
let r = color.r as f32 / 255.;
@@ -71,20 +71,26 @@ impl Zed1ThemeConverter {
Some(zed1_color_to_hsla(color))
}
let editor = &self.theme.editor;
let diff_style = &self.theme.editor.diff;
let diagnostic_summary = &self.theme.workspace.status_bar.diagnostic_summary;
let base_theme: ColorScheme = serde_json::from_value(self.theme.base_theme.clone())
.with_context(|| "failed to parse `theme.base_theme`")?;
let lowest = &base_theme.lowest;
Ok(StatusColorsRefinement {
created: convert(diff_style.inserted),
modified: convert(diff_style.modified),
deleted: convert(diff_style.deleted),
success: convert(diagnostic_summary.icon_color_ok),
warning: convert(diagnostic_summary.icon_color_warning),
error: convert(diagnostic_summary.icon_color_error),
hint: editor.hint.color.map(zed1_color_to_hsla),
predictive: editor.suggestion.color.map(zed1_color_to_hsla),
..Default::default()
created: convert(lowest.positive.default.foreground),
modified: convert(lowest.warning.default.foreground),
deleted: convert(lowest.negative.default.foreground),
success: convert(lowest.positive.default.foreground),
warning: convert(lowest.warning.default.foreground),
error: convert(lowest.negative.default.foreground),
hint: convert(lowest.accent.default.foreground),
predictive: convert(lowest.positive.default.foreground),
conflict: convert(lowest.warning.default.foreground),
hidden: convert(lowest.base.disabled.foreground),
ignored: convert(lowest.variant.default.foreground),
info: convert(lowest.accent.default.foreground),
renamed: convert(lowest.accent.default.foreground),
unreachable: convert(lowest.variant.default.foreground), // TODO: Should this be transparent?
})
}
@@ -118,85 +124,79 @@ impl Zed1ThemeConverter {
Some(zed1_color_to_hsla(color))
}
let picker = &self.theme.picker;
let title_bar = &self.theme.titlebar;
let status_bar = &self.theme.workspace.status_bar;
let project_panel = &self.theme.project_panel;
let tab_bar = &self.theme.workspace.tab_bar;
let active_tab = &self.theme.workspace.tab_bar.tab_style(true, true);
let inactive_tab = &self.theme.workspace.tab_bar.tab_style(true, false);
let toolbar = &self.theme.workspace.toolbar;
let base_theme: ColorScheme = serde_json::from_value(self.theme.base_theme.clone())
.with_context(|| "failed to parse `theme.base_theme`")?;
let lowest = &base_theme.lowest;
let middle = &base_theme.middle;
let highest = &base_theme.highest;
let editor = &self.theme.editor;
let scrollbar = &self.theme.editor.scrollbar;
let terminal = &self.theme.terminal;
Ok(ThemeColorsRefinement {
border: convert(active_tab.container.border.color),
border_variant: convert(toolbar.container.border.color),
background: convert(self.theme.workspace.background),
elevated_surface_background: editor
.hover_popover
.container
.background_color
.map(zed1_color_to_hsla),
title_bar_background: title_bar.container.background_color.map(zed1_color_to_hsla),
status_bar_background: status_bar
.container
.background_color
.map(zed1_color_to_hsla)
.or_else(|| title_bar.container.background_color.map(zed1_color_to_hsla)),
panel_background: project_panel
.container
.background_color
.map(zed1_color_to_hsla),
text: convert(self.theme.collab_panel.channel_name.text.color),
text_muted: convert(tab_bar.pane_button.default_style().color),
text_accent: convert(status_bar.panel_buttons.button.active_state().icon_color),
text_disabled: convert(status_bar.panel_buttons.button.disabled_style().icon_color),
text_placeholder: picker
.empty_input_editor
.placeholder_text
.as_ref()
.map(|placeholder_text| placeholder_text.color)
.map(zed1_color_to_hsla),
element_hover: picker
.item
.hovered
.as_ref()
.and_then(|hovered| hovered.container.background_color)
.map(zed1_color_to_hsla),
element_selected: picker
.item
.active_state()
.container
.background_color
.map(zed1_color_to_hsla),
tab_bar_background: tab_bar.container.background_color.map(zed1_color_to_hsla),
tab_active_background: active_tab
.container
.background_color
.map(zed1_color_to_hsla),
tab_inactive_background: inactive_tab
.container
.background_color
.map(zed1_color_to_hsla),
border: convert(lowest.base.default.border),
border_variant: convert(lowest.variant.default.border),
border_focused: convert(lowest.accent.hovered.border),
border_selected: convert(lowest.accent.default.border),
border_transparent: Some(gpui::transparent_black()),
border_disabled: convert(lowest.base.disabled.border),
elevated_surface_background: convert(middle.base.default.background),
surface_background: convert(middle.base.default.background),
background: convert(lowest.base.default.background),
element_background: convert(lowest.on.default.background),
element_hover: convert(lowest.on.hovered.background),
element_active: convert(lowest.on.active.background),
element_selected: convert(lowest.on.active.background), // TODO: Check what this should be
element_disabled: convert(lowest.on.disabled.background),
drop_target_background: convert(self.theme.workspace.drop_target_overlay_color),
toolbar_background: toolbar.container.background_color.map(zed1_color_to_hsla),
ghost_element_background: Some(gpui::transparent_black()),
ghost_element_hover: convert(lowest.on.hovered.background),
ghost_element_active: convert(lowest.on.active.background),
ghost_element_selected: convert(lowest.on.active.background), // TODO: Check what this should be
ghost_element_disabled: convert(lowest.on.disabled.background),
text: convert(lowest.base.default.foreground),
text_muted: convert(lowest.variant.default.foreground),
text_placeholder: convert(lowest.base.disabled.foreground), // TODO: What should placeholder be?
text_disabled: convert(lowest.base.disabled.foreground),
text_accent: convert(lowest.accent.default.foreground),
icon: convert(lowest.base.default.foreground),
icon_muted: convert(lowest.variant.default.foreground),
icon_disabled: convert(lowest.base.disabled.foreground),
icon_placeholder: convert(lowest.variant.default.foreground),
icon_accent: convert(lowest.accent.default.foreground),
status_bar_background: convert(lowest.base.default.background),
title_bar_background: convert(lowest.base.default.background),
toolbar_background: convert(highest.base.default.background),
tab_bar_background: convert(middle.base.default.background),
tab_inactive_background: convert(middle.base.default.background),
tab_active_background: convert(highest.base.default.background),
search_match_background: convert(highest.accent.default.background),
panel_background: convert(middle.base.default.background),
panel_focused_border: convert(lowest.accent.hovered.border),
pane_focused_border: convert(lowest.accent.hovered.border),
scrollbar_thumb_background: convert(middle.base.default.background),
scrollbar_thumb_hover_background: convert(middle.base.hovered.background),
scrollbar_thumb_border: convert(middle.base.default.border),
scrollbar_track_background: convert(highest.base.default.background),
scrollbar_track_border: convert(highest.variant.default.border),
editor_foreground: convert(editor.text_color),
editor_background: convert(editor.background),
editor_gutter_background: convert(editor.gutter_background),
editor_subheader_background: convert(middle.base.default.background),
editor_active_line_background: convert(editor.active_line_background),
editor_highlighted_line_background: convert(editor.highlighted_line_background),
editor_line_number: convert(editor.line_number),
editor_active_line_number: convert(editor.line_number_active),
editor_invisible: convert(highest.variant.default.foreground), // TODO: Is this light enough?
editor_wrap_guide: convert(editor.wrap_guide),
editor_active_wrap_guide: convert(editor.active_wrap_guide),
scrollbar_track_background: scrollbar.track.background_color.map(zed1_color_to_hsla),
scrollbar_track_border: convert(scrollbar.track.border.color),
scrollbar_thumb_background: scrollbar.thumb.background_color.map(zed1_color_to_hsla),
scrollbar_thumb_border: convert(scrollbar.thumb.border.color),
scrollbar_thumb_hover_background: scrollbar
.thumb
.background_color
.map(zed1_color_to_hsla),
editor_document_highlight_read_background: convert(
editor.document_highlight_read_background,
),
editor_document_highlight_write_background: convert(
editor.document_highlight_write_background,
),
terminal_background: convert(terminal.background),
terminal_ansi_bright_black: convert(terminal.bright_black),
terminal_ansi_bright_red: convert(terminal.bright_red),
@@ -214,7 +214,7 @@ impl Zed1ThemeConverter {
terminal_ansi_magenta: convert(terminal.magenta),
terminal_ansi_cyan: convert(terminal.cyan),
terminal_ansi_white: convert(terminal.white),
..Default::default()
link_text_hover: convert(highest.accent.default.foreground),
})
}
+1
View File
@@ -60,5 +60,6 @@ export default function app(): any {
chat_panel: chat_panel(),
notification_panel: notification_panel(),
component_test: component_test(),
base_theme: theme,
}
}