Struct theme2::ThemeColorsRefinement
source · pub struct ThemeColorsRefinement {Show 65 fields
pub border: Option<Hsla>,
pub border_variant: Option<Hsla>,
pub border_focused: Option<Hsla>,
pub border_selected: Option<Hsla>,
pub border_transparent: Option<Hsla>,
pub border_disabled: Option<Hsla>,
pub elevated_surface_background: Option<Hsla>,
pub surface_background: Option<Hsla>,
pub background: Option<Hsla>,
pub element_background: Option<Hsla>,
pub element_hover: Option<Hsla>,
pub element_active: Option<Hsla>,
pub element_selected: Option<Hsla>,
pub element_disabled: Option<Hsla>,
pub drop_target_background: Option<Hsla>,
pub ghost_element_background: Option<Hsla>,
pub ghost_element_hover: Option<Hsla>,
pub ghost_element_active: Option<Hsla>,
pub ghost_element_selected: Option<Hsla>,
pub ghost_element_disabled: Option<Hsla>,
pub text: Option<Hsla>,
pub text_muted: Option<Hsla>,
pub text_placeholder: Option<Hsla>,
pub text_disabled: Option<Hsla>,
pub text_accent: Option<Hsla>,
pub icon: Option<Hsla>,
pub icon_muted: Option<Hsla>,
pub icon_disabled: Option<Hsla>,
pub icon_placeholder: Option<Hsla>,
pub icon_accent: Option<Hsla>,
pub status_bar_background: Option<Hsla>,
pub title_bar_background: Option<Hsla>,
pub toolbar_background: Option<Hsla>,
pub tab_bar_background: Option<Hsla>,
pub tab_inactive_background: Option<Hsla>,
pub tab_active_background: Option<Hsla>,
pub editor_background: Option<Hsla>,
pub editor_gutter_background: Option<Hsla>,
pub editor_subheader_background: Option<Hsla>,
pub editor_active_line_background: Option<Hsla>,
pub editor_highlighted_line_background: Option<Hsla>,
pub editor_line_number: Option<Hsla>,
pub editor_active_line_number: Option<Hsla>,
pub editor_invisible: Option<Hsla>,
pub editor_wrap_guide: Option<Hsla>,
pub editor_active_wrap_guide: Option<Hsla>,
pub editor_document_highlight_read_background: Option<Hsla>,
pub editor_document_highlight_write_background: Option<Hsla>,
pub terminal_background: Option<Hsla>,
pub terminal_ansi_bright_black: Option<Hsla>,
pub terminal_ansi_bright_red: Option<Hsla>,
pub terminal_ansi_bright_green: Option<Hsla>,
pub terminal_ansi_bright_yellow: Option<Hsla>,
pub terminal_ansi_bright_blue: Option<Hsla>,
pub terminal_ansi_bright_magenta: Option<Hsla>,
pub terminal_ansi_bright_cyan: Option<Hsla>,
pub terminal_ansi_bright_white: Option<Hsla>,
pub terminal_ansi_black: Option<Hsla>,
pub terminal_ansi_red: Option<Hsla>,
pub terminal_ansi_green: Option<Hsla>,
pub terminal_ansi_yellow: Option<Hsla>,
pub terminal_ansi_blue: Option<Hsla>,
pub terminal_ansi_magenta: Option<Hsla>,
pub terminal_ansi_cyan: Option<Hsla>,
pub terminal_ansi_white: Option<Hsla>,
}
Fields§
§border: Option<Hsla>
§border_variant: Option<Hsla>
§border_focused: Option<Hsla>
§border_selected: Option<Hsla>
§border_transparent: Option<Hsla>
§border_disabled: Option<Hsla>
§elevated_surface_background: Option<Hsla>
§surface_background: Option<Hsla>
§background: Option<Hsla>
§element_background: Option<Hsla>
§element_hover: Option<Hsla>
§element_active: Option<Hsla>
§element_selected: Option<Hsla>
§element_disabled: Option<Hsla>
§drop_target_background: Option<Hsla>
§ghost_element_background: Option<Hsla>
§ghost_element_hover: Option<Hsla>
§ghost_element_active: Option<Hsla>
§ghost_element_selected: Option<Hsla>
§ghost_element_disabled: Option<Hsla>
§text: Option<Hsla>
§text_muted: Option<Hsla>
§text_placeholder: Option<Hsla>
§text_disabled: Option<Hsla>
§text_accent: Option<Hsla>
§icon: Option<Hsla>
§icon_muted: Option<Hsla>
§icon_disabled: Option<Hsla>
§icon_placeholder: Option<Hsla>
§icon_accent: Option<Hsla>
§status_bar_background: Option<Hsla>
§title_bar_background: Option<Hsla>
§toolbar_background: Option<Hsla>
§tab_bar_background: Option<Hsla>
§tab_inactive_background: Option<Hsla>
§tab_active_background: Option<Hsla>
§editor_background: Option<Hsla>
§editor_gutter_background: Option<Hsla>
§editor_subheader_background: Option<Hsla>
§editor_active_line_background: Option<Hsla>
§editor_highlighted_line_background: Option<Hsla>
§editor_line_number: Option<Hsla>
§editor_active_line_number: Option<Hsla>
§editor_invisible: Option<Hsla>
§editor_wrap_guide: Option<Hsla>
§editor_active_wrap_guide: Option<Hsla>
§editor_document_highlight_read_background: Option<Hsla>
§editor_document_highlight_write_background: Option<Hsla>
§terminal_background: Option<Hsla>
§terminal_ansi_bright_black: Option<Hsla>
§terminal_ansi_bright_red: Option<Hsla>
§terminal_ansi_bright_green: Option<Hsla>
§terminal_ansi_bright_yellow: Option<Hsla>
§terminal_ansi_bright_blue: Option<Hsla>
§terminal_ansi_bright_magenta: Option<Hsla>
§terminal_ansi_bright_cyan: Option<Hsla>
§terminal_ansi_bright_white: Option<Hsla>
§terminal_ansi_black: Option<Hsla>
§terminal_ansi_red: Option<Hsla>
§terminal_ansi_green: Option<Hsla>
§terminal_ansi_yellow: Option<Hsla>
§terminal_ansi_blue: Option<Hsla>
§terminal_ansi_magenta: Option<Hsla>
§terminal_ansi_cyan: Option<Hsla>
§terminal_ansi_white: Option<Hsla>
Implementations§
Trait Implementations§
source§impl Clone for ThemeColorsRefinement
impl Clone for ThemeColorsRefinement
source§fn clone(&self) -> ThemeColorsRefinement
fn clone(&self) -> ThemeColorsRefinement
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl<'de> Deserialize<'de> for ThemeColorsRefinement
impl<'de> Deserialize<'de> for ThemeColorsRefinement
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl From<ThemeColorsRefinement> for ThemeColorswhere
Option<Hsla>: Clone,
impl From<ThemeColorsRefinement> for ThemeColorswhere Option<Hsla>: Clone,
source§fn from(value: ThemeColorsRefinement) -> Self
fn from(value: ThemeColorsRefinement) -> Self
Converts to this type from the input type.
source§impl Refineable for ThemeColorsRefinementwhere
Option<Hsla>: Clone,
impl Refineable for ThemeColorsRefinementwhere Option<Hsla>: Clone,
type Refinement = ThemeColorsRefinement
fn refine(&mut self, refinement: &Self::Refinement)
fn refined(self, refinement: Self::Refinement) -> Self
fn from_cascade(cascade: &Cascade<Self>) -> Selfwhere Self: Default + Sized,
Auto Trait Implementations§
impl RefUnwindSafe for ThemeColorsRefinement
impl Send for ThemeColorsRefinement
impl Sync for ThemeColorsRefinement
impl Unpin for ThemeColorsRefinement
impl UnwindSafe for ThemeColorsRefinement
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more