Even store integration

This commit is contained in:
James Babcock committed 2026-08-16 21:01:20 -07:00
1 parent 5cd61da362
commit add8763028
16 files changed
+737 -56

No files matched your search

+5
View File
@@ -143,6 +143,11 @@ export function renderIcon(name: IconName, size: number): GrayImage | null {
return renderSvgCached(name, ICON_SVGS[name], size);
}
/** Render an app-provided SVG using the same small renderer and cache. */
export function renderSvgIcon(cacheName: string, svg: string, size: number): GrayImage | null {
return renderSvgCached(`custom:${cacheName}`, svg, size);
}
/**
* Render an icon with a glyph character substituted in — currently only the
* terminal icon, whose "_" becomes the glyph (">3" instead of ">_"). Falls