- From: Jeff Schiller <codedread@gmail.com>
- Date: Mon, 16 Mar 2009 08:15:27 -0500
- To: Stéphane Daviet <stephane.daviet@gmail.com>
- Cc: www-svg@w3.org, Chris Lilley <chris@w3.org>, Doug Schepers <schepers@w3.org>
On 3/16/09, Stéphane Daviet <stephane.daviet@gmail.com> wrote: > > First, SVG is XML, so it would be great to be able to get some CSS like > mechanisms to simply change the appearance (colors for instance) of a file. > > I would also be great to be able to declare some colors externaly and reuse > them as constants. Paint Servers: http://www.w3.org/TR/SVGTiny12/painting.html#PaintServers file1.svg: <svg ...> <defs> <solidColor id="fooColor" solid-color="#4488aa" /> </defs> </svg> file2.svg: <svg ...> <rect fill="url(file1.svg#fooColor)" ... /> </svg> Regards, Jeff
Received on Monday, 16 March 2009 13:16:06 UTC