Skip to content

Instantly share code, notes, and snippets.

@youneshenniwrites
Created January 13, 2019 11:10
Show Gist options
  • Save youneshenniwrites/1329f90d244b8c5bad6e576ddbfa82ce to your computer and use it in GitHub Desktop.
Save youneshenniwrites/1329f90d244b8c5bad6e576ddbfa82ce to your computer and use it in GitHub Desktop.
Styles of the sign in page for RNAuthAWS
const styles = StyleSheet.create({
container: {
flex: 1,
backgroundColor: '#aa73b7',
justifyContent: 'center',
flexDirection: 'column'
},
input: {
flex: 1,
fontSize: 17,
fontWeight: 'bold',
color: '#5a52a5',
},
infoContainer: {
position: 'absolute',
left: 0,
right: 0,
height: 200,
bottom: 25,
flexDirection: 'row',
justifyContent: 'center',
alignItems: 'center',
paddingHorizontal: 30,
backgroundColor: '#aa73b7',
},
itemStyle: {
marginBottom: 20,
},
iconStyle: {
color: '#5a52a5',
fontSize: 28,
marginLeft: 15
},
buttonStyle: {
alignItems: 'center',
backgroundColor: '#667292',
padding: 14,
marginBottom: 20,
borderRadius: 24,
},
buttonText: {
fontSize: 18,
fontWeight: 'bold',
color: "#fff",
},
logoContainer: {
position: 'absolute',
left: 0,
right: 0,
height: 400,
bottom: 180,
alignItems: 'center',
justifyContent: 'center',
flex: 1,
},
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment