Manually optimize BetaFeatures .svg files

* Merge paths that use the same color.
* I also found an invisible path that can be removed.

Change-Id: Ib31aed78d7eaef9fad2ca8eeeb36bd489a132d6b
This commit is contained in:
Thiemo Kreuz 2021-09-02 11:38:14 +02:00
parent fa0792e002
commit cb364303fa
4 changed files with 8 additions and 22 deletions

View file

@ -14,16 +14,11 @@
<path id="search-input" d="M258 16v4h-92v-4h92m1-1h-94v6h94v-6z"/>
<path id="search-icon" d="M168 17h2v2h-2z"/>
<path id="border" d="M0 0v162h264V0zm1 1h262v150.533l-11 9.166-12-10-12 10-12-10-12 10-12-10-12 10-12-10-12 10-12-10-12 10-12-10-12 10-12-10-12 10-12-10-12 10-12-10-12 10-12-10-12 10-11-9z"/>
<path fill="#c8ccd1" d="M59 39h54v6H59z"/>
<path fill="#c8ccd1" d="M59 39h54v6H59zM59 56h134v3H59zm0 10h134v3H59zm0 10h39v3H59z"/>
<g fill="#7fd7c4" transform="translate(0 -20)">
<path d="M240 70.334h-39v30h39zm-26.348 13.043h1.403l8.7 8.604 4.725-2.833 7.117 5.943v.025H204.45z"/>
</g>
<path fill="#c8ccd1" d="M59 56h134v3H59zm0 10h134v3H59zm0 10h39v3H59z"/>
<path fill="#7fd7c4" d="M84 55h26v5H84z"/>
<path fill="#e88e89" d="M68 55h16v5H68zm-9 33h181v5H59zm0 10h181v5H59z"/>
<path fill="#7fd7c4" d="M59 124h181v5H59zm0 10h181v5H59z"/>
<path fill="#e88e89" d="M59 108h51v5H59z"/>
<path fill="#7fd7c4" d="M59 144h101v5H59z"/>
<path fill="#e88e89" d="M59 90h23v1H59z"/>
<path fill="#e88e89" d="M68 55h16v5H68zm-9 33h181v5H59zm0 10h181v5H59zM59 108h51v5H59z"/>
<path fill="#7fd7c4" d="M84 55h26v5H84zM59 124h181v5H59zm0 10h181v5H59zM59 144h101v5H59z"/>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 1.7 KiB

After

Width:  |  Height:  |  Size: 1.5 KiB

View file

@ -14,16 +14,11 @@
<path id="search-input" d="M258 16v4h-92v-4h92m1-1h-94v6h94v-6z"/>
<path id="search-icon" d="M168 17h2v2h-2z"/>
<path id="border" d="M0 0v162h264V0zm1 1h262v150.533l-11 9.166-12-10-12 10-12-10-12 10-12-10-12 10-12-10-12 10-12-10-12 10-12-10-12 10-12-10-12 10-12-10-12 10-12-10-12 10-12-10-12 10-11-9z"/>
<path fill="#c8ccd1" d="M59 39h54v6H59z"/>
<path fill="#c8ccd1" d="M59 39h54v6H59zM59 56h134v3H59zm0 10h134v3H59zm0 10h39v3H59z"/>
<g fill="#7fd7c4" transform="translate(0 -20)">
<path d="M240 70.334h-39v30h39zm-26.348 13.043h1.403l8.7 8.604 4.725-2.833 7.117 5.943v.025H204.45z"/>
</g>
<path fill="#c8ccd1" d="M59 56h134v3H59zm0 10h134v3H59zm0 10h39v3H59z"/>
<path fill="#7fd7c4" d="M84 55h26v5H84z"/>
<path fill="#e88e89" d="M68 55h16v5H68zm-9 33h181v5H59zm0 10h181v5H59z"/>
<path fill="#7fd7c4" d="M59 124h181v5H59zm0 10h181v5H59z"/>
<path fill="#e88e89" d="M59 108h51v5H59z"/>
<path fill="#7fd7c4" d="M59 144h101v5H59z"/>
<path fill="#e88e89" d="M59 90h23v1H59z"/>
<path fill="#e88e89" d="M68 55h16v5H68zm-9 33h181v5H59zm0 10h181v5H59zM59 108h51v5H59z"/>
<path fill="#7fd7c4" d="M84 55h26v5H84zM59 124h181v5H59zm0 10h181v5H59zM59 144h101v5H59z"/>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 1.7 KiB

