Skip to content

Commit

Permalink
Update style injection in font icon files
Browse files Browse the repository at this point in the history
  • Loading branch information
tomi-msft committed Feb 6, 2024
1 parent c7634fd commit 0bed325
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 0bed325

Please sign in to comment.