Skip to content
Discussion options

You must be logged in to vote

In case someone comes across this, there appears to be an open issue with the iconExpanded styling not applying.

Link to issue: #23300

For now, I think I'm just going to add !important to the color of the base icon style. Hate to do it but can't think of another option.

const buttonStyles: Partial<IContextualMenuItemStyles> = {
    icon: { color: `${theme.palette.neutralPrimary} !important` },
};

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by scwood
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant