Themes
Every Theme returns a fully configured ProgressStyle.
| Theme | Description | 50% Preview | Code |
|---|---|---|---|
| Default | Portable ASCII | [###############>--------------] | Theme::Default.style() |
| Unicode | Heavy line style | [━━━━━━━━━━━━━━━╸░░░░░░░░░░░░░░] | Theme::Unicode.style() |
| Braille | Dense braille feel | [⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣷⣦⣦⣦⣦] | Theme::Braille.style() |
| Block | Full block style | [███████████████▉▒▒▒▒▒▒▒▒▒▒▒▒▒▒] | Theme::Block.style() |
| Minimal | No box | =============== >.............. | Theme::Minimal.style() |
| Colorful | Bright colored output | [###############>--------------] | Theme::Colorful.style() |
| Gradient | Shaded blocks | [███████████████▓░░░░░░░░░░░░░░] | Theme::Gradient.style() |
| Retro | Classic equals arrow | [=============== >-------------] | Theme::Retro.style() |
| Dots | Dot progress | [•••••••••••••••∘ ] | Theme::Dots.style() |
| Rounded | Round markers | [●●●●●●●●●●●●●●●○──────────────] | Theme::Rounded.style() |
| Shaded | Small square shading | [▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▫ ] | Theme::Shaded.style() |
| Arrows | Directional fill | [>>>>>>>>>>>>>>>--------------] | Theme::Arrows.style() |
#![allow(unused)] fn main() { use loaders::{ProgressBar, Theme}; let pb = ProgressBar::new(100); pb.set_style(Theme::Block.style()); }