diff --git a/packages/react-icons/src/utils/fonts/createFluentFontIcon.tsx b/packages/react-icons/src/utils/fonts/createFluentFontIcon.tsx index b0283c323a..f2f1e797ee 100644 --- a/packages/react-icons/src/utils/fonts/createFluentFontIcon.tsx +++ b/packages/react-icons/src/utils/fonts/createFluentFontIcon.tsx @@ -85,7 +85,7 @@ export function createFluentFontIcon(displayName: string, codepoint: string, fon // We want to keep the same API surface as the SVG icons, so translate `primaryFill` to `color` - if (props.primaryFill) { + if (props.primaryFill && props.primaryFill.toLowerCase() !== 'currentcolor') { state.style = { ...state.style, color: props.primaryFill