kolorz 0.6.0

A silly little library for printing kolored text to the terminal
Documentation

❖ Information

kolorz is a silly little library for printing kolored text to the terminal


❖ Installation

Add kolorz to your project's Cargo.toml:

[dependencies]
kolorz = "0.6.0"

❖ Basic Usage

// print kolored text
use kolorz::Kolor;

fn main() {
    let mocha = Kolor::new("catppuccin mocha");
    println!("{}", mocha.red("This is red"));
}
// get an array of all available kolorschemes
use kolorz::Kolor;

fn main() {
    let kolorschemes = Kolor::get_all_kolorschemes();
}

❖ The following kolorschemes are available:

  • catppuccin latte
  • catppuccin frappe
  • catppuccin macchiato
  • catppuccin mocha
  • dracula
  • nord
  • gruvbox dark
  • gruvbox light
  • onedark
  • tokyonight
  • ayu
  • palenight
  • gogh
  • biscuit dark
  • biscuit light

❖ The following kolors are available on all of the kolorschemes:

  • red
  • purple
  • blue
  • orange
  • yellow
  • text (usually white on dark kolorschemes)

❖ What's New?

0.6.0 - Added Gruvbox Light, Biscuit Dark, Biscuit Light