-
Notifications
You must be signed in to change notification settings - Fork 3
Adding new icons
Dimitar Kalaydzhiev edited this page Feb 7, 2024
·
6 revisions
Adding a new icon to the kendo-icons repository is a two step process:
- Create your icon in Adobe Illustrator and follow the guidelines described in https://www.telerik.com/design-system/docs/foundation/iconography/styles-and-guidelines/
- The final file is saved (exported) together with the canvas and these properties:
- Create a Branch with a meaningful name (e.g. "sparkles") and a meaningful commit message (e.g. "feat: add sparkles icon").
- Copy the newly created SVG icon in the
src/telerik-icons/solid
folder. - Create a Pull Request from the new branch and specify the category in which the icon should be, as well as alias names if any in a comment.
- The Front-End team is automatically assigned for pull request review and will handle the metadata generation(described in next steps).
-
Run
npm run update-icons
to update theicons.json
andicons-list.json
files. -
Open the
icons.json
and fill in the relevant icon categories for the newly added icon, e.g:{ "name": "caret-tr", "ligatures": [], "aliases": [], "categories": [ "navigation" ], "unicode": "e000" }
-
Fill in the aliases and ligatures fields (if there are any).
-
Stage and commit* the updated
icons.json
andicons-list.json
. -
Push the changes.
-
After the new icon and the updated files are pushed, an additional commit will be automatically generated with the updated font and styles referencing the new icon.
*Please follow the commit message guidelines described here: Commit Message Guidelines Wiki.