Struct cursive::theme::Palette
[−]
[src]
pub struct Palette { pub background: Color, pub shadow: Color, pub view: Color, pub primary: Color, pub secondary: Color, pub tertiary: Color, pub title_primary: Color, pub title_secondary: Color, pub highlight: Color, pub highlight_inactive: Color, }
Color configuration for the application.
Assign each color role an actual color.
Fields
background: Color
Color used for the application background.
shadow: Color
Color used for View shadows.
view: Color
Color used for View backgrounds.
primary: Color
Primary color used for the text.
secondary: Color
Secondary color used for the text.
tertiary: Color
Tertiary color used for the text.
title_primary: Color
Primary color used for title text.
title_secondary: Color
Secondary color used for title text.
highlight: Color
Color used for highlighting text.
highlight_inactive: Color
Color used for highlighting inactive text.
Trait Implementations
impl Copy for Palette
[src]
impl Clone for Palette
[src]
fn clone(&self) -> Palette
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more