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.
Members
dark1
dark1: crate::media::Color
The first darker shade.
dark2
dark2: crate::media::Color
The second darker shade.
dark3
dark3: crate::media::Color
The darkest shade.
light1
light1: crate::media::Color
The first lighter shade.
light2
light2: crate::media::Color
The second lighter shade.
light3
light3: crate::media::Color
The lightest shade.
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeResourceKeyObjectPropertyValueAnyValueClassDefaultsBorrow<T>BorrowMut<T>CloneToUninitInto<U>From<T>TryInto<U>TryFrom<U>AnyToOwnedErasedDestructorIntoEitherCloneCopyDebugStructuralPartialEqPartialEqEqHash
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.