Themes

Every Theme returns a fully configured ProgressStyle.

ThemeDescription50% PreviewCode
DefaultPortable ASCII[###############>--------------]Theme::Default.style()
UnicodeHeavy line style[━━━━━━━━━━━━━━━╸░░░░░░░░░░░░░░]Theme::Unicode.style()
BrailleDense braille feel[⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣷⣦⣦⣦⣦]Theme::Braille.style()
BlockFull block style[███████████████▉▒▒▒▒▒▒▒▒▒▒▒▒▒▒]Theme::Block.style()
MinimalNo box=============== >..............Theme::Minimal.style()
ColorfulBright colored output[###############>--------------]Theme::Colorful.style()
GradientShaded blocks[███████████████▓░░░░░░░░░░░░░░]Theme::Gradient.style()
RetroClassic equals arrow[=============== >-------------]Theme::Retro.style()
DotsDot progress[•••••••••••••••∘ ]Theme::Dots.style()
RoundedRound markers[●●●●●●●●●●●●●●●○──────────────]Theme::Rounded.style()
ShadedSmall square shading[▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▫ ]Theme::Shaded.style()
ArrowsDirectional fill[>>>>>>>>>>>>>>>--------------]Theme::Arrows.style()
#![allow(unused)]
fn main() {
use loaders::{ProgressBar, Theme};

let pb = ProgressBar::new(100);
pb.set_style(Theme::Block.style());
}