fluentui icon indicating copy to clipboard operation
fluentui copied to clipboard

ContextMenu should declare a font color instead of inheriting

Open phkuo opened this issue 8 years ago • 2 comments

Priorities and help requested:

Are you willing to submit a PR to fix? Yes, but not for a few weeks

Requested priority: Low

Products/sites affected: SP emphasized headers, context menus are no emphasized but pick up emphasized text colors

The context menu has its own background color, therefore it should also declare its own foreground/text colors. Otherwise it could inherit text color from a highlighted section of the page that has white text, which would be illegible.

phkuo avatar Aug 08 '18 23:08 phkuo

I have the fix for this, just waiting for #6094 to merge for cleaner PR. Assuming we want this defined on linkContent as that made the most sense to me -- could be wrong tho.

KevinTCoughlin avatar Aug 15 '18 20:08 KevinTCoughlin

@KevinTCoughlin I would put it on the root, sometimes menus have subheaders too (not sure if ours does though). It just makes sense since if you declare a background, you should declare the foreground too.

phkuo avatar Aug 15 '18 20:08 phkuo