Closed josephfusco closed 7 years ago
Give me a few and I'll refresh this PR to remove conflicts :)
It's not good add icons via js. Also design of icons to bold
@alxlark Your PR #17 makes more sense as the user can easily override the icons with css. 👍 As a result I will be closing this, however when commenting on open source projects it is good practice to back up claims with facts instead of stating your opinion.
Fixes #5
You could use a base64 svg but it has known performance issues. See: https://css-tricks.com/probably-dont-base64-svg/
I decided to just store the svgs within an object and reference that. That way there are no extra http requests and everything is contained within the js.