Releases: gka/chroma.js
Releases · gka/chroma.js
v3.1.2
v3.1.1
3.1.0
What's Changed
- feat: parse
'transparent'
as black with 0% opacity - resolves #280 - make it easier to access colorbrewer palette names - resolves #314
- docs: explain differences to official colorbrewer scales - resolves #316
- fix: correct parsing of modern css colors with percentage alpha - resolves #297
- fix: css output for hue-less colors in lch() and oklch() - resolves #357
Full Changelog: v3.0.0...v3.1.0
v3.0.0
What's Changed
- 🎉 NEW: Add support for modern CSS color spaces. This means you can now export and parse CSS colors in
lab()
,lch()
,oklab()
,oklch()
space. - 🎉 NEW: you can now control the standard white reference point for the CIE Lab and CIE Lch color spaces via
setLabWhitePoint
. - Breaking:
color.css()
will no longer return legacy CSS colors likergb(255, 255, 0)
but use modern CSS colors likergb(255 255 0)
instead. - fix: switch to W3C implementation of OKLab color space
- Bump follow-redirects from 1.14.7 to 1.15.6 by @dependabot in #338
- Bump @babel/traverse from 7.16.10 to 7.25.2 by @dependabot in #339
- chore: remove invalid file by @zyyv in #340
- docs: fix dead links by @zyyv in #345
- fix: not
round
forhsl2rgb
by @zyyv in #344 - pref: optimize test by @zyyv in #341
- fix: repair non-default imports by @gka in #348
Full Changelog: v2.6.0...v3.0.0
v2.6.0
What's Changed
- 🎉 NEW: color.tint + color.shade (thanks to @tremby in #246)
- fix: remove false w3c color cornflower (thanks to @friedPotat0 in #298)
- docs: replace website with archive by @Artoria2e5 in #264
Full Changelog: v2.5.0...v2.6.0
v2.5.0
What's Changed
- 🎉 Big code refactoring to ES modules plus dependency and build setup updates by @gka & @zyyv in #336
- Update 404 links in readme.md by @rdela in #326
- Update readme.md by @JiatLn in https://github.com/gka/chroma.js/pull/307a.js/pull/336
New Contributors
- @zyyv made their first contribution in #336
- @rdela made their first contribution in #326
- @JiatLn made their first contribution in #307
Full Changelog: v2.3.0...v2.5.0
v2.4.0
- add support for Oklab and Oklch color spaces
v2.3.0
v2.2.0
chroma 1.3.5
- added LRGB interpolation