Type Alias style::values::specified::ui::ScrollbarColor

source ·
pub type ScrollbarColor = ScrollbarColor<Color>;
Expand description

A specified value for scrollbar-color property

Aliased Type§

enum ScrollbarColor {
    Auto,
    Colors {
        thumb: Color,
        track: Color,
    },
}

Variants§

§

Auto

auto

§

Colors

<color>{2}

Fields

§thumb: Color

First <color>, for color of the scrollbar thumb.

§track: Color

Second <color>, for color of the scrollbar track.

Trait Implementations§

source§

impl Parse for ScrollbarColor

source§

fn parse<'i, 't>( context: &ParserContext<'_>, input: &mut Parser<'i, 't>, ) -> Result<Self, ParseError<'i>>

Parse a value of this type. Read more