Created
September 8, 2019 15:41
-
-
Save flopshot/22a63fcf403d9156f8298751fd724e25 to your computer and use it in GitHub Desktop.
App Component Style
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// AppTheme.tsx | |
import { StyleSheet } from 'react-native'; | |
import whiteLabelConfig from './whitelabel/WhiteLabelConfig'; | |
export default StyleSheet.create({ | |
screen: { | |
flex: 1, | |
justifyContent: 'center', | |
backgroundColor: whiteLabelConfig.PRIMARY_COLOR | |
}, | |
title: { | |
paddingHorizontal: 16, | |
color: '#657b83', | |
fontSize: 20, | |
fontWeight: 'bold', | |
}, | |
container: { | |
paddingTop: 60, | |
alignItems: 'center' | |
}, | |
greeting: { | |
height: 100, | |
width: 200, | |
borderWidth: 1, | |
borderColor: '#657b83', | |
margin: 16, | |
justifyContent: 'center', | |
alignItems: 'center' | |
}, | |
greetingText: { | |
color: whiteLabelConfig.PRIMARY_TEXT_COLOR | |
} | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment