validateColors
external fun validateColors(svg: SVG, expectMonotone: Boolean, options: ParseColorsOptions? = definedExternally): FindColorsResult
Validate colors in an SVG. Throws on error.
none, transparent and url() are always allowed. When expectMonotone is true only currentColor is allowed for actual colors; when false only palette colors (rgb, hsl, etc.) are allowed, and currentColor is rejected. Other color types always throw.
Returns the same result as parseColors.