react-native-material-design icon indicating copy to clipboard operation
react-native-material-design copied to clipboard

Changing background color of button and toolbar

Open gerardus1995 opened this issue 8 years ago • 2 comments

I dont know if i'm doing the right way, but im trying to change the button and toolbar background color and my app doesn't give me any error but the color is still the default. I'm doing -->

            <Button 
                onPress={this.gotoNext.bind(this)}
                text='Login' 
                theme = 'dark'
                textColor  = 'white'
                raised={true} 
                overrides={{backgroundColor: 'red'}}
            />

And the color is blue not red as im asking. Any idea or solution?? thanks

gerardus1995 avatar Jul 01 '16 09:07 gerardus1995

use the primary colors defined in this library

chuan137 avatar Oct 26 '16 04:10 chuan137

Is it possible to set custom color?

piotr-cz avatar Jun 26 '17 12:06 piotr-cz