Here is a tool designed to assist in this process.
- Clone this repository
- Check out a new branch. Example:
git checkout new_icons_9-13-22
- Place the new icons in this repository's
icons/
folder with the following naming convention and color variants:
(icon-name)-two-color.svg
(icon-name).svg
(black one color variant)
- Add an icon entry to
icons.json
along with keywords and the date added.
Example:
{
"name": "laundry-basket",
"keywords":
[
"wash",
"clothes",
"clothing",
"clean",
"hygiene",
"cleaner",
"cleaning",
"washer",
"washing machine",
"cleanse",
"bottle",
"dorm",
"living",
"home"
],
"dateAdded": "2022-05-24"
},
- Add the corresponding icon entry's name to
categories.json
in the "Recently added" category.
Example:
{
"label": "Recently added",
"slug": "recently-added",
"keywords": "recently-added",
"icon": "clock",
"icons": [
...
"laundry-basket",
]
},
- Add the icon entry's name to the proper category in
categories.json
Example:
{
"label": "Home and Personal",
"slug": "home-personal",
"keywords": "home personal house clothes",
"icon": "person-one",
"icons": [
...
"laundry-basket",
...
]
},
- Commit and push your new branch.
- Generate a PR to merge into
main
. - Merge into
main
and take note of the commit hash. - Follow the instructions in the README on the Icon Browser repository to continue updating the Icon Browser with the newly added icons.