From abb710c02fcdd8c18f81d224823f4ca2934fce00 Mon Sep 17 00:00:00 2001 From: Taejin Kim Date: Sun, 5 Nov 2023 00:07:54 +0900 Subject: [PATCH] Fix: Resolve issue with incorrect rendering of icons due to SVG fill attribute removal --- packages/react-icons/scripts/logics.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/react-icons/scripts/logics.ts b/packages/react-icons/scripts/logics.ts index 9de1569ff..deab6d66f 100644 --- a/packages/react-icons/scripts/logics.ts +++ b/packages/react-icons/scripts/logics.ts @@ -38,6 +38,7 @@ export async function convertIconData(svg, multiColor) { const newName = name.startsWith("aria-") ? name : camelcase(name); switch (newName) { case "fill": + obj[newName] = attribs[name]; case "stroke": if ( attribs[name] === "none" ||