Expand description
§icons — this renderer’s canonical ICON_NAME → glyph mapping
The canonical vocabulary is the protocol (pathland_core::icon,
spec/ICONS.md) — the spec never lists a renderer’s glyphs. This module is
the web renderer’s own mapping: a canonical name → a filled Remix
Icon <path> (vendored from Remix Icon v4.9.1, Apache-2.0 — see
THIRD_PARTY_NOTICES.md). It is the single source both the SSR renderer and
(via pathland-ts-codegen → generated/icons.ts) the DOM client consume, so
the two cannot drift.
Constants§
- WEB_
SVG_ CLOSE - The closing
</svg>tag. - WEB_
SVG_ OPEN - The filled
<svg>opening tag (the catalog entries supply only the inner markup).fill="currentColor"tints the glyph viaCOLOR/foregroundStyle.
Functions§
- web_
fallback_ svg - The fallback inner markup for an unknown/extension icon name.
- web_
inner - The canonical inner SVG markup (a single filled Remix
<path>) for a canonical name (Nonefor unknown names — fall back toweb_fallback_svg). Callers wrap it inWEB_SVG_OPEN…WEB_SVG_CLOSE.