minimized svgs

This commit is contained in:
Pagwin 2024-12-31 14:29:28 -05:00
parent 344ca7cf34
commit c59f7e8283
No known key found for this signature in database
GPG key ID: 81137023740CA260
2 changed files with 2 additions and 121 deletions

View file

@ -1,77 +1 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Uploaded to: SVG Repo, www.svgrepo.com, Generator: SVG Repo Mixer Tools -->
<svg
fill="#000000"
width="800px"
height="800px"
viewBox="0 0 32 32"
version="1.1"
id="svg1"
sodipodi:docname="house.svg"
inkscape:version="1.4 (e7c3feb100, 2024-10-09)"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg">
<defs
id="defs1" />
<sodipodi:namedview
id="namedview1"
pagecolor="#ffffff"
bordercolor="#000000"
borderopacity="0.25"
inkscape:showpageshadow="2"
inkscape:pageopacity="0.0"
inkscape:pagecheckerboard="0"
inkscape:deskcolor="#d1d1d1"
inkscape:zoom="1.17375"
inkscape:cx="399.57401"
inkscape:cy="400"
inkscape:window-width="2048"
inkscape:window-height="1192"
inkscape:window-x="0"
inkscape:window-y="0"
inkscape:window-maximized="1"
inkscape:current-layer="svg1" />
<title
id="title1">home</title>
<style>
@layer default-color, import-color, base, print;
@layer default-color {
:root {
--background-color: rgba(0,0,0,0);
--primary-color: blue;
--secondary-color: blue;
}
}
@layer base{
.box {
fill: rgba(0,0,0,0);
}
.primary_color {
fill: var(--primary-color);
}
}
</style>
<style>
@import url("/static/css/icon-colors.css") layer(import-color);
@import url("/static/css/icon-print.css") layer(print);
</style>
<a href="/" target="_top">
<rect x="0" y="0" class="box" width="2048" height="1192"/>
<path
d="M0 14.016l2.016 1.984h4v14.016q0 0.832 0.576 1.408t1.408 0.576h4v-8q0-0.832 0.576-1.408t1.44-0.576h4q0.8 0 1.408 0.576t0.576 1.408v8h4q0.832 0 1.408-0.576t0.608-1.408v-14.016h4l1.984-1.984-16-14.016zM12 14.016q0-1.664 1.184-2.848t2.816-1.152 2.816 1.152 1.184 2.848-1.184 2.816-2.816 1.184-2.816-1.184-1.184-2.816z"
class="primary_color" />
<ellipse
id="path2"
cx="16.051119"
cy="14.227901"
rx="4.2257719"
ry="4.4813638"
class="primary_color"
/>
</a>
</svg>
<svg xmlns="http://www.w3.org/2000/svg" id="svg1" width="800" height="800" fill="#000" version="1.1" viewBox="0 0 32 32"><style>@layer default-color,import-color,base,print;@layer default-color{:root{--background-color:rgba(0,0,0,0);--primary-color:blue;--secondary-color:blue}}@layer base{.box{fill:transparent}.primary_color{fill:var(--primary-color)}}</style><style>@import url(&quot;/static/css/icon-colors.css&quot;) layer(import-color);@import url(&quot;/static/css/icon-print.css&quot;) layer(print);</style><a target="_top"><path d="M0 0h2048v1192H0z" class="box"/><path d="m0 14 2 2h4v14l1 1 1 1h4v-8l1-1 1-1h4l1 1 1 1v8h4l1-1 1-1V16h4l2-2L16 0zm12 0 1-3 3-1 3 1 1 3-1 3-3 1-3-1-1-3z" class="primary_color"/><ellipse id="path2" cx="16.1" cy="14.2" class="primary_color" rx="4.2" ry="4.5"/></a></svg>

Before

Width:  |  Height:  |  Size: 2.4 KiB

After

Width:  |  Height:  |  Size: 808 B

View file

@ -1,44 +1 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"
viewBox="0 0 455.731 455.731" xml:space="preserve">
<style>
@layer default-color, import-color, base, print;
@layer default-color {
:root {
--background-color: rgba(0,0,0,0);
--primary-color: blue;
--secondary-color: blue;
}
}
@layer base{
.box {
fill: rgba(0,0,0,0);
}
.big-arc, .small-arc {
fill: var(--primary-color);
}
.circle {
fill: var(--secondary-color);
}
}
</style>
<style>
@import url("/static/css/icon-colors.css") layer(import-color);
@import url("/static/css/icon-print.css") layer(print);
</style>
<a href="/index.xml" target="_top">
<g>
<rect x="0" y="0" class="box" width="455.731" height="455.731"/>
<g>
<path class="icon big-arc" d="M296.208,159.16C234.445,97.397,152.266,63.382,64.81,63.382v64.348
c70.268,0,136.288,27.321,185.898,76.931c49.609,49.61,76.931,115.63,76.931,185.898h64.348
C391.986,303.103,357.971,220.923,296.208,159.16z"/>
<path class="icon small-arc" d="M64.143,172.273v64.348c84.881,0,153.938,69.056,153.938,153.939h64.348
C282.429,270.196,184.507,172.273,64.143,172.273z"/>
<circle class="icon circle" cx="109.833" cy="346.26" r="46.088"/>
</g>
</g>
</a>
</svg>
<svg xmlns="http://www.w3.org/2000/svg" xml:space="preserve" viewBox="0 0 455.7 455.7"><style>@layer default-color,import-color,base,print;@layer default-color{:root{--background-color:rgba(0,0,0,0);--primary-color:blue;--secondary-color:blue}}@layer base{.box{fill:transparent}.big-arc,.small-arc{fill:var(--primary-color)}.circle{fill:var(--secondary-color)}}</style><style>@import url(&quot;/static/css/icon-colors.css&quot;) layer(import-color);@import url(&quot;/static/css/icon-print.css&quot;) layer(print);</style><a target="_top"><path d="M0 0h456v456H0z" class="box"/><path d="M296 159C234 97 152 63 65 63v65a261 261 0 0 1 263 263h64c0-88-34-170-96-232z" class="icon big-arc"/><path d="M64 172v65c85 0 154 69 154 154h64c0-121-97-219-218-219z" class="icon small-arc"/><circle cx="109.8" cy="346.3" r="46.1" class="icon circle"/></a></svg>

Before

Width:  |  Height:  |  Size: 1.7 KiB

After

Width:  |  Height:  |  Size: 847 B