poketo / poketo-reader

Web app for reading and following manga series
https://poketo.app
MIT License
34 stars 10 forks source link

Update icon approach #5

Closed rosszurowski closed 6 years ago

rosszurowski commented 6 years ago

Informed by Segment's Evergreen UI Framework it makes a lot more sense to have each icon SVG wrapped in a <span /> tag that defines the outer box, and let the SVG define the size of the icon itself.

This PR introduces a standard Icon component through which all icons should be acccessed. This component defines the outer icon box too.