Expand description
Theme data model types.
Re-exports§
pub use animated::AnimatedIcon;pub use animated::TransformAnimation;pub use bundled::bundled_icon_by_name;pub use bundled::bundled_icon_svg;pub use defaults::ThemeDefaults;pub use dialog_order::DialogButtonOrder;pub use font::FontSpec;pub use font::ResolvedFontSpec;pub use font::TextScale;pub use font::TextScaleEntry;pub use icon_sizes::IconSizes;pub use icons::IconData;pub use icons::IconProvider;pub use icons::IconRole;pub use icons::IconSet;pub use icons::icon_name;pub use icons::system_icon_set;pub use icons::system_icon_theme;pub use resolved::ResolvedIconSizes;pub use resolved::ResolvedTextScale;pub use resolved::ResolvedTextScaleEntry;pub use resolved::ResolvedThemeDefaults;pub use resolved::ResolvedThemeSpacing;pub use resolved::ResolvedThemeVariant;pub use spacing::ThemeSpacing;pub use widgets::*;
Modules§
- animated
- Animated icon types (frame sequences and transforms).
- bundled
- Bundled SVG icon lookup tables.
- defaults
- Global theme defaults shared across widgets.
- dialog_
order - Dialog button ordering convention.
- font
- Per-widget font specification and text scale.
- icon_
sizes - Per-context icon sizes.
- icons
- Icon roles, sets, and provider trait.
- resolved
- Resolved (non-optional) theme types produced after resolution.
- spacing
- Logical spacing scale (xxs through xxl).
- widgets
- Per-widget struct pairs and macros.
Structs§
- Theme
Spec - A complete native theme with a name and optional light/dark variants.
- Theme
Variant - A single light or dark theme variant containing all visual properties.