lucide
lucide copied to clipboard
chore(icons): update icon names to match naming guidelines no. 7 to 9
What is the purpose of this pull request?
- [x] Bug fix
Description
Our naming guidelines were updated in #1874, but a lot of icons don't yet match the new official naming scheme, this PR updates most (if not all) of these icons, while also adding backward compatible aliases.
A renamePattern
helper script was also created that helps streamline these batched renames, e.g. most of the hard work was done via running:
pnpm renamePattern "^([a-z-]+)-(square|circle|diamond|octagon|hexagon|triangle)$" "\2-\1"
Before Submitting
- [x] I've read the Contribution Guidelines.
- [x] I've checked if there was an existing PR that solves the same issue.