RemixIcon icon indicating copy to clipboard operation
RemixIcon copied to clipboard

Add fill=currentColor to svg's

Open floydnant opened this issue 3 years ago • 2 comments

Is your feature request about the Usage? Please describe. Currently when using the svg approach, and want to control the color of the icon with the CSS color property, you'd have to add fill="currentColor" to the paths in each svg icon manually.

Describe the solution you'd like It would be very convenient, if the svgs would already provide that. Like so:

<svg ... >
    <path fill="currentColor" d="..." />
</svg>

floydnant avatar Jul 29 '22 16:07 floydnant

+1, I'd love to see this get implemented too

lqmanh avatar Jun 08 '23 11:06 lqmanh

Hi, @floydnant and @lqmanh, we've added fill="currentColor" to the latest version v4.0.0 icons. Please try it out and let us know if any problems.

xiaochunjimmy avatar Dec 17 '23 13:12 xiaochunjimmy