build: Update 'svgo' to latest v3.2.0 and re-minify SVGs

The latest update of 'svgo' dependency includes three optimizations on
converting path commands, which
- improves closing paths and how we determine if to use absolute or
  relative commands.
- round arc or convert to lines based on the geometric sagitta
- convert cubic Bézier curves to quadratic Bézier curves where possible
Also unifiying npm command to qua standard notation `minify:svg`.

Bug: T354875
Change-Id: I0c712a4cec011ddda3a55caf4ecf493e1e00f3c8
This commit is contained in:
Volker E
2024-01-16 14:54:33 +01:00
parent 0b7ae1dce6
commit e094773671
13 changed files with 34 additions and 32 deletions

View File

@@ -7,18 +7,18 @@
</defs>
<g fill="#eaecf0" clip-path="url(#jagged-edge)" transform="matrix(-1 0 0 1 264 0)">
<path id="background" fill="#fff" d="M0 0h264v162H0"/>
<path id="logo" d="M11 22c0-8 6-14 14-14s14 6 14 14-6 14-14 14-14-6-14-14m27 23v-5H13v5h25"/>
<path id="sidebar" d="M38 130V58H13v72h25z"/>
<path id="personal-tools" d="M233 5h26v6h-26V5zm-24 0h22v6h-22zm-24 0h22v6h-22zm-23 0h13v6h-13zm15 0h6v6h-6zm-23 0h6v6h-6z"/>
<path id="search-input" d="M258 16v4h-92v-4h92m1-1h-94v6h94v-6z"/>
<path id="logo" d="M11 22c0-8 6-14 14-14s14 6 14 14-6 14-14 14-14-6-14-14m27 23v-5H13v5z"/>
<path id="sidebar" d="M38 130V58H13v72z"/>
<path id="personal-tools" d="M233 5h26v6h-26zm-24 0h22v6h-22zm-24 0h22v6h-22zm-23 0h13v6h-13zm15 0h6v6h-6zm-23 0h6v6h-6z"/>
<path id="search-input" d="M258 16v4h-92v-4zm1-1h-94v6h94z"/>
<path id="search-icon" d="M168 17h2v2h-2z"/>
<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-9z"/>
<path fill="#36c" d="M38 132.625v-35H13v35h25z"/>
<path fill="#36c" d="M38 132.625v-35H13v35z"/>
<rect width="19" height="2" x="16" y="108.59" fill="#eaf3ff" rx=".151" ry=".107"/>
<rect width="19" height="2" x="16" y="113.831" fill="#eaf3ff" rx=".151" ry=".107"/>
<rect width="19" height="6" x="16" y="124.313" fill="#2a4b8d" rx=".151" ry=".303"/>
<g fill="#fff" transform="matrix(.747 0 0 .747 7.295 33.453)">
<g fill="#fff" transform="translate(7.295 33.453)scale(.747)">
<rect width="2" height="2" x="20" y="125" rx=".013" ry=".092"/>
<rect width="2" height="2" x="23" y="125" rx=".013" ry=".092"/>
<rect width="2" height="2" x="26" y="125" rx=".013" ry=".092"/>

Before

Width:  |  Height:  |  Size: 1.8 KiB

After

Width:  |  Height:  |  Size: 1.8 KiB