feat(kc): tree-node icons — 10 Catppuccin Mocha SVGs for Silo tree #42
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Create the 10 SVG tree-node icons used by the Silo tree viewer objects. These icons appear in the FreeCAD document tree next to each Silo metadata node.
Icon specifications
All icons follow the conventions in
kindred-icons/README.mdand match the existing icons inmods/silo/freecad/resources/icons/.Format: 24x24 viewbox, stroke-width 1.5–2, stroke-linecap round, monochrome with single Catppuccin Mocha accent color.
silo-group.svg#cdd6f4silo-manifest.svg#89b4fasilo-metadata.svg#a6e3a1silo-history.svg#b4befesilo-approvals.svg#fab387silo-dependencies.svg#94e2d5silo-job.svg#cba6f7silo-macro.svg#f9e2afsilo-jobs-group.svg#cba6f7silo-macros-group.svg#f9e2afDesign guidelines
Installation location
mods/silo/freecad/resources/icons/— alongside the 13 existing action icons.Usage
The
SiloViewerViewProvider.getIcon()method returns the icon path. The_icon_for_path()helper mapsSiloPathvalues to icon filenames:Non-blocking
This issue is independent of the viewer implementation phases. The
getIcon()method returns an empty string gracefully when the SVG file is missing, so icons can be added at any time without breaking functionality.Acceptance criteria
mods/silo/freecad/resources/icons/silo-*.svgaction iconsReferences
docs/SILO_VIEWPORT_PLAN.mdPhase 6mods/silo/freecad/resources/icons/silo-*.svgWe could use Lucide icons for this