Changes
- Breaking: the existing
ansi-8bit
andansi-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 asansi-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
Bugfixes
Other
- pastel is now available via Nix, see #100 (@davidtwco)