xotahal / react-native-material-ui

Highly customizable material design components for React Native
MIT License
3.78k stars 609 forks source link

UiTheme: provide calculated darken and lighter tones #312

Open piranna opened 6 years ago

piranna commented 6 years ago

StatusBar requires to be one tone darker than the primaryColor. Seems to be also needed in other things, so why don't add on getTheme() some primaryColorDarker and primaryColorLighter attributes? Could be enough by calling darken(), or it would need to be one of the defined ones on colors.js?

ritesh-malav commented 6 years ago

You can set the status bar color in android theme. i think that will be set to all the pages.