Releases: regorxxx/chroma.js
Releases · regorxxx/chroma.js
v2.7.0 - ColorBrewer palettes and logos
2.7.0
- added chroma.brewer.getPalettes() to retrieve all available palettes (keys). ColorBrewer schemes (scales) are divided into palettes according to their type.
- added chroma.brewer.getPalette(palette) to retrieve all schemes from an specific palette (for ex. 'Qualitative')
- added 'Diverging','Qualitative', and 'Sequential' scales to chroma.brewer and chroma.scale(), which will automatically retrieve a single random scale from the given palette. For ex. chroma.scale('Sequential') -> chroma.scale('OrRd')
- chroma.brewer object can no longer be modified in any way (or its scales). Make a copy of it if required
- replace deprecated .substr usage.
- fixed 'npm run docs-preview' CMD command
- minor improvements to documentation
- added favicons to documentation
v2.6.1 - Fixed all vulnerabilities and dependencies
2.6.1
- updated dependencies to fix all known vulnerabilities. Docs have been patched to use updated dependencies
v2.6.0 - Updated tests and bezier interpolation with alpha
2.6.0
- added alpha functionality to bezier interpolation (n-degree compatibility)
- added tests for alpha bezier interpolation
- updated dependencies
- updated docs with Android colors
- updated docs linking to new github page
v2.5.0 - Android colors support
2.5.0
- forked from 2.4.2 (no documented on changelog).
- Added full Android colors compatibility. color.android(mode='rgb'). By default alpha is scrapped (like color.num()), set mode to 'rgba' to use alpha.
- Added tests for Android colors compatibility.
- Fix tests for docs when using both \n or \r\n line feeds.