Skip to content

Commit 923de05

Browse files
committed
Fix color parsing
1 parent 3732344 commit 923de05

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/color.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ module.exports = class Color {
1818
if (Array.isArray(value)) {
1919
return null;
2020
}
21-
value = value.toRGBAString();
21+
value = Object.values(value);
2222
break;
2323
default:
2424
return null;

0 commit comments

Comments
 (0)