922 lines
49 KiB
Rust
922 lines
49 KiB
Rust
// This file was generated by the `theme_importer`.
|
|
// Be careful when modifying it by hand.
|
|
|
|
use gpui::rgba;
|
|
|
|
#[allow(unused)]
|
|
use crate::{
|
|
Appearance, PlayerColor, PlayerColors, StatusColorsRefinement, ThemeColorsRefinement,
|
|
UserFontStyle, UserFontWeight, UserHighlightStyle, UserSyntaxTheme, UserTheme, UserThemeFamily,
|
|
UserThemeStylesRefinement,
|
|
};
|
|
|
|
pub fn one() -> UserThemeFamily {
|
|
UserThemeFamily {
|
|
name: "One".into(),
|
|
author: "Zed Industries".into(),
|
|
themes: vec![
|
|
UserTheme {
|
|
name: "One Light".into(),
|
|
appearance: Appearance::Light,
|
|
styles: UserThemeStylesRefinement {
|
|
colors: ThemeColorsRefinement {
|
|
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_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(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(0x383a414c).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()),
|
|
terminal_ansi_bright_green: Some(rgba(0xb2cfa9ff).into()),
|
|
terminal_ansi_bright_yellow: Some(rgba(0xf1dfc1ff).into()),
|
|
terminal_ansi_bright_blue: Some(rgba(0xb5baf2ff).into()),
|
|
terminal_ansi_bright_magenta: Some(rgba(0xcea6d3ff).into()),
|
|
terminal_ansi_bright_cyan: Some(rgba(0xa4bfdbff).into()),
|
|
terminal_ansi_bright_white: Some(rgba(0x383a41ff).into()),
|
|
terminal_ansi_black: Some(rgba(0xfafafaff).into()),
|
|
terminal_ansi_red: Some(rgba(0xd36151ff).into()),
|
|
terminal_ansi_green: Some(rgba(0x669f59ff).into()),
|
|
terminal_ansi_yellow: Some(rgba(0xdec184ff).into()),
|
|
terminal_ansi_blue: Some(rgba(0x5c79e2ff).into()),
|
|
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 {
|
|
conflict: Some(rgba(0xdec184ff).into()),
|
|
conflict_background: Some(rgba(0xfaf2e6ff).into()),
|
|
conflict_border: Some(rgba(0xf5e8d2ff).into()),
|
|
created: Some(rgba(0x669f59ff).into()),
|
|
created_background: Some(rgba(0xe0ebdcff).into()),
|
|
created_border: Some(rgba(0xc8dcc1ff).into()),
|
|
deleted: Some(rgba(0xd36151ff).into()),
|
|
deleted_background: Some(rgba(0xfbdfd9ff).into()),
|
|
deleted_border: Some(rgba(0xf6c6bdff).into()),
|
|
error: Some(rgba(0xd36151ff).into()),
|
|
error_background: Some(rgba(0xfbdfd9ff).into()),
|
|
error_border: Some(rgba(0xf6c6bdff).into()),
|
|
hidden: Some(rgba(0xa1a1a3ff).into()),
|
|
hidden_background: Some(rgba(0xdcdcddff).into()),
|
|
hidden_border: Some(rgba(0xd3d3d4ff).into()),
|
|
hint: Some(rgba(0x9295beff).into()),
|
|
hint_background: Some(rgba(0xe2e2faff).into()),
|
|
hint_border: Some(rgba(0xcbcdf6ff).into()),
|
|
ignored: Some(rgba(0x7f8188ff).into()),
|
|
ignored_background: Some(rgba(0xdcdcddff).into()),
|
|
ignored_border: Some(rgba(0xc9c9caff).into()),
|
|
info: Some(rgba(0x5c79e2ff).into()),
|
|
info_background: Some(rgba(0xe2e2faff).into()),
|
|
info_border: Some(rgba(0xcbcdf6ff).into()),
|
|
modified: Some(rgba(0xdec184ff).into()),
|
|
modified_background: Some(rgba(0xfaf2e6ff).into()),
|
|
modified_border: Some(rgba(0xf5e8d2ff).into()),
|
|
predictive: Some(rgba(0x669f59ff).into()),
|
|
predictive_background: Some(rgba(0xe0ebdcff).into()),
|
|
predictive_border: Some(rgba(0xc8dcc1ff).into()),
|
|
renamed: Some(rgba(0x5c79e2ff).into()),
|
|
renamed_background: Some(rgba(0xe2e2faff).into()),
|
|
renamed_border: Some(rgba(0xcbcdf6ff).into()),
|
|
success: Some(rgba(0x669f59ff).into()),
|
|
success_background: Some(rgba(0xe0ebdcff).into()),
|
|
success_border: Some(rgba(0xc8dcc1ff).into()),
|
|
unreachable: Some(rgba(0x7f8188ff).into()),
|
|
unreachable_background: Some(rgba(0xdcdcddff).into()),
|
|
unreachable_border: Some(rgba(0xc9c9caff).into()),
|
|
warning: Some(rgba(0xdec184ff).into()),
|
|
warning_background: Some(rgba(0xfaf2e6ff).into()),
|
|
warning_border: Some(rgba(0xf5e8d2ff).into()),
|
|
..Default::default()
|
|
},
|
|
player: Some(PlayerColors(vec![
|
|
PlayerColor {
|
|
cursor: rgba(0x5c79e2ff).into(),
|
|
background: rgba(0x5c79e2ff).into(),
|
|
selection: rgba(0x5c79e23d).into(),
|
|
},
|
|
PlayerColor {
|
|
cursor: rgba(0x994fa6ff).into(),
|
|
background: rgba(0x994fa6ff).into(),
|
|
selection: rgba(0x994fa63d).into(),
|
|
},
|
|
PlayerColor {
|
|
cursor: rgba(0xad6f27ff).into(),
|
|
background: rgba(0xad6f27ff).into(),
|
|
selection: rgba(0xad6f273d).into(),
|
|
},
|
|
PlayerColor {
|
|
cursor: rgba(0xa44aabff).into(),
|
|
background: rgba(0xa44aabff).into(),
|
|
selection: rgba(0xa44aab3d).into(),
|
|
},
|
|
PlayerColor {
|
|
cursor: rgba(0x3b82b7ff).into(),
|
|
background: rgba(0x3b82b7ff).into(),
|
|
selection: rgba(0x3b82b73d).into(),
|
|
},
|
|
PlayerColor {
|
|
cursor: rgba(0xd36151ff).into(),
|
|
background: rgba(0xd36151ff).into(),
|
|
selection: rgba(0xd361513d).into(),
|
|
},
|
|
PlayerColor {
|
|
cursor: rgba(0xdec184ff).into(),
|
|
background: rgba(0xdec184ff).into(),
|
|
selection: rgba(0xdec1843d).into(),
|
|
},
|
|
PlayerColor {
|
|
cursor: rgba(0x669f59ff).into(),
|
|
background: rgba(0x669f59ff).into(),
|
|
selection: rgba(0x669f593d).into(),
|
|
},
|
|
])),
|
|
syntax: Some(UserSyntaxTheme {
|
|
highlights: vec![
|
|
(
|
|
"attribute".into(),
|
|
UserHighlightStyle {
|
|
color: Some(rgba(0x5c79e2ff).into()),
|
|
..Default::default()
|
|
},
|
|
),
|
|
(
|
|
"boolean".into(),
|
|
UserHighlightStyle {
|
|
color: Some(rgba(0xad6f26ff).into()),
|
|
..Default::default()
|
|
},
|
|
),
|
|
(
|
|
"comment".into(),
|
|
UserHighlightStyle {
|
|
color: Some(rgba(0xa2a3a7ff).into()),
|
|
..Default::default()
|
|
},
|
|
),
|
|
(
|
|
"comment.doc".into(),
|
|
UserHighlightStyle {
|
|
color: Some(rgba(0x7c7e86ff).into()),
|
|
..Default::default()
|
|
},
|
|
),
|
|
(
|
|
"constant".into(),
|
|
UserHighlightStyle {
|
|
color: Some(rgba(0x669f59ff).into()),
|
|
..Default::default()
|
|
},
|
|
),
|
|
(
|
|
"constructor".into(),
|
|
UserHighlightStyle {
|
|
color: Some(rgba(0x5c79e2ff).into()),
|
|
..Default::default()
|
|
},
|
|
),
|
|
(
|
|
"embedded".into(),
|
|
UserHighlightStyle {
|
|
color: Some(rgba(0x383a41ff).into()),
|
|
..Default::default()
|
|
},
|
|
),
|
|
(
|
|
"emphasis".into(),
|
|
UserHighlightStyle {
|
|
color: Some(rgba(0x5c79e2ff).into()),
|
|
..Default::default()
|
|
},
|
|
),
|
|
(
|
|
"emphasis.strong".into(),
|
|
UserHighlightStyle {
|
|
color: Some(rgba(0xad6f26ff).into()),
|
|
font_weight: Some(UserFontWeight(700.0)),
|
|
..Default::default()
|
|
},
|
|
),
|
|
(
|
|
"enum".into(),
|
|
UserHighlightStyle {
|
|
color: Some(rgba(0xd36050ff).into()),
|
|
..Default::default()
|
|
},
|
|
),
|
|
(
|
|
"function".into(),
|
|
UserHighlightStyle {
|
|
color: Some(rgba(0x5b79e3ff).into()),
|
|
..Default::default()
|
|
},
|
|
),
|
|
(
|
|
"hint".into(),
|
|
UserHighlightStyle {
|
|
color: Some(rgba(0x9295beff).into()),
|
|
font_weight: Some(UserFontWeight(700.0)),
|
|
..Default::default()
|
|
},
|
|
),
|
|
(
|
|
"keyword".into(),
|
|
UserHighlightStyle {
|
|
color: Some(rgba(0xa449abff).into()),
|
|
..Default::default()
|
|
},
|
|
),
|
|
(
|
|
"label".into(),
|
|
UserHighlightStyle {
|
|
color: Some(rgba(0x5c79e2ff).into()),
|
|
..Default::default()
|
|
},
|
|
),
|
|
(
|
|
"link_text".into(),
|
|
UserHighlightStyle {
|
|
color: Some(rgba(0x5b79e3ff).into()),
|
|
font_style: Some(UserFontStyle::Italic),
|
|
..Default::default()
|
|
},
|
|
),
|
|
(
|
|
"link_uri".into(),
|
|
UserHighlightStyle {
|
|
color: Some(rgba(0x3982b7ff).into()),
|
|
..Default::default()
|
|
},
|
|
),
|
|
(
|
|
"number".into(),
|
|
UserHighlightStyle {
|
|
color: Some(rgba(0xad6f26ff).into()),
|
|
..Default::default()
|
|
},
|
|
),
|
|
(
|
|
"operator".into(),
|
|
UserHighlightStyle {
|
|
color: Some(rgba(0x3982b7ff).into()),
|
|
..Default::default()
|
|
},
|
|
),
|
|
(
|
|
"predictive".into(),
|
|
UserHighlightStyle {
|
|
color: Some(rgba(0x9c9fc7ff).into()),
|
|
font_style: Some(UserFontStyle::Italic),
|
|
..Default::default()
|
|
},
|
|
),
|
|
(
|
|
"preproc".into(),
|
|
UserHighlightStyle {
|
|
color: Some(rgba(0x383a41ff).into()),
|
|
..Default::default()
|
|
},
|
|
),
|
|
(
|
|
"primary".into(),
|
|
UserHighlightStyle {
|
|
color: Some(rgba(0x383a41ff).into()),
|
|
..Default::default()
|
|
},
|
|
),
|
|
(
|
|
"property".into(),
|
|
UserHighlightStyle {
|
|
color: Some(rgba(0xd36050ff).into()),
|
|
..Default::default()
|
|
},
|
|
),
|
|
(
|
|
"punctuation".into(),
|
|
UserHighlightStyle {
|
|
color: Some(rgba(0x383a41ff).into()),
|
|
..Default::default()
|
|
},
|
|
),
|
|
(
|
|
"punctuation.bracket".into(),
|
|
UserHighlightStyle {
|
|
color: Some(rgba(0x4d4f52ff).into()),
|
|
..Default::default()
|
|
},
|
|
),
|
|
(
|
|
"punctuation.delimiter".into(),
|
|
UserHighlightStyle {
|
|
color: Some(rgba(0x4d4f52ff).into()),
|
|
..Default::default()
|
|
},
|
|
),
|
|
(
|
|
"punctuation.list_marker".into(),
|
|
UserHighlightStyle {
|
|
color: Some(rgba(0xd36050ff).into()),
|
|
..Default::default()
|
|
},
|
|
),
|
|
(
|
|
"punctuation.special".into(),
|
|
UserHighlightStyle {
|
|
color: Some(rgba(0xb92c46ff).into()),
|
|
..Default::default()
|
|
},
|
|
),
|
|
(
|
|
"string".into(),
|
|
UserHighlightStyle {
|
|
color: Some(rgba(0x659f58ff).into()),
|
|
..Default::default()
|
|
},
|
|
),
|
|
(
|
|
"string.escape".into(),
|
|
UserHighlightStyle {
|
|
color: Some(rgba(0x7c7e86ff).into()),
|
|
..Default::default()
|
|
},
|
|
),
|
|
(
|
|
"string.regex".into(),
|
|
UserHighlightStyle {
|
|
color: Some(rgba(0xad6f27ff).into()),
|
|
..Default::default()
|
|
},
|
|
),
|
|
(
|
|
"string.special".into(),
|
|
UserHighlightStyle {
|
|
color: Some(rgba(0xad6f27ff).into()),
|
|
..Default::default()
|
|
},
|
|
),
|
|
(
|
|
"string.special.symbol".into(),
|
|
UserHighlightStyle {
|
|
color: Some(rgba(0xad6f27ff).into()),
|
|
..Default::default()
|
|
},
|
|
),
|
|
(
|
|
"tag".into(),
|
|
UserHighlightStyle {
|
|
color: Some(rgba(0x5c79e2ff).into()),
|
|
..Default::default()
|
|
},
|
|
),
|
|
(
|
|
"text.literal".into(),
|
|
UserHighlightStyle {
|
|
color: Some(rgba(0x659f58ff).into()),
|
|
..Default::default()
|
|
},
|
|
),
|
|
(
|
|
"title".into(),
|
|
UserHighlightStyle {
|
|
color: Some(rgba(0xd36050ff).into()),
|
|
font_weight: Some(UserFontWeight(400.0)),
|
|
..Default::default()
|
|
},
|
|
),
|
|
(
|
|
"type".into(),
|
|
UserHighlightStyle {
|
|
color: Some(rgba(0x3982b7ff).into()),
|
|
..Default::default()
|
|
},
|
|
),
|
|
(
|
|
"variable".into(),
|
|
UserHighlightStyle {
|
|
color: Some(rgba(0x383a41ff).into()),
|
|
..Default::default()
|
|
},
|
|
),
|
|
(
|
|
"variable.special".into(),
|
|
UserHighlightStyle {
|
|
color: Some(rgba(0xad6f26ff).into()),
|
|
..Default::default()
|
|
},
|
|
),
|
|
(
|
|
"variant".into(),
|
|
UserHighlightStyle {
|
|
color: Some(rgba(0x5b79e3ff).into()),
|
|
..Default::default()
|
|
},
|
|
),
|
|
],
|
|
}),
|
|
},
|
|
},
|
|
UserTheme {
|
|
name: "One Dark".into(),
|
|
appearance: Appearance::Dark,
|
|
styles: UserThemeStylesRefinement {
|
|
colors: ThemeColorsRefinement {
|
|
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_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(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(0xc8ccd44c).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()),
|
|
terminal_ansi_bright_green: Some(rgba(0x4d6140ff).into()),
|
|
terminal_ansi_bright_yellow: Some(rgba(0x786441ff).into()),
|
|
terminal_ansi_bright_blue: Some(rgba(0x385378ff).into()),
|
|
terminal_ansi_bright_magenta: Some(rgba(0x5e2b26ff).into()),
|
|
terminal_ansi_bright_cyan: Some(rgba(0x3a565bff).into()),
|
|
terminal_ansi_bright_white: Some(rgba(0xc8ccd4ff).into()),
|
|
terminal_ansi_black: Some(rgba(0x282c34ff).into()),
|
|
terminal_ansi_red: Some(rgba(0xd07277ff).into()),
|
|
terminal_ansi_green: Some(rgba(0xa1c181ff).into()),
|
|
terminal_ansi_yellow: Some(rgba(0xdec184ff).into()),
|
|
terminal_ansi_blue: Some(rgba(0x74ade8ff).into()),
|
|
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()),
|
|
conflict_background: Some(rgba(0x41331dff).into()),
|
|
conflict_border: Some(rgba(0x5d4c2fff).into()),
|
|
created: Some(rgba(0xa1c181ff).into()),
|
|
created_background: Some(rgba(0x222e1dff).into()),
|
|
created_border: Some(rgba(0x38482fff).into()),
|
|
deleted: Some(rgba(0xd07277ff).into()),
|
|
deleted_background: Some(rgba(0x301b1cff).into()),
|
|
deleted_border: Some(rgba(0x4c2b2cff).into()),
|
|
error: Some(rgba(0xd07277ff).into()),
|
|
error_background: Some(rgba(0x301b1cff).into()),
|
|
error_border: Some(rgba(0x4c2b2cff).into()),
|
|
hidden: Some(rgba(0x555a63ff).into()),
|
|
hidden_background: Some(rgba(0x3b414dff).into()),
|
|
hidden_border: Some(rgba(0x414754ff).into()),
|
|
hint: Some(rgba(0x5b708aff).into()),
|
|
hint_background: Some(rgba(0x18243dff).into()),
|
|
hint_border: Some(rgba(0x293c5bff).into()),
|
|
ignored: Some(rgba(0x838994ff).into()),
|
|
ignored_background: Some(rgba(0x3b414dff).into()),
|
|
ignored_border: Some(rgba(0x464b57ff).into()),
|
|
info: Some(rgba(0x74ade8ff).into()),
|
|
info_background: Some(rgba(0x18243dff).into()),
|
|
info_border: Some(rgba(0x293c5bff).into()),
|
|
modified: Some(rgba(0xdec184ff).into()),
|
|
modified_background: Some(rgba(0x41331dff).into()),
|
|
modified_border: Some(rgba(0x5d4c2fff).into()),
|
|
predictive: Some(rgba(0xa1c181ff).into()),
|
|
predictive_background: Some(rgba(0x222e1dff).into()),
|
|
predictive_border: Some(rgba(0x38482fff).into()),
|
|
renamed: Some(rgba(0x74ade8ff).into()),
|
|
renamed_background: Some(rgba(0x18243dff).into()),
|
|
renamed_border: Some(rgba(0x293c5bff).into()),
|
|
success: Some(rgba(0xa1c181ff).into()),
|
|
success_background: Some(rgba(0x222e1dff).into()),
|
|
success_border: Some(rgba(0x38482fff).into()),
|
|
unreachable: Some(rgba(0x838994ff).into()),
|
|
unreachable_background: Some(rgba(0x3b414dff).into()),
|
|
unreachable_border: Some(rgba(0x464b57ff).into()),
|
|
warning: Some(rgba(0xdec184ff).into()),
|
|
warning_background: Some(rgba(0x41331dff).into()),
|
|
warning_border: Some(rgba(0x5d4c2fff).into()),
|
|
..Default::default()
|
|
},
|
|
player: Some(PlayerColors(vec![
|
|
PlayerColor {
|
|
cursor: rgba(0x74ade8ff).into(),
|
|
background: rgba(0x74ade8ff).into(),
|
|
selection: rgba(0x74ade83d).into(),
|
|
},
|
|
PlayerColor {
|
|
cursor: rgba(0xbe5046ff).into(),
|
|
background: rgba(0xbe5046ff).into(),
|
|
selection: rgba(0xbe50463d).into(),
|
|
},
|
|
PlayerColor {
|
|
cursor: rgba(0xc0966bff).into(),
|
|
background: rgba(0xc0966bff).into(),
|
|
selection: rgba(0xc0966b3d).into(),
|
|
},
|
|
PlayerColor {
|
|
cursor: rgba(0xb478cfff).into(),
|
|
background: rgba(0xb478cfff).into(),
|
|
selection: rgba(0xb478cf3d).into(),
|
|
},
|
|
PlayerColor {
|
|
cursor: rgba(0x6fb4c0ff).into(),
|
|
background: rgba(0x6fb4c0ff).into(),
|
|
selection: rgba(0x6fb4c03d).into(),
|
|
},
|
|
PlayerColor {
|
|
cursor: rgba(0xd07277ff).into(),
|
|
background: rgba(0xd07277ff).into(),
|
|
selection: rgba(0xd072773d).into(),
|
|
},
|
|
PlayerColor {
|
|
cursor: rgba(0xdec184ff).into(),
|
|
background: rgba(0xdec184ff).into(),
|
|
selection: rgba(0xdec1843d).into(),
|
|
},
|
|
PlayerColor {
|
|
cursor: rgba(0xa1c181ff).into(),
|
|
background: rgba(0xa1c181ff).into(),
|
|
selection: rgba(0xa1c1813d).into(),
|
|
},
|
|
])),
|
|
syntax: Some(UserSyntaxTheme {
|
|
highlights: vec![
|
|
(
|
|
"attribute".into(),
|
|
UserHighlightStyle {
|
|
color: Some(rgba(0x74ade8ff).into()),
|
|
..Default::default()
|
|
},
|
|
),
|
|
(
|
|
"boolean".into(),
|
|
UserHighlightStyle {
|
|
color: Some(rgba(0xc0966bff).into()),
|
|
..Default::default()
|
|
},
|
|
),
|
|
(
|
|
"comment".into(),
|
|
UserHighlightStyle {
|
|
color: Some(rgba(0x5d636fff).into()),
|
|
..Default::default()
|
|
},
|
|
),
|
|
(
|
|
"comment.doc".into(),
|
|
UserHighlightStyle {
|
|
color: Some(rgba(0x878e98ff).into()),
|
|
..Default::default()
|
|
},
|
|
),
|
|
(
|
|
"constant".into(),
|
|
UserHighlightStyle {
|
|
color: Some(rgba(0xdfc184ff).into()),
|
|
..Default::default()
|
|
},
|
|
),
|
|
(
|
|
"constructor".into(),
|
|
UserHighlightStyle {
|
|
color: Some(rgba(0x74ade9ff).into()),
|
|
..Default::default()
|
|
},
|
|
),
|
|
(
|
|
"embedded".into(),
|
|
UserHighlightStyle {
|
|
color: Some(rgba(0xc8ccd4ff).into()),
|
|
..Default::default()
|
|
},
|
|
),
|
|
(
|
|
"emphasis".into(),
|
|
UserHighlightStyle {
|
|
color: Some(rgba(0x74ade8ff).into()),
|
|
..Default::default()
|
|
},
|
|
),
|
|
(
|
|
"emphasis.strong".into(),
|
|
UserHighlightStyle {
|
|
color: Some(rgba(0xc0966bff).into()),
|
|
font_weight: Some(UserFontWeight(700.0)),
|
|
..Default::default()
|
|
},
|
|
),
|
|
(
|
|
"enum".into(),
|
|
UserHighlightStyle {
|
|
color: Some(rgba(0xd07277ff).into()),
|
|
..Default::default()
|
|
},
|
|
),
|
|
(
|
|
"function".into(),
|
|
UserHighlightStyle {
|
|
color: Some(rgba(0x74ade9ff).into()),
|
|
..Default::default()
|
|
},
|
|
),
|
|
(
|
|
"hint".into(),
|
|
UserHighlightStyle {
|
|
color: Some(rgba(0x5b708aff).into()),
|
|
font_weight: Some(UserFontWeight(700.0)),
|
|
..Default::default()
|
|
},
|
|
),
|
|
(
|
|
"keyword".into(),
|
|
UserHighlightStyle {
|
|
color: Some(rgba(0xb478cfff).into()),
|
|
..Default::default()
|
|
},
|
|
),
|
|
(
|
|
"label".into(),
|
|
UserHighlightStyle {
|
|
color: Some(rgba(0x74ade8ff).into()),
|
|
..Default::default()
|
|
},
|
|
),
|
|
(
|
|
"link_text".into(),
|
|
UserHighlightStyle {
|
|
color: Some(rgba(0x74ade9ff).into()),
|
|
font_style: Some(UserFontStyle::Normal),
|
|
..Default::default()
|
|
},
|
|
),
|
|
(
|
|
"link_uri".into(),
|
|
UserHighlightStyle {
|
|
color: Some(rgba(0x6fb4c0ff).into()),
|
|
..Default::default()
|
|
},
|
|
),
|
|
(
|
|
"number".into(),
|
|
UserHighlightStyle {
|
|
color: Some(rgba(0xc0966bff).into()),
|
|
..Default::default()
|
|
},
|
|
),
|
|
(
|
|
"operator".into(),
|
|
UserHighlightStyle {
|
|
color: Some(rgba(0x6fb4c0ff).into()),
|
|
..Default::default()
|
|
},
|
|
),
|
|
(
|
|
"predictive".into(),
|
|
UserHighlightStyle {
|
|
color: Some(rgba(0x5b6b88ff).into()),
|
|
font_style: Some(UserFontStyle::Italic),
|
|
..Default::default()
|
|
},
|
|
),
|
|
(
|
|
"preproc".into(),
|
|
UserHighlightStyle {
|
|
color: Some(rgba(0xc8ccd4ff).into()),
|
|
..Default::default()
|
|
},
|
|
),
|
|
(
|
|
"primary".into(),
|
|
UserHighlightStyle {
|
|
color: Some(rgba(0xacb2beff).into()),
|
|
..Default::default()
|
|
},
|
|
),
|
|
(
|
|
"property".into(),
|
|
UserHighlightStyle {
|
|
color: Some(rgba(0xd07277ff).into()),
|
|
..Default::default()
|
|
},
|
|
),
|
|
(
|
|
"punctuation".into(),
|
|
UserHighlightStyle {
|
|
color: Some(rgba(0xacb2beff).into()),
|
|
..Default::default()
|
|
},
|
|
),
|
|
(
|
|
"punctuation.bracket".into(),
|
|
UserHighlightStyle {
|
|
color: Some(rgba(0xb2b9c6ff).into()),
|
|
..Default::default()
|
|
},
|
|
),
|
|
(
|
|
"punctuation.delimiter".into(),
|
|
UserHighlightStyle {
|
|
color: Some(rgba(0xb2b9c6ff).into()),
|
|
..Default::default()
|
|
},
|
|
),
|
|
(
|
|
"punctuation.list_marker".into(),
|
|
UserHighlightStyle {
|
|
color: Some(rgba(0xd07277ff).into()),
|
|
..Default::default()
|
|
},
|
|
),
|
|
(
|
|
"punctuation.special".into(),
|
|
UserHighlightStyle {
|
|
color: Some(rgba(0xb1574bff).into()),
|
|
..Default::default()
|
|
},
|
|
),
|
|
(
|
|
"string".into(),
|
|
UserHighlightStyle {
|
|
color: Some(rgba(0xa1c181ff).into()),
|
|
..Default::default()
|
|
},
|
|
),
|
|
(
|
|
"string.escape".into(),
|
|
UserHighlightStyle {
|
|
color: Some(rgba(0x878e98ff).into()),
|
|
..Default::default()
|
|
},
|
|
),
|
|
(
|
|
"string.regex".into(),
|
|
UserHighlightStyle {
|
|
color: Some(rgba(0xc0966bff).into()),
|
|
..Default::default()
|
|
},
|
|
),
|
|
(
|
|
"string.special".into(),
|
|
UserHighlightStyle {
|
|
color: Some(rgba(0xc0966bff).into()),
|
|
..Default::default()
|
|
},
|
|
),
|
|
(
|
|
"string.special.symbol".into(),
|
|
UserHighlightStyle {
|
|
color: Some(rgba(0xc0966bff).into()),
|
|
..Default::default()
|
|
},
|
|
),
|
|
(
|
|
"tag".into(),
|
|
UserHighlightStyle {
|
|
color: Some(rgba(0x74ade8ff).into()),
|
|
..Default::default()
|
|
},
|
|
),
|
|
(
|
|
"text.literal".into(),
|
|
UserHighlightStyle {
|
|
color: Some(rgba(0xa1c181ff).into()),
|
|
..Default::default()
|
|
},
|
|
),
|
|
(
|
|
"title".into(),
|
|
UserHighlightStyle {
|
|
color: Some(rgba(0xd07277ff).into()),
|
|
font_weight: Some(UserFontWeight(400.0)),
|
|
..Default::default()
|
|
},
|
|
),
|
|
(
|
|
"type".into(),
|
|
UserHighlightStyle {
|
|
color: Some(rgba(0x6fb4c0ff).into()),
|
|
..Default::default()
|
|
},
|
|
),
|
|
(
|
|
"variable".into(),
|
|
UserHighlightStyle {
|
|
color: Some(rgba(0xc8ccd4ff).into()),
|
|
..Default::default()
|
|
},
|
|
),
|
|
(
|
|
"variable.special".into(),
|
|
UserHighlightStyle {
|
|
color: Some(rgba(0xc0966bff).into()),
|
|
..Default::default()
|
|
},
|
|
),
|
|
(
|
|
"variant".into(),
|
|
UserHighlightStyle {
|
|
color: Some(rgba(0x74ade9ff).into()),
|
|
..Default::default()
|
|
},
|
|
),
|
|
],
|
|
}),
|
|
},
|
|
},
|
|
],
|
|
}
|
|
}
|