6 Commits

Author SHA1 Message Date
Alexander Bruy
e3148219fe clean up SVG files from unnecessary data 2016-12-14 09:20:16 +02:00
Nyall Dawson
9d2fe8f943 Port more svgs to parameters, remove default colors 2016-03-08 10:47:21 +11:00
Nyall Dawson
8cac36433d [FEATURE] Add support for transparency in SVG color params
...and update all bundled SVGs to suit

Non-bundled SVGs must add:

fill-opacity="param(fill-opacity)"
and
stroke-opacity="param(outline-opacity)"

to enable transparency support
2015-12-08 22:45:51 +11:00
Nyall Dawson
06c2190e3d Remove default outline-width param from included SVGs if
default value is non 0

using the monstrosity:
zerowidth='!0'; grep -R -rl -P "\"param\(outline-width\) (?${zerowidth})(.*?)\"" | xargs sed -i -b 's/\(param(outline-width)\)[^"]*"/\1\"/g'

(fix #10908)
2015-10-12 07:49:41 +11:00
Nyall Dawson
66e6f399c4 Remove default fill param from included SVG files if default is #FFF
using:
grep -R -rl \"param\(fill\)[[:space:]]*#FFF\" | xargs sed -i -b 's/\(param(fill)\)\s*#FFF"/\1\"/g'

(refs #10908)
2015-10-12 07:49:41 +11:00
olivierdalang
31a77cd403 SVG : added some backgrounds 2013-04-29 19:53:08 +00:00