After

Width:  |  Height:  |  Size: 1.5 KiB

View file

@ -15,11 +15,9 @@
<path id="article" d="M252 162V29H48v133z"/>
<path id="border" d="M0 0v162h264V0zm1 1h262v150.533l-11 9.166-12-10-12 10-12-10-12 10-12-10-12 10-12-10-12 10-12-10-12 10-12-10-12 10-12-10-12 10-12-10-12 10-12-10-12 10-12-10-12 10-11-9.167z"/>
<path fill="#36c" d="M48.083 29h204.084v20.75H48.083z"/>
<path fill="#c8ccd1" d="M59 58.333h54v6H59z"/>
<path fill="#c8ccd1" d="M59 58.333h54v6H59zM59 109.334h181v3H59zm0 20h104v3H59zm0-54h134v3H59zm0 10h134v3H59zm0 10h39v3H59zM59 119.334h181v3H59z"/>
<path fill="#a2a9b1" d="M240 70.334h-39v30h39zm-26.348 13.043h1.403l8.7 8.604 4.725-2.833 7.117 5.943v.025H204.45z" opacity=".412"/>
<path fill="#c8ccd1" d="M59 109.334h181v3H59zm0 20h104v3H59zm0-54h134v3H59zm0 10h134v3H59zm0 10h39v3H59z"/>
<path fill="#fff" d="M59 34.333h25v10H59v-10zm33.5 0h10v10h-10zm17 0h10v10h-10z"/>
<path fill="#36c" d="M100.012 90.834v2h1.457v7h-1.49v2h4.916v-2h-1.427v-7h1.458v-2z"/>
<path fill="#c8ccd1" d="M59 119.334h181v3H59z"/>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 1.6 KiB

After

Width:  |  Height:  |  Size: 1.6 KiB

View file

@ -15,11 +15,9 @@
<path id="article" d="M252 162V29H48v133z"/>
<path id="border" d="M0 0v162h264V0zm1 1h262v150.533l-11 9.166-12-10-12 10-12-10-12 10-12-10-12 10-12-10-12 10-12-10-12 10-12-10-12 10-12-10-12 10-12-10-12 10-12-10-12 10-12-10-12 10-11-9.167z"/>
<path fill="#36c" d="M48.083 29h204.084v20.75H48.083z"/>
<path fill="#c8ccd1" d="M59 58.333h54v6H59z"/>
<path fill="#c8ccd1" d="M59 58.333h54v6H59zM59 109.334h181v3H59zm0 20h104v3H59zm0-54h134v3H59zm0 10h134v3H59zm0 10h39v3H59zM59 119.334h181v3H59z"/>
<path fill="#a2a9b1" d="M240 70.334h-39v30h39zm-26.348 13.043h1.403l8.7 8.604 4.725-2.833 7.117 5.943v.025H204.45z" opacity=".412"/>
<path fill="#c8ccd1" d="M59 109.334h181v3H59zm0 20h104v3H59zm0-54h134v3H59zm0 10h134v3H59zm0 10h39v3H59z"/>
<path fill="#fff" d="M59 34.333h25v10H59v-10zm33.5 0h10v10h-10zm17 0h10v10h-10z"/>
<path fill="#36c" d="M100.012 90.834v2h1.457v7h-1.49v2h4.916v-2h-1.427v-7h1.458v-2z"/>
<path fill="#c8ccd1" d="M59 119.334h181v3H59z"/>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 1.7 KiB

After

Width:  |  Height:  |  Size: 1.6 KiB