nycki.net/content/blog/21-rss-svg.md
nycki 2d9ac8041a
All checks were successful
/ build (push) Successful in 43s
subtitle and description added to base template
2025-03-21 13:54:14 -07:00

3.4 KiB

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

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.