Theme

Trait Theme 

Source
pub trait Theme {
Show 29 methods // Required methods fn name(&self) -> &str; fn background(&self) -> Color; fn background_panel(&self) -> Color; fn background_element(&self) -> Color; fn text(&self) -> Color; fn text_muted(&self) -> Color; fn text_secondary(&self) -> Color; fn primary(&self) -> Color; fn secondary(&self) -> Color; fn accent(&self) -> Color; fn success(&self) -> Color; fn warning(&self) -> Color; fn error(&self) -> Color; fn info(&self) -> Color; fn border(&self) -> Color; fn border_active(&self) -> Color; fn border_subtle(&self) -> Color; fn diff_added(&self) -> Color; fn diff_removed(&self) -> Color; fn diff_modified(&self) -> Color; fn diff_context(&self) -> Color; fn syntax_keyword(&self) -> Color; fn syntax_string(&self) -> Color; fn syntax_comment(&self) -> Color; fn syntax_number(&self) -> Color; fn syntax_type(&self) -> Color; fn syntax_function(&self) -> Color; fn syntax_variable(&self) -> Color; fn syntax_operator(&self) -> Color;
}
Expand description

Theme trait for defining color schemes

Required Methods§

Implementors§