Making single color SVG icons work in dark mode
Another good reason to use the currentColor
value in SVGs.
Another good reason to use the currentColor
value in SVGs.
I had to read through this twice, but I think I get it now (I’m not the sharpest knife in the drawer). Very useful if you’re doing theming in CSS.
The aria-current
attribute is very handy and easy to implement. Léonie explains it really well here.