Type Definition kas_theme::ColorsLinear[][src]

pub type ColorsLinear = Colors<Rgba>;
Expand description

Colors parameterised for graphics usage

Implementations

Adjust a colour depending on state

Get colour of a text area, depending on state

Get colour for navigation highlight region, if any

Get accent colour, adjusted for state

Get soft accent colour, adjusted for state

Get colour for a checkbox mark, depending on state

pub fn menu_entry(&self, state: InputState) -> Option<Rgba>

Get background highlight colour of a menu entry, if any

Get appropriate text colour over the given background

Trait Implementations

Returns the “default value” for a type. Read more

Performs the conversion.