Skip to content

Commit 00524d8

Browse files
committed
Update colorjs.io
1 parent c19bf85 commit 00524d8

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

lib/src/value/color.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -882,9 +882,7 @@ export class SassColor extends Value {
882882
const color = this.color.mix(color2.color, 1 - weight, {
883883
space: encodeSpaceForColorJs(this.space),
884884
hue: hueInterpolationMethod,
885-
// @TODO Waiting on new release of ColorJS to fix option types.
886-
// Fixed in: https://github.com/LeaVerou/color.js/pull/347
887-
} as any);
885+
});
888886
const coords = decodeCoordsFromColorJs(color.coords, this.space === 'rgb');
889887
return new SassColor({
890888
space: this.space,

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
5656
"dependencies": {
5757
"@bufbuild/protobuf": "^1.0.0",
5858
"buffer-builder": "^0.2.0",
59-
"colorjs.io": "^0.4.5",
59+
"colorjs.io": "^0.5.0",
6060
"immutable": "^4.0.0",
6161
"rxjs": "^7.4.0",
6262
"supports-color": "^8.1.1",

0 commit comments

Comments
 (0)