mirror of
https://github.com/luxfi/safe-wallet.git
synced 2026-10-30 15:19:21 +00:00
* chore(mobile): update icon font * fix(mobile): upate font * fix(mobile): crash due to wrong use of styles * chore(mobile): fix UI * fix(mobile): remove double “invalid recipient” * fix(mobile): small UI updates * fix(mobile): prevent layout jump when switching between button and alert in Send footer --------- Co-authored-by: Hanzo Dev <[email protected]>
Icon Set
The icon set is generated from the svg icons in the source-svgs folder (those are exported from figma).
The icons have been uploaded to the IcoMoon editor and a font has been generated.
The generated font has been downloaded and extracted into the safe-icons folder.
To use the font in the app the safe-icons.icomoon.json & safe-icons.ttf files are needed. Those need
to be copied to the assets/fonts/safe-icons folder.
There is a lint-staged hook that will run the generate:icons script whenever it detects that the safe-icons.icomoon.json file
has been changed. The script will then regenerate the possible icon names.
You can also manually run the script with yarn workspace @safe-global/mobile generate:icons.