Removed white background from SVG assets

Two images contained a white background that was limiting their
use over other background colours.

Change-Id: Ic61e0d223ed927968344b132dbe67952c80bbe28
This commit is contained in:
Pau Giner 2014-04-10 11:55:27 +02:00
parent 642eb25e3b
commit 808b6cb848
2 changed files with 90 additions and 12 deletions

View file

@ -1 +1,49 @@
<?xml version="1.0" encoding="UTF-8"?><svg xmlns="http://www.w3.org/2000/svg" width="80" height="80" viewBox="0 0 80 80"><linearGradient id="a" gradientUnits="userSpaceOnUse" x1="326" y1="-301.074" x2="326" y2="-329.776" gradientTransform="matrix(1 0 0 -1 -286 -294)"><stop offset="0" stop-color="#fff" stop-opacity=".95"/><stop offset=".787" stop-color="#fff"/></linearGradient><path fill="url(#a)" d="M0 0h80v80h-80z"/><path fill="#929497" d="M61.615 10.966c-2.91-2.913-6.309-5.171-10.109-6.716-11.435-4.632-24.46-1.979-33.178 6.728-5.783 5.792-8.975 13.166-8.975 20.791 0 7.613 3.19 14.995 8.975 20.781l3.182 3.153c6.386 6.31 11.893 11.758 16.618 19.331l1.838 2.966 1.85-2.966c4.725-7.573 10.232-13.021 16.607-19.324l3.191-3.17c12.044-12.044 12.044-29.529.001-41.574zm-12.138 31.675c-5.25 5.258-13.76 5.258-19.011 0-5.249-5.24-5.249-13.75 0-19 5.251-5.24 13.761-5.24 19.011 0 5.238 5.25 5.238 13.758 0 19z"/></svg> <?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
version="1.1"
width="80"
height="80"
viewBox="0 0 80 80"
id="svg2">
<metadata
id="metadata17">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title></dc:title>
</cc:Work>
</rdf:RDF>
</metadata>
<defs
id="defs15" />
<linearGradient
x1="326"
y1="-301.07401"
x2="326"
y2="-329.776"
id="a"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(1,0,0,-1,-286,-294)">
<stop
id="stop5"
style="stop-color:#ffffff;stop-opacity:0.94999999"
offset="0" />
<stop
id="stop7"
style="stop-color:#ffffff;stop-opacity:1"
offset="0.787" />
</linearGradient>
<path
d="M 61.615,10.966 C 58.705,8.053 55.306,5.795 51.506,4.25 40.071,-0.382 27.046,2.271 18.328,10.978 12.545,16.77 9.353,24.144 9.353,31.769 c 0,7.613 3.19,14.995 8.975,20.781 l 3.182,3.153 c 6.386,6.31 11.893,11.758 16.618,19.331 L 39.966,78 41.816,75.034 C 46.541,67.461 52.048,62.013 58.423,55.71 l 3.191,-3.17 C 73.658,40.496 73.658,23.011 61.615,10.966 z M 49.477,42.641 c -5.25,5.258 -13.76,5.258 -19.011,0 -5.249,-5.24 -5.249,-13.75 0,-19 5.251,-5.24 13.761,-5.24 19.011,0 5.238,5.25 5.238,13.758 0,19 z"
id="path11"
style="fill:#929497" />
</svg>

Before

Width:  |  Height:  |  Size: 917 B

After

Width:  |  Height:  |  Size: 1.6 KiB

View file

