currentColor is a CSS variable-like feature that’s been avaialble to developers for quite some time, but it goes unused and unknown - forced to live a life of obscurity.
Today I say “No more!”
In the broadest terms;
currentColor is the equivalent of
inherit. But alas,
inherit does not work for something like this:
No matter how much I want it to, this just won’t work. But with
currentColor, this does work:
Go ahead and give it a try - make something awesome with it!