icon picker

This commit is contained in:
Niels Lyngsø
2024-04-19 10:20:30 +02:00
parent f341206bfc
commit 53018f6a41
10 changed files with 2605 additions and 3196 deletions

View File

@@ -173,7 +173,7 @@ const generateJS = (icons) => {
const iconDescriptors = icons.map((icon) => {
return `{
name: "${icon.name}",
legacy: "${icon.legacy}",
${icon.legacy ? 'legacy: true,' : ''}
path: "./icons/${icon.fileName}.js",
}`.replace(/\t/g, ''); // Regex removes white space [NL]
});