Icons
This template uses Remix icon set
It is added to the app as a font generated by icomoon app.
Adding new icons
-
Find
assets/icomoon/selection.json
file in code base -
Import this file to this page (icomoon app):
- Make sure there are no other icons imported there
-
Download icon which need to be added to the app as svg file.
-
Make sure new icon name is unique (already not used).
-
Add svg file to icomoon app.
-
Go to generate font tab - icomoon app.
- Make sure that all icons that you have added have correct names
-
Download font - icomoon app
-
Replace old files with downloaded ones
- ./selection.json => assets/icomoon/selection.json
- ./fonts/icomoon.ttf => assets/icomoon/icomoon.ttf
-
Generate new types for icons
- run script generating icon types
yarn generate:icon:types
- run script generating icon types