Skip to content

Commit

Permalink
Fixing high contrast Menu Item's focus + active state (#19393)
Browse files Browse the repository at this point in the history
* updating high contrast colors

* reverting style

* updating changelog

* removing test

* fixing hover
  • Loading branch information
notandrew authored Aug 19, 2021
1 parent 1bcd7d8 commit 28c579a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/fluentui/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm
- Fix `Tooltip` flickering in multi-window use case @yuanboxue-amber ([#19235](https://github.com/microsoft/fluentui/pull/19235))
- Fix `Datepicker` input @yuanboxue-amber ([#19261](https://github.com/microsoft/fluentui/pull/19261))
- Fix `Dialog` styles border radius changed @bcalvery ([#19328](https://github.com/microsoft/fluentui/pull/19328))
- Fix `Menu` high contrast focus for submenus @notandrew ([#19393](https://github.com/microsoft/fluentui/pull/19393))
- Fix `Card` HC styles on hover @chassunc ([#19382](https://github.com/microsoft/fluentui/pull/19382))
- Add `AppsIcon`, `AppFolderIcon`, `PageFitIcon`, `SubtractIcon` @notandrew ([#19424](https://github.com/microsoft/fluentui/pull/19424))
- Fix `Dialog` background in teams dark v2 @chassunc ([#19434](https://github.com/microsoft/fluentui/pull/19434))
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,9 @@ export const menuItemWrapperStyles: ComponentSlotStylesPrepared<MenuItemWrapperS
// active styles
...(active && {
color: v.wrapperColorActive,
...(!underlined && {
background: v.backgroundColorActive,
}),

...(!underlined &&
on !== 'hover' && {
Expand Down

0 comments on commit 28c579a

Please sign in to comment.