mirror of
https://github.com/storytold/figcraft.git
synced 2026-12-05 19:51:38 -05:00
ec5415904d
The left sidebar gets an Icons tab (desktop). It offers Phosphor Icons (six weights) and Bootstrap Icons (outline and fill), both MIT. Download fetches the library's pinned npm archive, checks its size and sha256 and unpacks the SVGs and licence into FigCraft's icons folder. Icons are then searched by name, shown in one variant, and a click places one in the middle of the view at the size and colour set above the tiles, as editable vector layers. icons.libraries, icons.download, icons.search and icons.insert work from the CLI, control channel and MCP. The first Download in the tab is what allows downloading; no command can. A session confined to automation roots doesn't download, as with other network commands, and the in-app agent asks before icons.download.