Fix firefox icon

* Round viewbox to be exact integer 48px;
* Center and scale content down to 47.5px height to prevent slight
  clipping at the bottom;
* Remove unused gradient descriptors;
* Clean up XML from unnecessary Inkscape metadata.
This commit is contained in:
ivan tkachenko 2021-07-15 10:32:36 +03:00
parent 7a29005742
commit 9b682d7b5c
No known key found for this signature in database
GPG Key ID: 4D197017E61437CF
1 changed files with 14 additions and 182 deletions

View File

@ -1,183 +1,15 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<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"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
version="1.1"
id="svg815"
width="48"
height="48"
viewBox="0 0 48.000003 47.999999"
sodipodi:docname="firefox.svg"
inkscape:version="0.92.4 (unknown)">
<metadata
id="metadata821">
<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="defs819">
<linearGradient
id="linearGradient1026">
<stop
style="stop-color:#000000;stop-opacity:1;"
offset="0"
id="stop1022" />
<stop
style="stop-color:#000000;stop-opacity:0;"
offset="1"
id="stop1024" />
</linearGradient>
<linearGradient
id="linearGradient1018">
<stop
id="stop1030"
offset="0"
style="stop-color:#d300b3;stop-opacity:1;" />
<stop
style="stop-color:#ffce17;stop-opacity:1;"
offset="1"
id="stop1016" />
</linearGradient>
<linearGradient
id="linearGradient984">
<stop
style="stop-color:#ce1269;stop-opacity:1;"
offset="0"
id="stop980" />
<stop
style="stop-color:#ce1269;stop-opacity:0;"
offset="1"
id="stop982" />
</linearGradient>
<linearGradient
id="linearGradient850">
<stop
style="stop-color:#df20e8;stop-opacity:1;"
offset="0"
id="stop846" />
<stop
style="stop-color:#00ffff;stop-opacity:1;"
offset="1"
id="stop848" />
</linearGradient>
<linearGradient
id="linearGradient4578">
<stop
id="stop4584"
offset="0"
style="stop-color:#fbda39;stop-opacity:1;" />
<stop
style="stop-color:#fbda39;stop-opacity:1;"
offset="0.5"
id="stop990" />
<stop
id="stop4586"
offset="1"
style="stop-color:#fbda39;stop-opacity:1;" />
</linearGradient>
<radialGradient
inkscape:collect="always"
xlink:href="#radial-gradient-6"
id="radialGradient830"
cx="24"
cy="24"
fx="24"
fy="24"
r="23.66309"
gradientTransform="matrix(0.99999999,0,0,1.0142378,-0.33689251,0.22718569)"
gradientUnits="userSpaceOnUse" />
<radialGradient
id="radial-gradient-6"
cx="750.18903"
cy="396.04099"
fx="778.1665"
fy="382.2124"
r="782.17999"
gradientUnits="userSpaceOnUse"
fr="0"
spreadMethod="pad">
<stop
offset="0.156"
stop-color="#ffea00"
id="stop74" />
<stop
offset="0.231"
stop-color="#ffde00"
id="stop76" />
<stop
offset="0.365"
stop-color="#ffbf00"
id="stop78" />
<stop
offset="0.541"
stop-color="#ff8e00"
id="stop80" />
<stop
offset="0.763"
stop-color="#ff272d"
id="stop82" />
<stop
offset="0.796"
stop-color="#f92433"
id="stop84" />
<stop
offset="0.841"
stop-color="#e91c45"
id="stop86" />
<stop
offset="0.893"
stop-color="#cf0e62"
id="stop88" />
<stop
offset="0.935"
stop-color="#b5007f"
id="stop90" />
</radialGradient>
</defs>
<sodipodi:namedview
pagecolor="#101513"
bordercolor="#666666"
borderopacity="1"
objecttolerance="10"
gridtolerance="10"
guidetolerance="10"
inkscape:pageopacity="0"
inkscape:pageshadow="2"
inkscape:window-width="1366"
inkscape:window-height="713"
id="namedview817"
showgrid="false"
inkscape:zoom="6.0959785"
inkscape:cx="21.418796"
inkscape:cy="21.35335"
inkscape:window-x="0"
inkscape:window-y="25"
inkscape:window-maximized="1"
inkscape:current-layer="svg815"
showguides="false" />
<g
id="g1057"
style="stroke:#000000;stroke-opacity:1"
transform="translate(-354.43123,-557.87405)" />
<path
id="path4549"
style="fill:none;stroke:url(#radialGradient830);stroke-width:3.52313757;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
d="M 5.6830383,16.848161 5.4271232,17.889586 M 32.809848,29.149148 c 0,0 13.947134,-4.896684 5.438113,-21.153732 M 31.658186,3.6350409 c 0,0 -7.544147,-2.92900591 -15.48273,0 m 3.317742,-0.839274 c 0,0 -3.433855,0.1918831 -6.952656,2.5350946 0,0 7.687059,-4.56537971 15.748305,-0.6517448 1.000641,0.6620252 7.072888,2.9252161 9.383296,10.4767203 0,0 2.495142,6.508922 -2.175269,12.106595 0,0 -4.094606,4.230798 -9.660709,2.603574 0,0 -4.478476,-0.390537 -5.694056,-5.532585 0,0 -1.15161,-3.449724 1.471498,-6.508936 m 0,0 c 0,0 -5.630086,0.195276 -5.310186,8.591785 m 0,0 c 0,0 -5.374182,-10.023733 6.909636,-18.0947931 0,0 -10.87629,-2.2781371 -17.7859338,9.5681091 0,0 0.959674,-4.946786 1.5354804,-6.834373 0,0 -7.42147311,5.532586 -4.5424531,19.852217 0,0 2.5591264,8.917222 11.2601625,13.603645 0,0 8.828987,5.532585 20.409046,-0.390525 0,0 5.949974,-2.603574 9.340809,-10.023746 0,0 4.094606,-8.787046 0.895693,-17.118468 0,0 -3.838688,-10.1539214 -12.667675,-13.3432951"
inkscape:connector-curvature="0"
sodipodi:nodetypes="cccccccccccccccccccccccccc" />
<?xml version="1.0" standalone="no"?>
<svg version="1.1" width="48" height="48" viewBox="0 0 48 48" xmlns="http://www.w3.org/2000/svg" xmlns:svg="http://www.w3.org/2000/svg">
<defs><radialGradient id="grad" cx="24" cy="24" fx="24" fy="24" fr="0" r="23.66309" gradientTransform="matrix(0.99999999,0,0,1.0142378,-0.33689251,0.22718569)" gradientUnits="userSpaceOnUse" spreadMethod="pad">
<stop offset="0.156" stop-color="#ffea00"/>
<stop offset="0.231" stop-color="#ffde00"/>
<stop offset="0.365" stop-color="#ffbf00"/>
<stop offset="0.541" stop-color="#ff8e00"/>
<stop offset="0.763" stop-color="#ff272d"/>
<stop offset="0.796" stop-color="#f92433"/>
<stop offset="0.841" stop-color="#e91c45"/>
<stop offset="0.893" stop-color="#cf0e62"/>
<stop offset="0.935" stop-color="#b5007f"/>
</radialGradient></defs>
<path style="fill:none;stroke:url(#grad);stroke-width:3.48644;stroke-linecap:round;stroke-linejoin:round" d="M 6.207225,16.3597 5.9539757,17.390276 M 33.051465,28.532552 c 0,0 13.801851,-4.845677 5.381466,-20.933382 M 31.911799,3.2842154 c 0,0 -7.465562,-2.89849549 -15.321452,0 m 3.283182,-0.8305316 c 0,0 -3.398085,0.1898843 -6.880232,2.5086874 0,0 7.606985,-4.51782372 15.58426,-0.6449558 0.990218,0.6551291 6.999213,2.8947452 9.285554,10.3675886 0,0 2.469151,6.441121 -2.15261,11.980485 0,0 -4.051954,4.186727 -9.560077,2.576453 0,0 -4.431825,-0.386469 -5.634743,-5.474954 0,0 -1.139614,-3.413789 1.45617,-6.441134 m 0,0 c 0,0 -5.571439,0.193241 -5.254872,8.502287 m 0,0 c 0,0 -5.318201,-9.919319 6.837661,-17.9063066 0,0 -10.762996,-2.2544065 -17.6006643,9.4684416 0,0 0.9496774,-4.895257 1.5194858,-6.763181 0,0 -7.34416629,5.474955 -4.495136,19.645423 0,0 2.5324689,8.824335 11.1428695,13.461941 0,0 8.737019,5.474954 20.196452,-0.386457 0,0 5.887996,-2.576454 9.24351,-9.919332 0,0 4.051953,-8.695515 0.886362,-16.940151 0,0 -3.798701,-10.0481525 -12.53572,-13.2043036"/>
</svg>

Before

Width:  |  Height:  |  Size: 5.9 KiB

After

Width:  |  Height:  |  Size: 1.8 KiB