@versatiles/style 4.2.7 → 4.2.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -84,8 +84,6 @@ export function recolor(colors, opt) {
84
84
  const hsv = color.hsv().array();
85
85
  // eslint-disable-next-line @typescript-eslint/prefer-destructuring
86
86
  hsv[0] = tintColorHSV[0];
87
- hsv[1] *= tintColorHSV[1];
88
- hsv[2] *= tintColorHSV[2];
89
87
  const rgbNew = Color.hsv(hsv).rgb().array();
90
88
  return Color.rgb(rgb0[0] * (1 - value) + value * rgbNew[0], rgb0[1] * (1 - value) + value * rgbNew[1], rgb0[2] * (1 - value) + value * rgbNew[2], color.alpha());
91
89
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@versatiles/style",
3
- "version": "4.2.7",
3
+ "version": "4.2.8",
4
4
  "description": "Generate StyleJSON for MapLibre",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",