material icon indicating copy to clipboard operation
material copied to clipboard

The md-select placeholder doesn't have the right opacity

Open nmichaud2 opened this issue 11 years ago • 5 comments

The opacity of the md-select placeholder is at 54%: https://material.angularjs.org/#/demo/material.components.select

Shouldn't it be 26% for hint texts: http://www.google.com/design/spec/style/color.html#color-ui-color-application

I would expect the placeholder to have the same color as the labels in input containers.

nmichaud2 avatar May 14 '15 19:05 nmichaud2

The issue, then, is discerning a disabled select from a non-disabled one. Ie. if two selects are next to each other you would expect the disabled one to be lighter. For that reason we went with the 54%. I'm open to opinions to the contrary, but this seems reasonable to me. I do agree that labels should probably be the same color. Will talk about it with the team.

rschmukler avatar May 18 '15 17:05 rschmukler

@nmichaud2 has a good point that they should match. @rschmukler, to help discern disabled selects, they should get the same dotted line treatment that inputs get.

joeyperson avatar May 20 '15 17:05 joeyperson

Just to visualise the problem with opacity(there are other issues with placeholders in general): screen shot 2015-06-18 at 20 03 40

websirnik avatar Jun 18 '15 19:06 websirnik

@websirnik - can you submit your sample as a CodePen demo? I will validate fixes with that...

ThomasBurleson avatar Jun 30 '15 16:06 ThomasBurleson

@ThomasBurleson I brought these into line in e9f5a997abcf9cc8f3c6a311320aa9bf0ed7c56c. Sorry I missed closing this issue.

rschmukler avatar Jun 30 '15 17:06 rschmukler