Skip to content

Latest commit

 

History

History
44 lines (34 loc) · 868 Bytes

README.md

File metadata and controls

44 lines (34 loc) · 868 Bytes

Chromatic

Beautiful, expressive and composable color and text formatting for CLI in Gleam.

Package Version Hex Docs

Usage

gleam add chromatic

The best way to use this is through Gleam's pipelines.

Check it out!

import chromatic.{bold, italic, magenta, rainbow}

pub fn main() {
 io.println(
    "Hello "
    <> "Gleam"
    |> magenta
    |> italic
    |> bold
    <> ", this is "
    <> "Chromatic"
    |> rainbow
    |> bold,
  )
}

Further documentation can be found at https://hexdocs.pm/chromatic.

A whole bunch of new features are coming soon!

Development

gleam run   # Run the project
gleam test  # Run the tests
gleam shell # Run an Erlang shell