919 lines
46 KiB
Rust
919 lines
46 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, StatusColorsRefinement, ThemeColorsRefinement, UserFontStyle, UserFontWeight,
|
|
UserHighlightStyle, UserSyntaxTheme, UserTheme, UserThemeFamily, UserThemeStylesRefinement,
|
|
};
|
|
|
|
pub fn ayu() -> UserThemeFamily {
|
|
UserThemeFamily {
|
|
name: "Ayu".into(),
|
|
author: "dempfi (Ike Ku)".into(),
|
|
themes: vec![
|
|
UserTheme {
|
|
name: "Ayu Light".into(),
|
|
appearance: Appearance::Light,
|
|
styles: UserThemeStylesRefinement {
|
|
colors: ThemeColorsRefinement {
|
|
border: Some(rgba(0x6b7d8f1f).into()),
|
|
border_variant: Some(rgba(0x6b7d8f1f).into()),
|
|
border_focused: Some(rgba(0xffaa33b3).into()),
|
|
border_selected: Some(rgba(0x6b7d8f1f).into()),
|
|
border_transparent: Some(rgba(0x6b7d8f1f).into()),
|
|
border_disabled: Some(rgba(0x6b7d8f1f).into()),
|
|
elevated_surface_background: Some(rgba(0xfcfcfcff).into()),
|
|
surface_background: Some(rgba(0xf8f9faff).into()),
|
|
background: Some(rgba(0xf8f9faff).into()),
|
|
element_background: Some(rgba(0xffaa33ff).into()),
|
|
element_hover: Some(rgba(0x56728f1f).into()),
|
|
element_selected: Some(rgba(0x56728f1f).into()),
|
|
ghost_element_hover: Some(rgba(0x56728f1f).into()),
|
|
ghost_element_selected: Some(rgba(0x56728f1f).into()),
|
|
text: Some(rgba(0x8a9199ff).into()),
|
|
status_bar_background: Some(rgba(0xf8f9faff).into()),
|
|
title_bar_background: Some(rgba(0xf8f9faff).into()),
|
|
toolbar_background: Some(rgba(0xf8f9faff).into()),
|
|
tab_bar_background: Some(rgba(0xf8f9faff).into()),
|
|
tab_inactive_background: Some(rgba(0xf8f9faff).into()),
|
|
tab_active_background: Some(rgba(0xf8f9faff).into()),
|
|
editor_background: Some(rgba(0xf8f9faff).into()),
|
|
editor_gutter_background: Some(rgba(0xf8f9faff).into()),
|
|
editor_line_number: Some(rgba(0x8a919966).into()),
|
|
editor_active_line_number: Some(rgba(0x5c6166ff).into()),
|
|
terminal_background: Some(rgba(0xf8f9faff).into()),
|
|
terminal_ansi_bright_black: Some(rgba(0x686868ff).into()),
|
|
terminal_ansi_bright_red: Some(rgba(0xf07171ff).into()),
|
|
terminal_ansi_bright_green: Some(rgba(0x86b300ff).into()),
|
|
terminal_ansi_bright_yellow: Some(rgba(0xf2ae49ff).into()),
|
|
terminal_ansi_bright_blue: Some(rgba(0x399ee6ff).into()),
|
|
terminal_ansi_bright_magenta: Some(rgba(0xa37accff).into()),
|
|
terminal_ansi_bright_cyan: Some(rgba(0x4cbf99ff).into()),
|
|
terminal_ansi_bright_white: Some(rgba(0xd1d1d1ff).into()),
|
|
terminal_ansi_black: Some(rgba(0x000000ff).into()),
|
|
terminal_ansi_red: Some(rgba(0xea6c6dff).into()),
|
|
terminal_ansi_green: Some(rgba(0x6cbf43ff).into()),
|
|
terminal_ansi_yellow: Some(rgba(0xeca944ff).into()),
|
|
terminal_ansi_blue: Some(rgba(0x3199e1ff).into()),
|
|
terminal_ansi_magenta: Some(rgba(0x9e75c7ff).into()),
|
|
terminal_ansi_cyan: Some(rgba(0x46ba94ff).into()),
|
|
terminal_ansi_white: Some(rgba(0xc7c7c7ff).into()),
|
|
..Default::default()
|
|
},
|
|
status: StatusColorsRefinement {
|
|
created: Some(rgba(0x6cbf43b3).into()),
|
|
deleted: Some(rgba(0xe65050ff).into()),
|
|
error: Some(rgba(0xe65050ff).into()),
|
|
hidden: Some(rgba(0x8a9199ff).into()),
|
|
hint: Some(rgba(0x969696ff).into()),
|
|
ignored: Some(rgba(0x8a919980).into()),
|
|
modified: Some(rgba(0x478accb3).into()),
|
|
..Default::default()
|
|
},
|
|
syntax: Some(UserSyntaxTheme {
|
|
highlights: vec![
|
|
(
|
|
"attribute".into(),
|
|
UserHighlightStyle {
|
|
color: Some(rgba(0xf2ae49ff).into()),
|
|
..Default::default()
|
|
},
|
|
),
|
|
(
|
|
"boolean".into(),
|
|
UserHighlightStyle {
|
|
color: Some(rgba(0xa37accff).into()),
|
|
..Default::default()
|
|
},
|
|
),
|
|
(
|
|
"comment".into(),
|
|
UserHighlightStyle {
|
|
color: Some(rgba(0x787b8099).into()),
|
|
font_style: Some(UserFontStyle::Italic),
|
|
..Default::default()
|
|
},
|
|
),
|
|
(
|
|
"comment.doc".into(),
|
|
UserHighlightStyle {
|
|
color: Some(rgba(0x787b8099).into()),
|
|
font_style: Some(UserFontStyle::Italic),
|
|
..Default::default()
|
|
},
|
|
),
|
|
(
|
|
"constant".into(),
|
|
UserHighlightStyle {
|
|
color: Some(rgba(0xa37accff).into()),
|
|
..Default::default()
|
|
},
|
|
),
|
|
(
|
|
"constructor".into(),
|
|
UserHighlightStyle {
|
|
color: Some(rgba(0x55b4d4ff).into()),
|
|
..Default::default()
|
|
},
|
|
),
|
|
(
|
|
"embedded".into(),
|
|
UserHighlightStyle {
|
|
color: Some(rgba(0x5c6166ff).into()),
|
|
..Default::default()
|
|
},
|
|
),
|
|
(
|
|
"emphasis".into(),
|
|
UserHighlightStyle {
|
|
color: Some(rgba(0xf07171ff).into()),
|
|
font_style: Some(UserFontStyle::Italic),
|
|
..Default::default()
|
|
},
|
|
),
|
|
(
|
|
"emphasis.strong".into(),
|
|
UserHighlightStyle {
|
|
color: Some(rgba(0xf07171ff).into()),
|
|
font_weight: Some(UserFontWeight(700.0)),
|
|
..Default::default()
|
|
},
|
|
),
|
|
(
|
|
"function".into(),
|
|
UserHighlightStyle {
|
|
color: Some(rgba(0xf2ae49ff).into()),
|
|
..Default::default()
|
|
},
|
|
),
|
|
(
|
|
"keyword".into(),
|
|
UserHighlightStyle {
|
|
color: Some(rgba(0x55b4d4ff).into()),
|
|
..Default::default()
|
|
},
|
|
),
|
|
(
|
|
"label".into(),
|
|
UserHighlightStyle {
|
|
color: Some(rgba(0x86b300ff).into()),
|
|
..Default::default()
|
|
},
|
|
),
|
|
(
|
|
"link_text".into(),
|
|
UserHighlightStyle {
|
|
color: Some(rgba(0x55b4d4ff).into()),
|
|
..Default::default()
|
|
},
|
|
),
|
|
(
|
|
"link_uri".into(),
|
|
UserHighlightStyle {
|
|
color: Some(rgba(0x55b4d4ff).into()),
|
|
..Default::default()
|
|
},
|
|
),
|
|
(
|
|
"number".into(),
|
|
UserHighlightStyle {
|
|
color: Some(rgba(0xa37accff).into()),
|
|
..Default::default()
|
|
},
|
|
),
|
|
(
|
|
"operator".into(),
|
|
UserHighlightStyle {
|
|
color: Some(rgba(0xed9366ff).into()),
|
|
..Default::default()
|
|
},
|
|
),
|
|
(
|
|
"property".into(),
|
|
UserHighlightStyle {
|
|
color: Some(rgba(0x55b4d4ff).into()),
|
|
..Default::default()
|
|
},
|
|
),
|
|
(
|
|
"punctuation".into(),
|
|
UserHighlightStyle {
|
|
color: Some(rgba(0x55b4d480).into()),
|
|
..Default::default()
|
|
},
|
|
),
|
|
(
|
|
"punctuation.bracket".into(),
|
|
UserHighlightStyle {
|
|
color: Some(rgba(0x55b4d480).into()),
|
|
..Default::default()
|
|
},
|
|
),
|
|
(
|
|
"punctuation.delimiter".into(),
|
|
UserHighlightStyle {
|
|
color: Some(rgba(0x5c6166b3).into()),
|
|
..Default::default()
|
|
},
|
|
),
|
|
(
|
|
"punctuation.list_marker".into(),
|
|
UserHighlightStyle {
|
|
color: Some(rgba(0xf2ae49ff).into()),
|
|
..Default::default()
|
|
},
|
|
),
|
|
(
|
|
"punctuation.special".into(),
|
|
UserHighlightStyle {
|
|
color: Some(rgba(0x55b4d480).into()),
|
|
..Default::default()
|
|
},
|
|
),
|
|
(
|
|
"string".into(),
|
|
UserHighlightStyle {
|
|
color: Some(rgba(0x86b300ff).into()),
|
|
..Default::default()
|
|
},
|
|
),
|
|
(
|
|
"string.escape".into(),
|
|
UserHighlightStyle {
|
|
color: Some(rgba(0x4cbf99ff).into()),
|
|
..Default::default()
|
|
},
|
|
),
|
|
(
|
|
"string.regex".into(),
|
|
UserHighlightStyle {
|
|
color: Some(rgba(0x86b300ff).into()),
|
|
..Default::default()
|
|
},
|
|
),
|
|
(
|
|
"string.special".into(),
|
|
UserHighlightStyle {
|
|
color: Some(rgba(0x86b300ff).into()),
|
|
..Default::default()
|
|
},
|
|
),
|
|
(
|
|
"string.special.symbol".into(),
|
|
UserHighlightStyle {
|
|
color: Some(rgba(0x86b300ff).into()),
|
|
..Default::default()
|
|
},
|
|
),
|
|
(
|
|
"tag".into(),
|
|
UserHighlightStyle {
|
|
color: Some(rgba(0x55b4d4ff).into()),
|
|
..Default::default()
|
|
},
|
|
),
|
|
(
|
|
"text.literal".into(),
|
|
UserHighlightStyle {
|
|
color: Some(rgba(0x86b300ff).into()),
|
|
..Default::default()
|
|
},
|
|
),
|
|
(
|
|
"title".into(),
|
|
UserHighlightStyle {
|
|
color: Some(rgba(0x399ee6ff).into()),
|
|
..Default::default()
|
|
},
|
|
),
|
|
(
|
|
"type".into(),
|
|
UserHighlightStyle {
|
|
color: Some(rgba(0x55b4d4ff).into()),
|
|
..Default::default()
|
|
},
|
|
),
|
|
(
|
|
"variable".into(),
|
|
UserHighlightStyle {
|
|
color: Some(rgba(0x5c6166ff).into()),
|
|
..Default::default()
|
|
},
|
|
),
|
|
(
|
|
"variable.special".into(),
|
|
UserHighlightStyle {
|
|
color: Some(rgba(0xf2ae49ff).into()),
|
|
..Default::default()
|
|
},
|
|
),
|
|
],
|
|
}),
|
|
},
|
|
},
|
|
UserTheme {
|
|
name: "Ayu Mirage".into(),
|
|
appearance: Appearance::Dark,
|
|
styles: UserThemeStylesRefinement {
|
|
colors: ThemeColorsRefinement {
|
|
border: Some(rgba(0x171b24ff).into()),
|
|
border_variant: Some(rgba(0x171b24ff).into()),
|
|
border_focused: Some(rgba(0xffcc66b3).into()),
|
|
border_selected: Some(rgba(0x171b24ff).into()),
|
|
border_transparent: Some(rgba(0x171b24ff).into()),
|
|
border_disabled: Some(rgba(0x171b24ff).into()),
|
|
elevated_surface_background: Some(rgba(0x242936ff).into()),
|
|
surface_background: Some(rgba(0x1f2430ff).into()),
|
|
background: Some(rgba(0x1f2430ff).into()),
|
|
element_background: Some(rgba(0xffcc66ff).into()),
|
|
element_hover: Some(rgba(0x63759926).into()),
|
|
element_selected: Some(rgba(0x63759926).into()),
|
|
ghost_element_hover: Some(rgba(0x63759926).into()),
|
|
ghost_element_selected: Some(rgba(0x63759926).into()),
|
|
text: Some(rgba(0x707a8cff).into()),
|
|
status_bar_background: Some(rgba(0x1f2430ff).into()),
|
|
title_bar_background: Some(rgba(0x1f2430ff).into()),
|
|
toolbar_background: Some(rgba(0x1f2430ff).into()),
|
|
tab_bar_background: Some(rgba(0x1f2430ff).into()),
|
|
tab_inactive_background: Some(rgba(0x1f2430ff).into()),
|
|
tab_active_background: Some(rgba(0x1f2430ff).into()),
|
|
editor_background: Some(rgba(0x1f2430ff).into()),
|
|
editor_gutter_background: Some(rgba(0x1f2430ff).into()),
|
|
editor_line_number: Some(rgba(0x8a919966).into()),
|
|
editor_active_line_number: Some(rgba(0xcccac2ff).into()),
|
|
terminal_background: Some(rgba(0x1f2430ff).into()),
|
|
terminal_ansi_bright_black: Some(rgba(0x686868ff).into()),
|
|
terminal_ansi_bright_red: Some(rgba(0xf28779ff).into()),
|
|
terminal_ansi_bright_green: Some(rgba(0xd5ff80ff).into()),
|
|
terminal_ansi_bright_yellow: Some(rgba(0xffd173ff).into()),
|
|
terminal_ansi_bright_blue: Some(rgba(0x73d0ffff).into()),
|
|
terminal_ansi_bright_magenta: Some(rgba(0xdfbfffff).into()),
|
|
terminal_ansi_bright_cyan: Some(rgba(0x95e6cbff).into()),
|
|
terminal_ansi_bright_white: Some(rgba(0xffffffff).into()),
|
|
terminal_ansi_black: Some(rgba(0x171b24ff).into()),
|
|
terminal_ansi_red: Some(rgba(0xed8274ff).into()),
|
|
terminal_ansi_green: Some(rgba(0x87d96cff).into()),
|
|
terminal_ansi_yellow: Some(rgba(0xfacc6eff).into()),
|
|
terminal_ansi_blue: Some(rgba(0x6dcbfaff).into()),
|
|
terminal_ansi_magenta: Some(rgba(0xdabafaff).into()),
|
|
terminal_ansi_cyan: Some(rgba(0x90e1c6ff).into()),
|
|
terminal_ansi_white: Some(rgba(0xc7c7c7ff).into()),
|
|
..Default::default()
|
|
},
|
|
status: StatusColorsRefinement {
|
|
created: Some(rgba(0x87d96cb3).into()),
|
|
deleted: Some(rgba(0xff6666ff).into()),
|
|
error: Some(rgba(0xff6666ff).into()),
|
|
hidden: Some(rgba(0x707a8cff).into()),
|
|
hint: Some(rgba(0x969696ff).into()),
|
|
ignored: Some(rgba(0x707a8c80).into()),
|
|
modified: Some(rgba(0x80bfffb3).into()),
|
|
..Default::default()
|
|
},
|
|
syntax: Some(UserSyntaxTheme {
|
|
highlights: vec![
|
|
(
|
|
"attribute".into(),
|
|
UserHighlightStyle {
|
|
color: Some(rgba(0xffd173ff).into()),
|
|
..Default::default()
|
|
},
|
|
),
|
|
(
|
|
"boolean".into(),
|
|
UserHighlightStyle {
|
|
color: Some(rgba(0xdfbfffff).into()),
|
|
..Default::default()
|
|
},
|
|
),
|
|
(
|
|
"comment".into(),
|
|
UserHighlightStyle {
|
|
color: Some(rgba(0xb8cfe680).into()),
|
|
font_style: Some(UserFontStyle::Italic),
|
|
..Default::default()
|
|
},
|
|
),
|
|
(
|
|
"comment.doc".into(),
|
|
UserHighlightStyle {
|
|
color: Some(rgba(0xb8cfe680).into()),
|
|
font_style: Some(UserFontStyle::Italic),
|
|
..Default::default()
|
|
},
|
|
),
|
|
(
|
|
"constant".into(),
|
|
UserHighlightStyle {
|
|
color: Some(rgba(0xdfbfffff).into()),
|
|
..Default::default()
|
|
},
|
|
),
|
|
(
|
|
"constructor".into(),
|
|
UserHighlightStyle {
|
|
color: Some(rgba(0x5ccfe6ff).into()),
|
|
..Default::default()
|
|
},
|
|
),
|
|
(
|
|
"embedded".into(),
|
|
UserHighlightStyle {
|
|
color: Some(rgba(0xcccac2ff).into()),
|
|
..Default::default()
|
|
},
|
|
),
|
|
(
|
|
"emphasis".into(),
|
|
UserHighlightStyle {
|
|
color: Some(rgba(0xf28779ff).into()),
|
|
font_style: Some(UserFontStyle::Italic),
|
|
..Default::default()
|
|
},
|
|
),
|
|
(
|
|
"emphasis.strong".into(),
|
|
UserHighlightStyle {
|
|
color: Some(rgba(0xf28779ff).into()),
|
|
font_weight: Some(UserFontWeight(700.0)),
|
|
..Default::default()
|
|
},
|
|
),
|
|
(
|
|
"function".into(),
|
|
UserHighlightStyle {
|
|
color: Some(rgba(0xffd173ff).into()),
|
|
..Default::default()
|
|
},
|
|
),
|
|
(
|
|
"keyword".into(),
|
|
UserHighlightStyle {
|
|
color: Some(rgba(0x5ccfe6ff).into()),
|
|
..Default::default()
|
|
},
|
|
),
|
|
(
|
|
"label".into(),
|
|
UserHighlightStyle {
|
|
color: Some(rgba(0xd5ff80ff).into()),
|
|
..Default::default()
|
|
},
|
|
),
|
|
(
|
|
"link_text".into(),
|
|
UserHighlightStyle {
|
|
color: Some(rgba(0x5ccfe6ff).into()),
|
|
..Default::default()
|
|
},
|
|
),
|
|
(
|
|
"link_uri".into(),
|
|
UserHighlightStyle {
|
|
color: Some(rgba(0x5ccfe6ff).into()),
|
|
..Default::default()
|
|
},
|
|
),
|
|
(
|
|
"number".into(),
|
|
UserHighlightStyle {
|
|
color: Some(rgba(0xdfbfffff).into()),
|
|
..Default::default()
|
|
},
|
|
),
|
|
(
|
|
"operator".into(),
|
|
UserHighlightStyle {
|
|
color: Some(rgba(0xf29e74ff).into()),
|
|
..Default::default()
|
|
},
|
|
),
|
|
(
|
|
"property".into(),
|
|
UserHighlightStyle {
|
|
color: Some(rgba(0x5ccfe6ff).into()),
|
|
..Default::default()
|
|
},
|
|
),
|
|
(
|
|
"punctuation".into(),
|
|
UserHighlightStyle {
|
|
color: Some(rgba(0x5ccfe680).into()),
|
|
..Default::default()
|
|
},
|
|
),
|
|
(
|
|
"punctuation.bracket".into(),
|
|
UserHighlightStyle {
|
|
color: Some(rgba(0x5ccfe680).into()),
|
|
..Default::default()
|
|
},
|
|
),
|
|
(
|
|
"punctuation.delimiter".into(),
|
|
UserHighlightStyle {
|
|
color: Some(rgba(0xcccac2b3).into()),
|
|
..Default::default()
|
|
},
|
|
),
|
|
(
|
|
"punctuation.list_marker".into(),
|
|
UserHighlightStyle {
|
|
color: Some(rgba(0xffd173ff).into()),
|
|
..Default::default()
|
|
},
|
|
),
|
|
(
|
|
"punctuation.special".into(),
|
|
UserHighlightStyle {
|
|
color: Some(rgba(0x5ccfe680).into()),
|
|
..Default::default()
|
|
},
|
|
),
|
|
(
|
|
"string".into(),
|
|
UserHighlightStyle {
|
|
color: Some(rgba(0xd5ff80ff).into()),
|
|
..Default::default()
|
|
},
|
|
),
|
|
(
|
|
"string.escape".into(),
|
|
UserHighlightStyle {
|
|
color: Some(rgba(0x95e6cbff).into()),
|
|
..Default::default()
|
|
},
|
|
),
|
|
(
|
|
"string.regex".into(),
|
|
UserHighlightStyle {
|
|
color: Some(rgba(0xd5ff80ff).into()),
|
|
..Default::default()
|
|
},
|
|
),
|
|
(
|
|
"string.special".into(),
|
|
UserHighlightStyle {
|
|
color: Some(rgba(0xd5ff80ff).into()),
|
|
..Default::default()
|
|
},
|
|
),
|
|
(
|
|
"string.special.symbol".into(),
|
|
UserHighlightStyle {
|
|
color: Some(rgba(0xd5ff80ff).into()),
|
|
..Default::default()
|
|
},
|
|
),
|
|
(
|
|
"tag".into(),
|
|
UserHighlightStyle {
|
|
color: Some(rgba(0x5ccfe6ff).into()),
|
|
..Default::default()
|
|
},
|
|
),
|
|
(
|
|
"text.literal".into(),
|
|
UserHighlightStyle {
|
|
color: Some(rgba(0xd5ff80ff).into()),
|
|
..Default::default()
|
|
},
|
|
),
|
|
(
|
|
"title".into(),
|
|
UserHighlightStyle {
|
|
color: Some(rgba(0x73d0ffff).into()),
|
|
..Default::default()
|
|
},
|
|
),
|
|
(
|
|
"type".into(),
|
|
UserHighlightStyle {
|
|
color: Some(rgba(0x5ccfe6ff).into()),
|
|
..Default::default()
|
|
},
|
|
),
|
|
(
|
|
"variable".into(),
|
|
UserHighlightStyle {
|
|
color: Some(rgba(0xcccac2ff).into()),
|
|
..Default::default()
|
|
},
|
|
),
|
|
(
|
|
"variable.special".into(),
|
|
UserHighlightStyle {
|
|
color: Some(rgba(0xffd173ff).into()),
|
|
..Default::default()
|
|
},
|
|
),
|
|
],
|
|
}),
|
|
},
|
|
},
|
|
UserTheme {
|
|
name: "Ayu Dark".into(),
|
|
appearance: Appearance::Dark,
|
|
styles: UserThemeStylesRefinement {
|
|
colors: ThemeColorsRefinement {
|
|
border: Some(rgba(0x1e232bff).into()),
|
|
border_variant: Some(rgba(0x1e232bff).into()),
|
|
border_focused: Some(rgba(0xe6b450b3).into()),
|
|
border_selected: Some(rgba(0x1e232bff).into()),
|
|
border_transparent: Some(rgba(0x1e232bff).into()),
|
|
border_disabled: Some(rgba(0x1e232bff).into()),
|
|
elevated_surface_background: Some(rgba(0x0d1017ff).into()),
|
|
surface_background: Some(rgba(0x0b0e14ff).into()),
|
|
background: Some(rgba(0x0b0e14ff).into()),
|
|
element_background: Some(rgba(0xe6b450ff).into()),
|
|
element_hover: Some(rgba(0x47526640).into()),
|
|
element_selected: Some(rgba(0x47526640).into()),
|
|
ghost_element_hover: Some(rgba(0x47526640).into()),
|
|
ghost_element_selected: Some(rgba(0x47526640).into()),
|
|
text: Some(rgba(0x565b66ff).into()),
|
|
status_bar_background: Some(rgba(0x0b0e14ff).into()),
|
|
title_bar_background: Some(rgba(0x0b0e14ff).into()),
|
|
toolbar_background: Some(rgba(0x0b0e14ff).into()),
|
|
tab_bar_background: Some(rgba(0x0b0e14ff).into()),
|
|
tab_inactive_background: Some(rgba(0x0b0e14ff).into()),
|
|
tab_active_background: Some(rgba(0x0b0e14ff).into()),
|
|
editor_background: Some(rgba(0x0b0e14ff).into()),
|
|
editor_gutter_background: Some(rgba(0x0b0e14ff).into()),
|
|
editor_line_number: Some(rgba(0x6c738099).into()),
|
|
editor_active_line_number: Some(rgba(0xbfbdb6ff).into()),
|
|
terminal_background: Some(rgba(0x0b0e14ff).into()),
|
|
terminal_ansi_bright_black: Some(rgba(0x686868ff).into()),
|
|
terminal_ansi_bright_red: Some(rgba(0xf07178ff).into()),
|
|
terminal_ansi_bright_green: Some(rgba(0xaad94cff).into()),
|
|
terminal_ansi_bright_yellow: Some(rgba(0xffb454ff).into()),
|
|
terminal_ansi_bright_blue: Some(rgba(0x59c2ffff).into()),
|
|
terminal_ansi_bright_magenta: Some(rgba(0xd2a6ffff).into()),
|
|
terminal_ansi_bright_cyan: Some(rgba(0x95e6cbff).into()),
|
|
terminal_ansi_bright_white: Some(rgba(0xffffffff).into()),
|
|
terminal_ansi_black: Some(rgba(0x1e232bff).into()),
|
|
terminal_ansi_red: Some(rgba(0xea6c73ff).into()),
|
|
terminal_ansi_green: Some(rgba(0x7fd962ff).into()),
|
|
terminal_ansi_yellow: Some(rgba(0xf9af4fff).into()),
|
|
terminal_ansi_blue: Some(rgba(0x53bdfaff).into()),
|
|
terminal_ansi_magenta: Some(rgba(0xcda1faff).into()),
|
|
terminal_ansi_cyan: Some(rgba(0x90e1c6ff).into()),
|
|
terminal_ansi_white: Some(rgba(0xc7c7c7ff).into()),
|
|
..Default::default()
|
|
},
|
|
status: StatusColorsRefinement {
|
|
created: Some(rgba(0x7fd962b3).into()),
|
|
deleted: Some(rgba(0xd95757ff).into()),
|
|
error: Some(rgba(0xd95757ff).into()),
|
|
hidden: Some(rgba(0x565b66ff).into()),
|
|
hint: Some(rgba(0x969696ff).into()),
|
|
ignored: Some(rgba(0x565b6680).into()),
|
|
modified: Some(rgba(0x73b8ffb3).into()),
|
|
..Default::default()
|
|
},
|
|
syntax: Some(UserSyntaxTheme {
|
|
highlights: vec![
|
|
(
|
|
"attribute".into(),
|
|
UserHighlightStyle {
|
|
color: Some(rgba(0xffb454ff).into()),
|
|
..Default::default()
|
|
},
|
|
),
|
|
(
|
|
"boolean".into(),
|
|
UserHighlightStyle {
|
|
color: Some(rgba(0xd2a6ffff).into()),
|
|
..Default::default()
|
|
},
|
|
),
|
|
(
|
|
"comment".into(),
|
|
UserHighlightStyle {
|
|
color: Some(rgba(0xacb6bf8c).into()),
|
|
font_style: Some(UserFontStyle::Italic),
|
|
..Default::default()
|
|
},
|
|
),
|
|
(
|
|
"comment.doc".into(),
|
|
UserHighlightStyle {
|
|
color: Some(rgba(0xacb6bf8c).into()),
|
|
font_style: Some(UserFontStyle::Italic),
|
|
..Default::default()
|
|
},
|
|
),
|
|
(
|
|
"constant".into(),
|
|
UserHighlightStyle {
|
|
color: Some(rgba(0xd2a6ffff).into()),
|
|
..Default::default()
|
|
},
|
|
),
|
|
(
|
|
"constructor".into(),
|
|
UserHighlightStyle {
|
|
color: Some(rgba(0x39bae6ff).into()),
|
|
..Default::default()
|
|
},
|
|
),
|
|
(
|
|
"embedded".into(),
|
|
UserHighlightStyle {
|
|
color: Some(rgba(0xbfbdb6ff).into()),
|
|
..Default::default()
|
|
},
|
|
),
|
|
(
|
|
"emphasis".into(),
|
|
UserHighlightStyle {
|
|
color: Some(rgba(0xf07178ff).into()),
|
|
font_style: Some(UserFontStyle::Italic),
|
|
..Default::default()
|
|
},
|
|
),
|
|
(
|
|
"emphasis.strong".into(),
|
|
UserHighlightStyle {
|
|
color: Some(rgba(0xf07178ff).into()),
|
|
font_weight: Some(UserFontWeight(700.0)),
|
|
..Default::default()
|
|
},
|
|
),
|
|
(
|
|
"function".into(),
|
|
UserHighlightStyle {
|
|
color: Some(rgba(0xffb454ff).into()),
|
|
..Default::default()
|
|
},
|
|
),
|
|
(
|
|
"keyword".into(),
|
|
UserHighlightStyle {
|
|
color: Some(rgba(0x39bae6ff).into()),
|
|
..Default::default()
|
|
},
|
|
),
|
|
(
|
|
"label".into(),
|
|
UserHighlightStyle {
|
|
color: Some(rgba(0xaad94cff).into()),
|
|
..Default::default()
|
|
},
|
|
),
|
|
(
|
|
"link_text".into(),
|
|
UserHighlightStyle {
|
|
color: Some(rgba(0x39bae6ff).into()),
|
|
..Default::default()
|
|
},
|
|
),
|
|
(
|
|
"link_uri".into(),
|
|
UserHighlightStyle {
|
|
color: Some(rgba(0x39bae6ff).into()),
|
|
..Default::default()
|
|
},
|
|
),
|
|
(
|
|
"number".into(),
|
|
UserHighlightStyle {
|
|
color: Some(rgba(0xd2a6ffff).into()),
|
|
..Default::default()
|
|
},
|
|
),
|
|
(
|
|
"operator".into(),
|
|
UserHighlightStyle {
|
|
color: Some(rgba(0xf29668ff).into()),
|
|
..Default::default()
|
|
},
|
|
),
|
|
(
|
|
"property".into(),
|
|
UserHighlightStyle {
|
|
color: Some(rgba(0x39bae6ff).into()),
|
|
..Default::default()
|
|
},
|
|
),
|
|
(
|
|
"punctuation".into(),
|
|
UserHighlightStyle {
|
|
color: Some(rgba(0x39bae680).into()),
|
|
..Default::default()
|
|
},
|
|
),
|
|
(
|
|
"punctuation.bracket".into(),
|
|
UserHighlightStyle {
|
|
color: Some(rgba(0x39bae680).into()),
|
|
..Default::default()
|
|
},
|
|
),
|
|
(
|
|
"punctuation.delimiter".into(),
|
|
UserHighlightStyle {
|
|
color: Some(rgba(0xbfbdb6b3).into()),
|
|
..Default::default()
|
|
},
|
|
),
|
|
(
|
|
"punctuation.list_marker".into(),
|
|
UserHighlightStyle {
|
|
color: Some(rgba(0xffb454ff).into()),
|
|
..Default::default()
|
|
},
|
|
),
|
|
(
|
|
"punctuation.special".into(),
|
|
UserHighlightStyle {
|
|
color: Some(rgba(0x39bae680).into()),
|
|
..Default::default()
|
|
},
|
|
),
|
|
(
|
|
"string".into(),
|
|
UserHighlightStyle {
|
|
color: Some(rgba(0xaad94cff).into()),
|
|
..Default::default()
|
|
},
|
|
),
|
|
(
|
|
"string.escape".into(),
|
|
UserHighlightStyle {
|
|
color: Some(rgba(0x95e6cbff).into()),
|
|
..Default::default()
|
|
},
|
|
),
|
|
(
|
|
"string.regex".into(),
|
|
UserHighlightStyle {
|
|
color: Some(rgba(0xaad94cff).into()),
|
|
..Default::default()
|
|
},
|
|
),
|
|
(
|
|
"string.special".into(),
|
|
UserHighlightStyle {
|
|
color: Some(rgba(0xaad94cff).into()),
|
|
..Default::default()
|
|
},
|
|
),
|
|
(
|
|
"string.special.symbol".into(),
|
|
UserHighlightStyle {
|
|
color: Some(rgba(0xaad94cff).into()),
|
|
..Default::default()
|
|
},
|
|
),
|
|
(
|
|
"tag".into(),
|
|
UserHighlightStyle {
|
|
color: Some(rgba(0x39bae6ff).into()),
|
|
..Default::default()
|
|
},
|
|
),
|
|
(
|
|
"text.literal".into(),
|
|
UserHighlightStyle {
|
|
color: Some(rgba(0xaad94cff).into()),
|
|
..Default::default()
|
|
},
|
|
),
|
|
(
|
|
"title".into(),
|
|
UserHighlightStyle {
|
|
color: Some(rgba(0x59c2ffff).into()),
|
|
..Default::default()
|
|
},
|
|
),
|
|
(
|
|
"type".into(),
|
|
UserHighlightStyle {
|
|
color: Some(rgba(0x39bae6ff).into()),
|
|
..Default::default()
|
|
},
|
|
),
|
|
(
|
|
"variable".into(),
|
|
UserHighlightStyle {
|
|
color: Some(rgba(0xbfbdb6ff).into()),
|
|
..Default::default()
|
|
},
|
|
),
|
|
(
|
|
"variable.special".into(),
|
|
UserHighlightStyle {
|
|
color: Some(rgba(0xffb454ff).into()),
|
|
..Default::default()
|
|
},
|
|
),
|
|
],
|
|
}),
|
|
},
|
|
},
|
|
],
|
|
}
|
|
}
|