Skip to content

Ready for Initial Release

Compare
Choose a tag to compare
@mirisuzanne mirisuzanne released this 27 Apr 23:20
· 23 commits to master since this release

v0.2.0 - 2020.05.27

  • 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, or deg)
  • NEW: lab($lab, $a) returns an (sRGB) Sass color
  • NEW: Inspect LCH/Lab values of a Sass color with
    • lightness()
    • a() and b()
    • chroma() and hue()
  • NEW: contrast() selects the best contrast from a list
  • NEW: Generate new colors based on relative LCH & Lab adjustments:
    • set() to replace a channel value
    • adjust() to add or subtract from a channel
    • scale() 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