nycki.net/content/blog/21-rss-svg.md
Nicholas Lamicela 29f9af39b5
All checks were successful
/ build (push) Successful in 29s
css tweaks and blog about it
2024-12-28 13:32:16 -08:00

3.4 KiB

date title description tags permalink
2024-12-28 rss.svg how to make that funny little subscribe icon.
my-blog
programming
/blog/21/

{{ description }}

Today I added the RSS icon ( ) to my site! You should be able to see it up top by the word "blog" in the navbar, and if you click on it, it pulls up the RSS feed that you can subscribe to! As an aside, my current preferred reader is FreshRSS, but the nice thing about RSS readers is that they all have a standard import/export format so you can switch whenever you want :)

Anyway, I did this in a couple of steps. First I went searching for existing art that I can freely use, and I found this one on SVG Repo with a CC0 License. Thanks, SVG Repo!

I modified the SVG to use fill="currentColor", and I import it like this:

<svg width="0.8em" height="0.8em"><use href='/a/rss.svg#img'></svg>

Since the fill color is set based on the font color, it'll always match my theme! Here's a bunch of different colored RSS icons for fun.