Expand description
Visual styling primitives.
Colors, themes, borders, padding, margin, constraints, alignment, and
text modifiers. Every widget inherits these through Theme automatically.
Structs§
- Border
Chars - Character set for a specific border style.
- Border
Sides - Controls which sides of a border are visible.
- Constraints
- Size constraints for layout computation.
- Container
Style - Reusable container style recipe.
- Margin
- Margin outside a container.
- Modifiers
- Text modifier bitflags stored as a
u8. - Padding
- Padding inside a container border.
- Style
- Visual style for a terminal cell (foreground, background, modifiers).
- Theme
- A color theme that flows through all widgets automatically.
- Theme
Builder - Builder for creating custom themes with defaults from
Theme::dark().
Enums§
- Align
- Cross-axis alignment within a container.
- Border
- Border style for containers.
- Breakpoint
- Terminal size breakpoint for responsive layouts.
- Color
- Terminal color.
- Color
Depth - Terminal color depth capability.
- Justify
- Main-axis content distribution within a container.