Expand description
Built-in semantic design tokens.
§Examples
use ailloli_ui_core::style::theme::Theme;
assert_eq!(Theme::dark().spacing().md, 12.0);Built-in dark/orange semantic colors, spacing, typography, radius, and shadows.
Structs§
- Theme
- Semantic color tokens for built-in chrome and controls.
- Theme
Palette - Semantic color tokens for built-in widgets.
- Theme
Radius - Standard radii used by native widgets.
- Theme
Shadows - Standard shadow presets for native boxes.
- Theme
Spacing - Standard spacing scale in logical pixels.
- Theme
Typography - Standard text styles used by native widgets and showcases.
Enums§
- Theme
State - Shared semantic widget states for theme-driven controls.