Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions common/changes/phkuo-semanticMenus_2017-05-02-22-02.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"changes": [
{
"packageName": "office-ui-fabric-react",
"comment": "ContextMenu: fix a potential bug. All foreground colors need to be slots in the same category because the category has its own background color, in order to insure accessibility.",
"type": "patch"
}
],
"email": "phkuo@microsoft.com"
}
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ $menuBackgroundSelectedColor: $ms-color-neutralQuaternaryAlt;

$menuTextColor: $ms-color-neutralPrimary;
$menuTextSelectedColor: $ms-color-black;
$menuTextDisabledColor: $ms-color-neutralTertiaryAlt;

$menuIconColor: $ms-color-themePrimary;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ $ContextualMenu-header-color: $menuHeaderColor;

$ContextualMenu-divider-color: $menuDividerColor;

$ContextualMenu-text-disabled: $disabledTextColor;
$ContextualMenu-text-disabled: $menuTextDisabledColor;
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is changing the color from $ms-color-neutralTertiary to $ms-color-neutralTertiaryAlt, is that purposeful?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes, it aligns with what I have in other files
(and we'll have to design review it soon anyways)


.root {
background-color: $ContextualMenu-background-color;
Expand Down