Skip to content

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

License

Notifications You must be signed in to change notification settings

joshocalico/chromatic

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

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

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages