github sharkdp/pastel v0.7.0

latest releases: v0.9.0, v0.8.1, v0.8.0...
4 years ago

Changes

  • Breaking: the existing ansi-8bit and ansi-24bit formats have been changed to
    print out an escaped ANSI sequence that a user can see in the terminal output.
    The previously existing formats are now available as ansi-8bit-escapecode and
    ansi-24bit-escapecode. See #113 and #111.

Features

  • All CSS color formats are now supported (see #12)
  • Added support for multiple color stops for gradients (pastel gradient red blue yellow), see #49 (@felipe-fg)
  • Added -f/--force-color flag as an alias for --mode=24bit, see #48 (@samueldple)
  • Added --color-picker <cmd> to allow users to choose the colorpicker, see #96 (@d-dorazio)
  • Added input support for CIELAB, see #3/#101 (@musikid)
  • Added support for rgb(255 0 119), rgb(100%,0%,46.7%), gray(20%), and many more new CSS syntaxes, see #103 (@musikid)
  • Faster and more flexible color parser, adding even more CSS color formats, see #105 (@halfbro)

pastel library changes

  • distinct_colors is now available in the pastel::distinct module, see #95 (@rivy)

Bugfixes

  • Added support for non-color consoles (Windows 7), see #91 (@rivy)

Other

Don't miss a new pastel release

NewReleases is sending notifications on new releases.