Type Alias Theme

Source
pub type Theme = CompiledTheme;

Aliased Type§

pub struct Theme {
    pub name: String,
    pub styles: HashMap<Component, Style>,
    pub background_color: Option<Color>,
    pub syntax_theme: Option<Theme>,
}

Fields§

§name: String§styles: HashMap<Component, Style>§background_color: Option<Color>§syntax_theme: Option<Theme>

Implementations§

Source§

impl Theme

Source

pub fn message_spacing(&self) -> u16

Number of blank lines between chat messages