kolorz is a silly little library for printing colored text to the terminal
Add kolorz to your project's Cargo.toml
:
toml
[dependencies]
kolorz = "0.2.0"
```rust // print colored text use kolorz::get_colorscheme;
fn main() { let mocha = get_colorscheme("catppuccin mocha"); println!("{}", mocha.red("This is red")); } ```
```rust // get an array of all available colorschemes use kolorz::getallcolorschemes;
fn main() { let colorschemes = getallcolorschemes(); } ```
0.2.0 - Added a helper function to get an array of all colorschemes