Skip to content

Commit af4363c

Browse files
refactor(ui): drop the unused filled-icon helper
No caller draws a filled 16px glyph, so the shell was dead surface.
1 parent c78f71d commit af4363c

1 file changed

Lines changed: 0 additions & 7 deletions

File tree

‎ui/src/components/icons-tools.ts‎

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,6 @@ export function strokeIcon(body: SVGTemplateResult): TemplateResult {
2222
`;
2323
}
2424

25-
// Shell for glyphs drawn as one solid shape on a 16px grid instead of a 24px
26-
// outline. Their filled silhouette carries the meaning, so they keep their own
27-
// fill; pushing them through strokeIcon would hollow them out.
28-
export function fillIcon(body: SVGTemplateResult): TemplateResult {
29-
return html` <svg viewBox="0 0 16 16" fill="currentColor" stroke="none">${body}</svg> `;
30-
}
31-
3225
export const toolIcons = {
3326
cpu: strokeIcon(svg` <rect width="16" height="16" x="4" y="4" rx="2" />
3427
<rect width="6" height="6" x="9" y="9" rx="1" />

0 commit comments

Comments
 (0)