-
Notifications
You must be signed in to change notification settings - Fork 194
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Replace bitcoin-icons-react with popicons #3072
Conversation
Signed-off-by: amitamrutiya2210 <amitamrutiya2210@gmail.com>
@amitamrutiya2210 Wow, thanks for this PR - this is great! 💯
I think we should just try to find icons that somehow fit the purpose, even if they are not exactly the same. Do you want to go ahead and give the remaining ones a try and see if you can find some alternative icons that fit the purpose? I would definitely want to remove the bitcoin-design icon library with this PR so we don't have 2 libraries in there anymore.
Okay, I'll have a look at these. I think the sizing of the icons is sometimes quite different to the bitcoin-design icon set and I would rather try to aim for consistency. |
Thanks, @reneaaron, for the appreciation. I would like to work alongside you on this PR. First, I will try to replace existing |
Signed-off-by: amitamrutiya2210 <amitamrutiya2210@gmail.com>
Signed-off-by: amitamrutiya2210 <amitamrutiya2210@gmail.com>
This comment was marked as outdated.
This comment was marked as outdated.
Now this is ready for review. I have completely removed the I also replaced some icons that tried to fulfill the purpose of the context, but if they don't seem suitable to you, please let me know and I will make changes accordingly. Note: Please ensure you check the height and width of the icons. I set the height and width according to my knowledge, but you definitely have a better understanding of the height and width of icons in this project. |
This comment was marked as resolved.
This comment was marked as resolved.
@amitamrutiya2210 Amazing work, thank you very much! 💯 I worked through the changes and added some minor adjustments, please have a look and see if these changes make sense to you! For the popicons missing in the official npm package I asked the author to do a release with the new icons. In the meantime I created a popicons folder where we can maintain the missing icons ourselves. I would want to keep any SVGs out of the react components and possibly create separate components for them as I think they clutter the code quite a bit and should be reusable from different components. FYI: Also I sneaked in some minor style fixes where icon colors didn't match the designs. |
@reneaaron, I have reviewed all of your changes and tested them in both light and dark modes. They work quite well. |
@SocketSecurity ignore npm/blech32@1.1.2 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
tACK
Describe the changes you have made in this PR
In this pull request, I replaced the majority of icons with icons from the
bitcoin-icons-react
library, specifically usingpopicons
icons.Link this PR to an issue [optional]
Fixes #2920
Type of change
popicons
library, or if I did, there were differences between those icons. Therefore, I didn't completely remove thebitcoin-icons-react
library. This can be resolved by adding SVGs in theicons/popicons
directory.Screenshots of the changes [optional]
Here, I have attached some screenshots highlighting some of the major changes that I made.
These are big changes that happens during migrate to popicons icons.
How has this been tested?
I test all of the changes in before and after changes.
Checklist
Additional Information