This repository was archived by the owner on Sep 5, 2024. It is now read-only.
This repository was archived by the owner on Sep 5, 2024. It is now read-only.
menu: assigning a color to backgroundPalette renders menu unreadable #9100
Closed
Description
Actual Behavior:
What is the issue? *
When we assign a color (say blue) to backgroundPalette, the text on md-menu is not barely readable.What is the expected behavior?
The color should either be white or black based on the contrastDefaultColor property.
CodePen (or steps to reproduce the issue): *
CodePen Demo which shows your issue:
http://codepen.io/vrathore42/pen/oLqdxpDetails:
I used the same colors used to define the blue palette and assigned it to customeBlue. I am assigning this pallet to the backgroundPalette property. Since contrastDefaultColor is "light"i would expect the md-menu text to be white. But that's not the case.
Angular Versions: *
Angular Version:
Angular Material Version:
1.1.0-rc.5
Additional Information:
Browser Type: *
chromeBrowser Version: *
51.0.2704.103 (64-bit)OS: *
OS X 10.11.6 (El Capitan)Stack Traces:
na