FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    AccentColorShades

    struct · ferroui-base · v0.5.0

    struct AccentColorShades
    

    The six shades of the accent color that a system computes from it: three darker and three lighter ones, as Windows reports them (UIColorType::AccentDark3 to AccentLight3 of UISettings).

    A FerroUI addition: platforms that compute no shades report none, and a theme computes its own from the accent color.

    View source

    Members

    dark1

    dark1: crate::media::Color
    

    The first darker shade.

    Source

    dark2

    dark2: crate::media::Color
    

    The second darker shade.

    Source

    dark3

    dark3: crate::media::Color
    

    The darkest shade.

    Source

    light1

    light1: crate::media::Color
    

    The first lighter shade.

    Source

    light2

    light2: crate::media::Color
    

    The second lighter shade.

    Source

    light3

    light3: crate::media::Color
    

    The lightest shade.

    Source

    Trait implementations

    • Send
    • Sync
    • Freeze
    • UnsafeUnpin
    • Unpin
    • UnwindSafe
    • RefUnwindSafe
    • ResourceKeyObject
    • PropertyValue
    • AnyValue
    • ClassDefaults
    • Borrow<T>
    • BorrowMut<T>
    • CloneToUninit
    • Into<U>
    • From<T>
    • TryInto<U>
    • TryFrom<U>
    • Any
    • ToOwned
    • ErasedDestructor
    • IntoEither
    • Clone
    • Copy
    • Debug
    • StructuralPartialEq
    • PartialEq
    • Eq
    • Hash

    Availability

    Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.