174 lines
10 KiB
Rust
174 lines
10 KiB
Rust
// This file was generated by the `theme_importer`.
|
|
// Be careful when modifying it by hand.
|
|
|
|
use gpui::rgba;
|
|
|
|
use crate::{
|
|
Appearance, StatusColorsRefinement, ThemeColorsRefinement, 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(0xffaa32b3).into()),
|
|
border_selected: Some(rgba(0x6b7d8f1f).into()),
|
|
border_transparent: Some(rgba(0x6b7d8f1f).into()),
|
|
border_disabled: Some(rgba(0x6b7d8f1f).into()),
|
|
elevated_surface_background: Some(rgba(0xf8f9faff).into()),
|
|
surface_background: Some(rgba(0xf8f9faff).into()),
|
|
background: Some(rgba(0xf8f9faff).into()),
|
|
element_background: Some(rgba(0xffaa32ff).into()),
|
|
element_hover: Some(rgba(0x55728f1f).into()),
|
|
element_selected: Some(rgba(0x55728f1f).into()),
|
|
ghost_element_hover: Some(rgba(0x55728f1f).into()),
|
|
text: Some(rgba(0x8a9199ff).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(0xef7070ff).into()),
|
|
terminal_ansi_bright_green: Some(rgba(0x86b300ff).into()),
|
|
terminal_ansi_bright_yellow: Some(rgba(0xf2ad48ff).into()),
|
|
terminal_ansi_bright_blue: Some(rgba(0x389ee6ff).into()),
|
|
terminal_ansi_bright_magenta: Some(rgba(0xa37accff).into()),
|
|
terminal_ansi_bright_cyan: Some(rgba(0x4bbf98ff).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(0x3198e1ff).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 {
|
|
deleted: Some(rgba(0xe65050ff).into()),
|
|
error: Some(rgba(0xe65050ff).into()),
|
|
hidden: Some(rgba(0x8a9199ff).into()),
|
|
..Default::default()
|
|
},
|
|
},
|
|
},
|
|
UserTheme {
|
|
name: "Ayu Mirage".into(),
|
|
appearance: Appearance::Dark,
|
|
styles: UserThemeStylesRefinement {
|
|
colors: ThemeColorsRefinement {
|
|
border: Some(rgba(0x171a24ff).into()),
|
|
border_variant: Some(rgba(0x171a24ff).into()),
|
|
border_focused: Some(rgba(0xffcb65b3).into()),
|
|
border_selected: Some(rgba(0x171a24ff).into()),
|
|
border_transparent: Some(rgba(0x171a24ff).into()),
|
|
border_disabled: Some(rgba(0x171a24ff).into()),
|
|
elevated_surface_background: Some(rgba(0x1f2430ff).into()),
|
|
surface_background: Some(rgba(0x1f2430ff).into()),
|
|
background: Some(rgba(0x1f2430ff).into()),
|
|
element_background: Some(rgba(0xffcb65ff).into()),
|
|
element_hover: Some(rgba(0x63759926).into()),
|
|
element_selected: Some(rgba(0x63759926).into()),
|
|
ghost_element_hover: Some(rgba(0x63759926).into()),
|
|
text: Some(rgba(0x707a8cff).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(0xf18678ff).into()),
|
|
terminal_ansi_bright_green: Some(rgba(0xd4fe7fff).into()),
|
|
terminal_ansi_bright_yellow: Some(rgba(0xffd173ff).into()),
|
|
terminal_ansi_bright_blue: Some(rgba(0x73cfffff).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(0x171a24ff).into()),
|
|
terminal_ansi_red: Some(rgba(0xed8173ff).into()),
|
|
terminal_ansi_green: Some(rgba(0x86d96bff).into()),
|
|
terminal_ansi_yellow: Some(rgba(0xfacc6eff).into()),
|
|
terminal_ansi_blue: Some(rgba(0x6ccafaff).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 {
|
|
deleted: Some(rgba(0xff6565ff).into()),
|
|
error: Some(rgba(0xff6565ff).into()),
|
|
hidden: Some(rgba(0x707a8cff).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(0x0b0e14ff).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()),
|
|
text: Some(rgba(0x565b66ff).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(0xef7077ff).into()),
|
|
terminal_ansi_bright_green: Some(rgba(0xa9d94bff).into()),
|
|
terminal_ansi_bright_yellow: Some(rgba(0xffb353ff).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(0xea6c72ff).into()),
|
|
terminal_ansi_green: Some(rgba(0x7ed962ff).into()),
|
|
terminal_ansi_yellow: Some(rgba(0xf9af4fff).into()),
|
|
terminal_ansi_blue: Some(rgba(0x52bdfaff).into()),
|
|
terminal_ansi_magenta: Some(rgba(0xcca1faff).into()),
|
|
terminal_ansi_cyan: Some(rgba(0x90e1c6ff).into()),
|
|
terminal_ansi_white: Some(rgba(0xc7c7c7ff).into()),
|
|
..Default::default()
|
|
},
|
|
status: StatusColorsRefinement {
|
|
deleted: Some(rgba(0xd95757ff).into()),
|
|
error: Some(rgba(0xd95757ff).into()),
|
|
hidden: Some(rgba(0x565b66ff).into()),
|
|
..Default::default()
|
|
},
|
|
},
|
|
},
|
|
],
|
|
}
|
|
}
|