catppuccin-rs

Catppuccin palette for rust.

Examples

The simple example demonstrates picking specific colours from a palette and printing their hex codes.

shell $ cargo run --example simple

The term example demonstrates iterating over flavours & colours, as well as using the optional ansi feature to paint terminal output.

shell $ cargo run --features ansi --example term

Optional Features

ANSI string painting

Enable the ansi feature to add the Colour::ansi_paint method. Adds ansi_term as a dependency.