Expand description
Design tokens and the built-in light and dark themes.
Every component resolves its colours through Tokens::of, so any
iced::Theme works. light and dark are tuned for the library,
and Config builds a theme with your own colours on top of either.
Modules§
- radius
- Corner radii in logical pixels.
- space
- Spacing scale in logical pixels.
- text_
size - Text sizes in logical pixels.
Structs§
- Config
- Builds a
Themefrom your own colours, starting from the light or dark defaults. Text on coloured surfaces, such as a primary button’s label, is picked automatically withon. - Tokens
- Semantic colours resolved from a theme.