If you define in the color stop a non-color value, you get the following message:
Uncaught DOMException: CanvasGradient.addColorStop: Invalid color
Because the plugin is leveraging on @kurle/color, I would suggest to check if the color is valid before adding to the gradient, and, if not valid, skips it.
I'm sorry but I didn't find the error before the last version release.
If you define in the color stop a non-color value, you get the following message:
Because the plugin is leveraging on @kurle/color, I would suggest to check if the color is valid before adding to the gradient, and, if not valid, skips it. I'm sorry but I didn't find the error before the last version release.
I'm going to submit a PR to fix it.