Skip to content
This repository was archived by the owner on Jan 27, 2026. It is now read-only.

0.2.0

Choose a tag to compare

@qexat qexat released this 03 Feb 07:35
· 53 commits to main since this release
9b5964d

CHANGES:

Features

  • Add color functions luminance and best_for_contrast. (by @chshersh in #5)
  • Add styling functions fg, bg, bold, dim, italic, underlined. (by @chshersh in #6)
  • Add styling composition with &. (by @chshersh in #6)
  • Add function make_rgb_hex to parse hexadecimal codes into RGB colors. (by @chshersh in #7)

Breaking Changes

  • Color.t and Color.Ground.t are now polymorphic variants. (by @chshersh in #5)

Removed

  • Util.parenthesize_if which is deemed unuseful and is kind of a duplicate of Tree.parenthesize_if in Formatting.