Open madkarmaa opened 3 weeks ago
I've come across some issues while using the <Button /> component.
<Button />
There's a limited choice of icons, which need to be added manually
The colors of the icons are hardcoded in the SVG code
I had to modify the filter CSS property to make the colors of the icons black/white because the hardcoded blue-ish color they currently have didn't fit on red/yellow backgrounds.
filter
I think having an icon library is better than the current method, such as Google font icons or FontAwesome icons.
A component can be created as well, I've already made one for my own website, it's a really easy solution.
The only downside I can think of is the big size of these CSS files which need to be downloaded by the client.
Any free icon pack package should work and should replace the current SVG icons.
I've come across some issues while using the
<Button />
component.There's a limited choice of icons, which need to be added manually
The colors of the icons are hardcoded in the SVG code
I had to modify the
filter
CSS property to make the colors of the icons black/white because the hardcoded blue-ish color they currently have didn't fit on red/yellow backgrounds.I think having an icon library is better than the current method, such as Google font icons or FontAwesome icons.
A component can be created as well, I've already made one for my own website, it's a really easy solution.
The only downside I can think of is the big size of these CSS files which need to be downloaded by the client.