How to replace an existing SVG icon with a custom one?

Discourse Gifs ships a custom GIF icon that you can use as an example:

8 Likes