1use traccia::{Color, Colorize, Style};
2
3fn main() {
4 println!(
5 "{}",
6 "This is yellow text on a cyan background!"
7 .color(Color::Yellow)
8 .background(Color::Cyan)
9 );
10
11 println!("{}", "This is bold text!".bold().color(Color::Red));
12 println!("{}", "This is dim text!".dim());
13 println!("{}", "This is italic text!".italic());
14 println!("{}", "This is underlined text!".underline());
15 println!(
16 "{}",
17 "This is a styled message!".bold().italic().underline()
18 );
19 println!("{}", "Blinking text!".blink());
20 println!("{}", "Reversed background!".reverse());
21 println!("{}", "Hidden text!".hidden());
22 println!("{}", "Something wrong.".striketrough());
23
24 println!("{}", "I like cyan".color(Color::BrightCyan));
25}