Themeable icons
Using currentColor lets an inline SVG inherit CSS text color from its parent element, so one icon file adapts to every theme, state, and dark mode without generating variants.
How inheritance works
currentColor resolves against the CSS color property of the element that contains the SVG. Set a color on the button or link wrapping the icon and every replaced stroke and fill follows it.