Struct cursive::theme::ColorStyle [] [src]

pub struct ColorStyle {
    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,
}

Represents the colors the application will use in various situations.

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 Debug for ColorStyle
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

impl Clone for ColorStyle
[src]

fn clone(&self) -> ColorStyle

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