Styling & Custom Appearance
Examples of custom borders, themes, and visual styling.
Files
- custom_border_form.toml - Custom border definitions
- fancy_borders_form.toml - Advanced border styling
Usage
CLI Backend
cargo run --example custom_border_form
cargo run --example fancy_borders_form
Web Backend
cargo run -p typedialog-web -- --config custom_border_form.toml
Features Demonstrated
- Custom border styles
- Section separators
- Visual hierarchy
- Theme customization
- Character-based borders (for CLI)
Border Options
Borders can use:
simple- Basic ASCII bordersdouble- Double-line bordersrounded- Rounded cornersthick- Thick lines- Custom border characters
Example:
[sections.main]
title = "Main Section"
border = "double"