Add icon generation script from Google Material Icons rounded variant #2
No reviewers
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
chocbite/ts-lib-icons!2
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "copilot/create-node-script-for-icons"
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?
Several icons contained incorrect SVG path data. There was no automated way to regenerate them from the official source.
Changes
script/generate-icons.mjsNew Node.js script that regenerates all icon TypeScript files from the
@material-icons/svgpackage'sroundvariant:data.jsonsvg/{icon}/round.svgand emits a typedgenerate_functionexportsrc/index.tsto export all generated categoriesIcon files (
src/material/)All 18 existing category files regenerated with correct rounded SVG data. Two new categories added:
material-math.ts— 12 iconsmaterial-shopping.ts— 2 icons (barcode, qrcode)src/index.tsUpdated to export the two new categories.
package.jsonAdded
@material-icons/svg@1.0.33as a devDependency (build-time only, no runtime impact).💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.