anoma / namada-interface

Apache License 2.0
77 stars 98 forks source link

Refactoring ActionButton #921

Closed pedrorezende closed 1 month ago

pedrorezende commented 1 month ago

This PR removes unused components and fix a very old problem with hairlines appearing on button hover corners.

Before this PR, the ActionButton component was also using "primary" and "secondary" theme colors, however, these colors are not part of the Tailwind theme. This PR refactors this and also adds more properties to make the ActionButton component even more flexible.

Related Storybook stories are also updated

github-actions[bot] commented 1 month ago

🚀 Deployed on https://pull-request-921--wallet-development-heliax-dev.netlify.app

pedrorezende commented 1 month ago

@emccorson I've made the changes you've pointed out, but since they're only small fixes, I'm going ahead and merging this one. Please let me know if you see something that is not quite right and I can address in a later PR