- 🏠 INTERNAL: Remove documentation from npm package
- 🏠 INTERNAL: Upgrade dependencies
- Correction to the sRGB to XYZ to sRGB matrices, improve round-tripping (based on CSSWG update)
- Update to use
math.div()
in place of slash as division
- Documentation cleanup
- Upgraded dev dependencies
- Updated license to The Hippocratic License 2.1
- Documentation cleanup
- BREAKING: Moved project to oddbird/blend on GitHub, and @oddbird/blend on NPM.
- BREAKING: Remove over-complicated settings & output options for now. Focus on practical Sass conversion to and from CIE functions.
- NEW:
lch()
hue channel accepts any angle unit (e.g.turn
,rad
,grad
, ordeg
) - NEW:
lab($lab, $a)
returns an (sRGB) Sass color - NEW: Inspect LCH/Lab values of a Sass color with
lightness()
a()
andb()
chroma()
andhue()
- NEW:
contrast()
selects the best contrast from a list - NEW: Generate new colors based on relative LCH & Lab adjustments:
set()
to replace a channel valueadjust()
to add or subtract from a channelscale()
to scale fluidly towards one "end" of the channel range
- NEW:
from()
converts a Sass color to LCH in order to adjust CIE lightness, chroma, and hue -- using a syntax roughly based on CSS Colors Level 5 relative syntax
- NEW:
lch($lch, $a)
returns an (sRGB) Sass color - Various other now-removed things… ¯\_(ツ)_/¯ that's what pre-releases are for