pub struct LiquidColors {Show 20 fields
pub is_dark: bool,
pub label: Color,
pub secondary_label: Color,
pub tertiary_label: Color,
pub separator: Color,
pub fill: Color,
pub secondary_fill: Color,
pub surface_glass: Color,
pub background: Color,
pub surface: Color,
pub surface_pressed: Color,
pub accent: Color,
pub on_accent: Color,
pub destructive: Color,
pub success: Color,
pub toggle_on: Color,
pub toggle_off: Color,
pub warning: Color,
pub glass_tint: Color,
pub glass_stroke: Color,
}Expand description
Semantic color palette mirroring the iOS system palette.
Fields§
§is_dark: boolTrue when this is the dark palette (drives glass exposure/tints).
label: ColorPrimary text.
secondary_label: ColorSecondary text (subtitles, captions).
tertiary_label: ColorTertiary text (placeholders, disabled).
separator: ColorHairline separators.
fill: ColorFilled control track (chips, search fields).
secondary_fill: ColorLighter fill for nested controls.
surface_glass: ColorResting tint of a glass surface pane (cards, planks): the surface role at pane translucency, so the backdrop transmits through it.
background: ColorWindow background (grouped style).
surface: ColorElevated surface (cards, list sections).
surface_pressed: ColorPressed surface wash.
accent: ColorAccent (interactive) color.
on_accent: ColorContent on accent fills.
destructive: ColorDestructive action color.
success: ColorSuccess color.
toggle_on: ColorActive switch track.
toggle_off: ColorInactive switch track.
warning: ColorWarning color.
glass_tint: ColorTint mixed over glass materials.
glass_stroke: ColorHairline stroke drawn around glass shapes.
Implementations§
Trait Implementations§
Source§impl Clone for LiquidColors
impl Clone for LiquidColors
Source§fn clone(&self) -> LiquidColors
fn clone(&self) -> LiquidColors
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more