Add support lucide icons

This commit is contained in:
Mara Nikola Kiefer
2026-04-10 10:20:50 +02:00
parent 0285ae2de7
commit 80143c4da3
3 changed files with 25 additions and 4 deletions
+6 -1
View File
@@ -189,7 +189,12 @@ async function checkWorkflow(
};
if (x.iconType === "svg") {
r.push(join("../../icons", `${x.iconName}.svg`));
r.push(
join(
"../../icons",
`${x.iconName && x.iconName.startsWith("lucide ") ? `lucide-${x.iconName.slice("lucide ".length).trim()}` : x.iconName}.svg`
)
);
}
return r;