Part of Qwik Design System's icon library tooling, forked from Qwikest Icons by Niklas Por. This fork continues the development and evolution of the icon generation tooling within the Qwik Design System ecosystem.
- 🔄 Automated icon downloading from source repositories
- 🛠️ SVG optimization and transformation
- 📦 Variant generation support
- 🔍 TypeScript declarations generation
-
generate-icons.ts
- Main generation pipeline -
download-icons.ts
- Icon set downloading utilities -
extractor.ts
- Icon variant extraction logic -
config.interface.ts
- Configuration type definitions
Run from the project root:
npm run generate:icons
Icon packs are configured in the packs
directory. Each pack can specify:
- Source repository
- Download settings
- Color handling
- Variant extraction rules
- Output prefix
-
ICON_LIMIT
- Optional limit for number of icons to generate (useful for testing)