watercolor

Crates.iowatercolor
lib.rswatercolor
version0.2.0
sourcesrc
created_at2023-05-31 04:36:25.029432
updated_at2023-11-04 15:56:01.926622
descriptionTerminal ANSI code styling
homepage
repositoryhttps://gitlab.com/wake-sleeper/watercolor
max_upload_size
id878525
size17,835
Eze Anyanwu (eze-works)

documentation

README

Watercolor

Docs

println!(
    "\n\t{}\n\t{}\n\t{}\n\t{}\n\t{}\n\t{}\n\t{}\n\t{}\n\t{}\n\t{}\n\t{}\n\t{}\n\t{}",
    bold("bold"),
    italic("italic"),
    dim("dim"),
    underline("underline"),
    reverse("reverse"),
    strikeout("strikeout"),
    red("red"),
    green("green"),
    on_red("on_red"),
    on_green("on_green"),
    rgb(152, 95, 111, "rgb"),
    on_rgb(152, 95, 111, "on_rgb"),
    bold(italic(underline(black(on_white("all together now"))))),
)

Screenshot of crate output

Commit count: 11

cargo fmt