Update dependency chroma-js to v3
This MR contains the following updates:
Package | Type | Update | Change |
---|---|---|---|
chroma-js | dependencies | major | ^2.4.2 -> ^3.0.0 |
Release Notes
gka/chroma.js (chroma-js)
v3.1.2
- fixed a bug in Lch interpolation of hue-less colors
v3.1.1
- fix: allow deep-imports in vite projects
v3.1.0
- 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
v3.0.0
-
🎉 NEW: Add support for modern CSS color spaces. This means you can now export and parse CSS colors inlab()
,lch()
,oklab()
,oklch()
space. -
🎉 NEW: you can now control the standard white reference point for the CIE Lab and CIE Lch color spaces viasetLabWhitePoint
. - 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: you can now use chroma.js both via the default export as well as named exports in ES6.
- fix: switch to W3C implementation of OKLab color space
v2.6.0
-
🎉 NEW: addcolor.shade()
,color.tint()
. - fix: remove false w3c color cornflower
v2.5.0
- refactored code base to ES6 modules
Configuration
-
If you want to rebase/retry this MR, check this box
This MR has been generated by Renovate Bot.
Edited by sys-0403-p-rundeck