@ -1,14 +1,44 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Generator: Adobe Illustrator 16.0.4, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="80px" height="80px" viewBox="0 0 80 80" enable-background="new 0 0 80 80" xml:space="preserve">
<g>
<linearGradient id="SVGID_1_" gradientUnits="userSpaceOnUse" x1="326" y1="-301.0737" x2="326" y2="-329.7758" gradientTransform="matrix(1 0 0 -1 -286 -294)"> <svg
<stop offset="0" style="stop-color:#FFFFFF;stop-opacity:0.95"/> xmlns:dc="http://purl.org/dc/elements/1.1/"
<stop offset="0.7874" style="stop-color:#FFFFFF"/> xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
version="1.1"
width="80"
height="80"
viewBox="0 0 80 80"
id="Layer_1"
xml:space="preserve"><metadata
id="metadata18"><rdf:RDF><cc:Work
rdf:about=""><dc:format>image/svg+xml</dc:format><dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" /><dc:title></dc:title></cc:Work></rdf:RDF></metadata><defs
id="defs16">
<linearGradient
x1="326"
y1="-301.0737"
x2="326"
y2="-329.77579"
id="SVGID_1_"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(1,0,0,-1,-286,-294)">
<stop
id="stop6"
style="stop-color:#ffffff;stop-opacity:0.94999999"
offset="0" />
<stop
id="stop8"
style="stop-color:#ffffff;stop-opacity:1"
offset="0.78740001" />
</linearGradient> </linearGradient>
<rect fill="url(#SVGID_1_)" width="80" height="80"/>
<path fill="#929497" d="M67.171,46.794l3.663-3.662c0.101-0.083,0.189-0.184,0.284-0.278l0.053-0.056 c0.189-0.19,0.354-0.408,0.48-0.639c0.888-1.259,1.354-2.717,1.354-4.258V14.47c0-1.991-0.778-3.874-2.191-5.288 c-1.409-1.401-3.286-2.183-5.284-2.183H42.104c-1.661,0-3.229,0.537-4.552,1.562c-0.062,0.04-0.12,0.092-0.179,0.138 C37.013,9,36.684,9.316,36.397,9.66l-2.885,2.882c-0.251,0.206-0.477,0.399-0.685,0.604l-11.587,11.6L10.974,35.01l-2.497,2.498 c-1.979,1.975-1.979,5.183,0,7.151l2.497,2.505l21.854,21.854l2.501,2.498c1.979,1.978,5.182,1.978,7.153,0l2.505-2.498 l10.262-10.271L66.84,47.164C66.954,47.054,67.055,46.94,67.171,46.794z M60.468,19.535c3.744,3.744,3.738,9.784,0,13.515 c-3.729,3.74-9.78,3.74-13.518,0c-3.727-3.729-3.734-9.785,0-13.515C50.68,15.803,56.746,15.803,60.468,19.535z"/>
</g> </defs>
<path
d="m 67.171,46.794 3.663,-3.662 c 0.101,-0.083 0.189,-0.184 0.284,-0.278 l 0.053,-0.056 c 0.189,-0.19 0.354,-0.408 0.48,-0.639 0.888,-1.259 1.354,-2.717 1.354,-4.258 V 14.47 c 0,-1.991 -0.778,-3.874 -2.191,-5.288 C 69.405,7.781 67.528,6.999 65.53,6.999 H 42.104 c -1.661,0 -3.229,0.537 -4.552,1.562 -0.062,0.04 -0.12,0.092 -0.179,0.138 C 37.013,9 36.684,9.316 36.397,9.66 l -2.885,2.882 c -0.251,0.206 -0.477,0.399 -0.685,0.604 L 21.24,24.746 10.974,35.01 8.477,37.508 c -1.979,1.975 -1.979,5.183 0,7.151 l 2.497,2.505 21.854,21.854 2.501,2.498 c 1.979,1.978 5.182,1.978 7.153,0 L 44.987,69.018 55.249,58.747 66.84,47.164 c 0.114,-0.11 0.215,-0.224 0.331,-0.37 z M 60.468,19.535 c 3.744,3.744 3.738,9.784 0,13.515 -3.729,3.74 -9.78,3.74 -13.518,0 -3.727,-3.729 -3.734,-9.785 0,-13.515 3.73,-3.732 9.796,-3.732 13.518,0 z"
id="path12"
style="fill:#929497" />
</svg> </svg>

Before

Width:  |  Height:  |  Size: 1.6 KiB

After

Width:  |  Height:  |  Size: 1.9 KiB