Skip to main content

Module style

Module style 

Source
Expand description

Visual styling primitives.

Colors, themes, borders, padding, margin, constraints, alignment, and text modifiers. Every widget inherits these through Theme automatically.

Structs§

BorderChars
Character set for a specific border style.
BorderSides
Controls which sides of a border are visible.
Constraints
Size constraints for layout computation.
ContainerStyle
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.
ThemeBuilder
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.
ColorDepth
Terminal color depth capability.
Justify
Main-axis content distribution within a container.