logo
pub trait StyleSheet {
    fn active(&self) -> Style;
    fn focused(&self) -> Style;
    fn placeholder_color(&self) -> Color;
    fn value_color(&self) -> Color;
    fn selection_color(&self) -> Color;

    fn hovered(&self) -> Style { ... }
}
Expand description

A set of rules that dictate the style of a text input.

Required Methods

Produces the style of an active text input.

Produces the style of a focused text input.

Provided Methods

Produces the style of an hovered text input.

Implementors