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

Color used for the application background.

Color used for View shadows.

Color used for View backgrounds.

Primary color used for the text.

Secondary color used for the text.

Tertiary color used for the text.

Primary color used for title text.

Secondary color used for title text.

Color used for highlighting text.

Color used for highlighting inactive text.

Trait Implementations

impl Copy for Palette
[src]

impl Clone for Palette
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for Palette
[src]

[src]

Formats the value using the given formatter.