I've seen that when I try to insert a value to style.color a function called parseColor not allow to use values with var function like var(--customVar).
One solution is add another regEx in parser.valueType to return a color type but maybe there is a more transversal solution wich is being implementig to support this kind of values in all properties.
This is indeed a big issue as vars are becoming more common in modern CSS. Please let's address it quickly, there is already a PR that fixes it linked above.
This would also address the second part of the #89
Hi,
I've seen that when I try to insert a value to style.color a function called parseColor not allow to use values with var function like var(--customVar).
One solution is add another regEx in parser.valueType to return a color type but maybe there is a more transversal solution wich is being implementig to support this kind of values in all properties.
Thank you for your help