mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-11-29 08:25:10 +00:00
ui: Simplify SVG app icons for using them inline in HTML
- Drop unnecessary inkscape markup. - Ensure that all the SVGs have viewBox='' attribute. - Drop unnecessary id='' attributes. - Prefix all IDs with 'autoidmagic-'. This will be replaced with a random string for each inlining in HTML to avoid duplicate IDs. Tests: - All SVGs appear the same as before. Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org> Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
This commit is contained in:
1 parent
31925252cb
commit
c0dcd15169
46 files changed
+1105
-5141
No files matched your search
@@ -1,62 +1,9 @@
|
||||
<?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"
|
||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
width="512"
|
||||
height="512"
|
||||
viewBox="0 0 384 384"
|
||||
class="mozwebext"
|
||||
version="1.1"
|
||||
id="svg74980"
|
||||
sodipodi:docname="shadowsocks.svg"
|
||||
inkscape:version="0.92.4 (5da689c313, 2019-01-14)">
|
||||
<metadata
|
||||
id="metadata74986">
|
||||
<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="defs74984" />
|
||||
<sodipodi:namedview
|
||||
pagecolor="#ffffff"
|
||||
bordercolor="#666666"
|
||||
borderopacity="1"
|
||||
objecttolerance="10"
|
||||
gridtolerance="10"
|
||||
guidetolerance="10"
|
||||
inkscape:pageopacity="0"
|
||||
inkscape:pageshadow="2"
|
||||
inkscape:window-width="1756"
|
||||
inkscape:window-height="1255"
|
||||
id="namedview74982"
|
||||
showgrid="false"
|
||||
units="px"
|
||||
fit-margin-top="0"
|
||||
fit-margin-left="0"
|
||||
fit-margin-right="0"
|
||||
fit-margin-bottom="0"
|
||||
inkscape:zoom="1.0858896"
|
||||
inkscape:cx="90"
|
||||
inkscape:cy="84.666667"
|
||||
inkscape:window-x="1287"
|
||||
inkscape:window-y="397"
|
||||
inkscape:window-maximized="0"
|
||||
inkscape:current-layer="svg74980" />
|
||||
viewBox="0 0 512 512"
|
||||
xmlns="http://www.w3.org/2000/svg">
|
||||
<path
|
||||
d="M 384,9.0045385 314.28744,301.79727 c 0,0 -107.47352,-30.49924 -146.68683,-43.57034 L 295.40696,102.53555 118.22088,242.5416 0,203.61876 Z M 168.47201,291.63086 l 44.73223,14.52345 -46.18457,68.84115 z"
|
||||
id="path74978"
|
||||
inkscape:connector-curvature="0"
|
||||
style="fill:#1a7dc0;stroke-width:2.90468979" />
|
||||
d="m 512,12.00605 -92.95007,390.39031 c 0,0 -143.29803,-40.66565 -195.58245,-58.09379 L 393.87595,136.71407 157.62784,323.3888 0,271.49168 Z m -287.37065,376.83509 59.64296,19.36461 -61.57942,91.7882 z"
|
||||
style="fill:#1a7dc0;stroke-width:3.87292" />
|
||||
</svg>
|
||||
|
Before Width: | Height: | Size: 1.9 KiB After Width: | Height: | Size: 373 B |
Reference in new issue
Block a user