garretyoder / Colorful

Android runtime theme library
Apache License 2.0
2.13k stars 193 forks source link

Add light grey and dark grey ThemeColors #16

Closed shgkshmz closed 6 years ago

shgkshmz commented 7 years ago

I added these two ThemeColors(for Light and Dark themes) since only black and grey are available in the color picker. The two colors are from the bottom-most part of this page -> https://material.io/guidelines/style/color.html#color-themes

Also, the context.getResources().getColor() method has been deprecated, so it has been replaced with ContextCompat.getColor().

Please review and consider.

garretyoder commented 7 years ago

This PR won't work, you'd have to create a accompanying style in https://github.com/garretyoder/Colorful/blob/master/library/src/main/res/values/styles.xml

shgkshmz commented 6 years ago

I have added another commit for the styles. Really sorry I took so long to respond.