mirror of
https://github.com/status-im/status-react.git
synced 2025-01-11 11:34:45 +00:00
569036c1d8
Add account creation screen remove icons remove extra utility and create a new one that would use conventional way of getting an emoji fix lint Use button component instead of bottom-actions Provide global customization color to buttons Use conventional approach to extract account name Move to another address Move to another namespace Refactor bottom-actions to have button props in maps Update doc with new icon location Add spaces between styles Work on pr comments Use :on-change-text instead of :on-change for input component Subscribe to :profile/customization-color directly Use bottom button from the create-or-edit-account wrapper Remove extra code Sort requires Move ns to proper fileˆ Fix styles
16 lines
623 B
Markdown
16 lines
623 B
Markdown
# new icons
|
|
|
|
## Export icons
|
|
|
|
![](images/export-icons/export-icons.gif)
|
|
|
|
1. Export from figma 2 pngs 2x and 3x put them in `./resources/images/icons2`
|
|
2. if necessary, rename file so that filename contains only lower case chars, e.g. `"Icon-Name@2x.png"` should be renamed to `"icon_name@2x.png"`.
|
|
3. In the app `icon_name.png` still can be accessed as `icon-name`, so in order to use can add the next code:
|
|
```clojure
|
|
;; icon_name.png
|
|
[vector-icons/icon :icon-name {:color ...}]
|
|
```
|
|
2x@2x
|
|
4. If you want platform specific icon use `.android` or `.ios` suffixes. Example `icon_name@2x.android.png`.:w
|