feat(06-07): committed 8-glyph PNG set rasterized from the app's SVG sources (D-12)

- routing/scripts/build-glyphs.mjs: maintainer shell (Usage/Exit codes/
  collect-then-write — a missing/invalid source exits 1 with the kind named
  and nothing written); recolors currentColor → #EB8008 in-memory and
  injects a full-bleed #1A1A1A plate (stroke="none" — it must not inherit
  the root's orange stroke); the committed SVGs are THE single source and
  stay untouched
- sharp 0.35.5 as a routing devDependency (maintainer-only, zero runtime
  deps); 'glyphs' script added
- 8× 256×256 PNGs committed (web/public/glyphs/) — the chat turn-card's
  sendPhoto URL rides the Worker's static handler; two render bugs fixed
  en route: density multiplied the explicit size attrs into 2048² (dropped),
  and the plate inherited the root stroke (orange frame — stroke="none")
- SVG sources verified unchanged after the run
This commit is contained in:
araharah-executor
2026-10-24 19:53:09 +08:00
parent ad612299ca
commit 9c50fb033e
11 changed files with 119 additions and 1 deletions
+1
View File
@@ -3959,6 +3959,7 @@
"routing": {
"name": "@araharah/routing",
"devDependencies": {
"sharp": "^0.35.5",
"typescript": "^5.9.3"
}
},