Skip to content

Commit

Permalink
fix: Using correct colors when MenuItem is pressed (#29951)
Browse files Browse the repository at this point in the history
* fix: Using correct colors when MenuItem is pressed.

* Adding change file.
  • Loading branch information
khmakoto committed Nov 30, 2023
1 parent 16a455f commit 62312d1
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "patch",
"comment": "fix: Using correct colors when MenuItem is pressed.",
"packageName": "@fluentui/react-menu",
"email": "Humberto.Morimoto@microsoft.com",
"dependentChangeType": "patch"
}
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,11 @@ const useRootBaseStyles = makeResetStyles({
},
},

':hover:active': {
backgroundColor: tokens.colorNeutralBackground1Pressed,
color: tokens.colorNeutralForeground2Pressed,
},

userSelect: 'none',
...createFocusOutlineStyle(),
});
Expand Down

0 comments on commit 62312d1

Please sign in to comment.