hermes: crop the mark to the icon area, ship 128/256 px PNGs
The 1461x720 webp downscales badly to 24 px (sidebar strip) and 72 px (signin header) — browser is doing a ~60x reduction and the thin wing lines turn to mush. Pre-crop around the icon's content bbox, make it square with a small breathing margin, resize to 128 px and 256 px, drop transparency on the dark backdrop. Addon manifest icon is the 128 PNG as a data URI (16 KB vs the 26 KB uncropped webp), and the panel pulls mark-128.png / mark-256.png at the two sizes it needs. Also home.html's Hermes.X tile now points at the cropped PNG so the home card isn't blurry. Version bumped to 0.2.3 so seedBundledAddons picks it up on a release bundle swap. The installed bundle + user-data cache were hot-patched too so the fix is visible immediately in the running app.
This commit is contained in:
parent
bee4fd50dc
commit
2abd4d9616
6 changed files with 25 additions and 25 deletions
File diff suppressed because one or more lines are too long
BIN
bundled-addons/hermes/assets/mark-128.png
Normal file
BIN
bundled-addons/hermes/assets/mark-128.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 12 KiB |
BIN
bundled-addons/hermes/assets/mark-256.png
Normal file
BIN
bundled-addons/hermes/assets/mark-256.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 32 KiB |
|
|
@ -161,7 +161,7 @@
|
|||
<!-- Top bar — present on both screens -->
|
||||
<div class="bar">
|
||||
<div class="mk" aria-hidden="true">
|
||||
<img src="assets/mark.webp" alt="" width="24" height="24" style="display:block">
|
||||
<img src="assets/mark-128.png" alt="" width="24" height="24" style="display:block">
|
||||
</div>
|
||||
<div class="title">Hermes</div>
|
||||
<div class="spc"></div>
|
||||
|
|
@ -236,7 +236,7 @@
|
|||
<!-- ========== SIGNIN SCREEN ========== -->
|
||||
<div class="screen active" id="signin">
|
||||
<div class="mk" aria-hidden="true">
|
||||
<img src="assets/mark.webp" alt="" width="72" height="72" style="display:block">
|
||||
<img src="assets/mark-256.png" alt="" width="72" height="72" style="display:block">
|
||||
</div>
|
||||
<h1>Hermes</h1>
|
||||
<p class="lede">End-to-end encrypted DMs. Your identity is your on-chain registered name — same wallet seed as Theseus.</p>
|
||||
|
|
|
|||
BIN
home-brand/hermes-mark.png
Normal file
BIN
home-brand/hermes-mark.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 32 KiB |
|
|
@ -300,7 +300,7 @@
|
|||
sirius: `<svg viewBox="0 0 64 64" xmlns="http://www.w3.org/2000/svg"><rect width="64" height="64" rx="12" fill="#0b0e14"/><path d="M32 4 L36.4 27.6 L60 32 L36.4 36.4 L32 60 L27.6 36.4 L4 32 L27.6 27.6 Z" fill="#d6ff3d"/></svg>`,
|
||||
hephaestus: `<svg viewBox="0 0 64 64" xmlns="http://www.w3.org/2000/svg"><rect width="64" height="64" rx="12" fill="#0b0e14"/><path d="M14 36 h36 l-4 6 h-28 Z" fill="#ffc75f"/><rect x="26" y="42" width="12" height="8" fill="#ffc75f"/><rect x="22" y="50" width="20" height="4" rx="1" fill="#ffc75f"/><rect x="34" y="12" width="4" height="18" rx="1" fill="#8b98a9" transform="rotate(25 36 21)"/><rect x="30" y="12" width="14" height="6" rx="1" fill="#e7eaf1" transform="rotate(25 37 15)"/></svg>`,
|
||||
prometheus: `<svg viewBox="0 0 64 64" xmlns="http://www.w3.org/2000/svg"><rect width="64" height="64" rx="12" fill="#0b0e14"/><path d="M32 8 C 26 18, 20 22, 20 32 C 20 42, 26 50, 32 50 C 38 50, 44 42, 44 32 C 44 24, 40 22, 36 18 C 36 24, 34 26, 32 28 C 30 24, 34 16, 32 8 Z" fill="#ffc75f"/><path d="M32 20 C 28 26, 26 30, 26 36 C 26 42, 29 46, 32 46 C 35 46, 38 42, 38 36 C 38 32, 36 30, 34 26 C 34 30, 33 32, 32 32 C 30 28, 33 24, 32 20 Z" fill="#f6768a"/></svg>`,
|
||||
hermes: { src: "home-brand/hermes-mark.webp" },
|
||||
hermes: { src: "home-brand/hermes-mark.png" },
|
||||
helios: `<svg viewBox="0 0 64 64" xmlns="http://www.w3.org/2000/svg"><rect width="64" height="64" rx="12" fill="#0b0e14"/><circle cx="32" cy="32" r="12" fill="#ffc75f"/><g stroke="#ffc75f" stroke-width="3" stroke-linecap="round"><line x1="32" y1="8" x2="32" y2="14"/><line x1="32" y1="50" x2="32" y2="56"/><line x1="8" y1="32" x2="14" y2="32"/><line x1="50" y1="32" x2="56" y2="32"/><line x1="15" y1="15" x2="19" y2="19"/><line x1="45" y1="45" x2="49" y2="49"/><line x1="15" y1="49" x2="19" y2="45"/><line x1="45" y1="19" x2="49" y2="15"/></g></svg>`,
|
||||
ariadne: { src: "home-brand/ariadne-pottery.svg" },
|
||||
pithos: `<svg viewBox="0 0 64 64" xmlns="http://www.w3.org/2000/svg"><rect width="64" height="64" rx="12" fill="#0b0e14"/><path d="M22 18h20v4c0 2-2 3-2 5 8 3 14 10 14 20 0 10-9 17-22 17S10 57 10 47c0-10 6-17 14-20 0-2-2-3-2-5z" fill="#3ddc97"/><path d="M14 36h36M14 44h36" stroke="#0b1f18" stroke-width="2.5" stroke-linecap="round" opacity=".55"/></svg>`,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue