ietf-tools / svgcheck

Check SVG against RFC schema
BSD 3-Clause "New" or "Revised" License
16 stars 13 forks source link

Only black and white as colors? #41

Closed ValdemarOtte closed 9 months ago

ValdemarOtte commented 9 months ago

I have a SVG file with multiple different colors. After running svgcheck on the file I get the error:

path\to\file.svg:21921: The attribute 'color' does not allow the value '#00ffff', replaced with 'black'

Is it possible to keep the original color? Or can svgcheck only accept the values for black and white?

kesara commented 9 months ago

@ValdemarOtte svgcheck conforms with draft-7996-bis-00, so only black & white are allowed.

ValdemarOtte commented 9 months ago

Thanks for the fast reply!