shuhei / material-colors

Colors of Google's Material Design made available to coders
https://shuheikagawa.com/material-colors/
ISC License
270 stars 41 forks source link

Missing text color (w/b) for each background fill color. #5

Closed hakunin closed 6 years ago

hakunin commented 8 years ago

Hi, one important piece thats missing here are the foreground colors (at least not present in the JSON file).

shuhei commented 8 years ago

Which one in the Material Design website do you mean? Do you mind giving me some examples?

hakunin commented 8 years ago

Sure, if you look at the pallete, the colors have each either black or white text and this is different throughout the color scheme (blue's white text starts at 500, while indigo uses white from 300). https://www.dropbox.com/s/dtk89mroi5z4maz/Screenshot%202016-02-18%2010.03.25.png?dl=0

shuhei commented 8 years ago

Got it! So they are either black or white of alpha 0.87. I'll think about how to encode the information to json, js and css variants. Thanks!

shuhei commented 6 years ago

I assume that this was fixed by #8. Please feel free to reopen it if it's not.