Expand description
Liquid theme: semantic colors, the iOS-style type ramp, and glass defaults,
provided to the subtree through composition locals — the analogue of
MaterialTheme.
Structs§
- Liquid
Colors - Semantic color palette mirroring the iOS system palette.
- Liquid
Segmented Style - How a
crate::LiquidSegmentedControllooks.Self::systemis the system control; an app gives its controls another look withProvideLiquidSegmentedStyle. - Liquid
Theme Spec - Theme configuration passed to
LiquidTheme. - Liquid
Typography
Enums§
- Scheme
Mode - Whether the theme follows the OS appearance or is pinned.
Functions§
- Liquid
Theme - Provides the Liquid design system (colors, typography) to
content. - Provide
Liquid Segmented Style - Gives the segmented controls in
contentthe look ofstyle. - liquid_
colors - The active semantic palette (light defaults outside a
LiquidTheme). - liquid_
glass_ tint_ amount - The active navigation surface tint amount, defaulting to 25 percent.
- liquid_
segmented_ style - The look of segmented controls here: the one provided by
ProvideLiquidSegmentedStyle, or the system one. - liquid_
typography - The active type ramp.