feat(renderer): replace Phosphor icon webfont with inline SVG #19

Merged
abiwab merged 1 commit from feat/native-svg-icons into main 2026-08-25 08:16:05 +02:00
Owner

Drops the unpkg.com CDN dependency for icons — they're inlined as SVG
now, and centralized in one file instead of being duplicated across
docs/renderer/vscode-extension.

Drops the unpkg.com CDN dependency for icons — they're inlined as SVG now, and centralized in one file instead of being duplicated across docs/renderer/vscode-extension.
feat(renderer): replace Phosphor icon webfont with self-contained inline SVG
All checks were successful
CI / ci (pull_request) Successful in 2m20s
097548f70c
Removes the unpkg.com/@phosphor-icons/web CDN dependency (docs Lighthouse
score, offline VS Code previews) by inlining Phosphor's SVG paths directly.
Centralizes all three icon variants (HTML/Markdown/print) in a single
packages/renderer/src/icons.ts, each icon exported as its own PURE-annotated
binding so bundlers can tree-shake unused icons per consumer (e.g. the
VS Code Gantt webview, which needs none of them, now carries zero icon code).
Also renames the leftover "ph"/"ph-*" CSS class hook to "gicon" since it no
longer has any real tie to the Phosphor webfont.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
abiwab force-pushed feat/native-svg-icons from 097548f70c
All checks were successful
CI / ci (pull_request) Successful in 2m20s
to 532ea55f24
All checks were successful
CI / ci (pull_request) Successful in 2m24s
2026-08-25 08:13:11 +02:00
Compare
abiwab merged commit 11a363e566 into main 2026-08-25 08:16:05 +02:00
Sign in to join this conversation.
No description provided.