Skip to content

Instantly share code, notes, and snippets.

@youneshenniwrites
Created January 4, 2019 12:36
Show Gist options
  • Save youneshenniwrites/ac005e46b35bc86b1f4a133f69d1d9c3 to your computer and use it in GitHub Desktop.
Save youneshenniwrites/ac005e46b35bc86b1f4a133f69d1d9c3 to your computer and use it in GitHub Desktop.
Final styling of the phone input app
const styles = StyleSheet.create({
container: {
flex: 1,
backgroundColor: '#aa73b7',
justifyContent: 'center',
flexDirection: 'column'
},
infoContainer: {
position: 'absolute',
left: 0,
right: 0,
height: 200,
bottom: 250,
flexDirection: 'row',
justifyContent: 'center',
alignItems: 'center',
paddingHorizontal: 30,
backgroundColor: '#aa73b7',
},
iconStyle: {
color: '#5a52a5',
fontSize: 28,
marginLeft: 15
},
itemStyle: {
marginBottom: 10,
},
inputStyle: {
flex: 1,
fontSize: 17,
fontWeight: 'bold',
color: '#5a52a5',
},
textStyle: {
padding: 5,
fontSize: 18
},
countryStyle: {
flex: 1,
backgroundColor: '#99ff',
borderTopColor: '#211f',
borderTopWidth: 1,
padding: 12,
},
closeButtonStyle: {
flex: 1,
padding: 12,
alignItems: 'center',
borderTopWidth: 1,
borderTopColor: '#211f',
backgroundColor: '#fff3',
}
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment