Skip to content

Commit

Permalink
Update style injection in font icon files (#689)
Browse files Browse the repository at this point in the history
  • Loading branch information
tomi-msft authored Feb 6, 2024
1 parent c7634fd commit f09ffd6
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 f09ffd6

Please sign in to comment.