Created
December 14, 2018 18:19
-
-
Save youneshenniwrites/7204a4503b704eae6567b4a69687aa4a to your computer and use it in GitHub Desktop.
Styling file for Zopher
This file contains hidden or 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
import { StyleSheet, Dimensions } from 'react-native' | |
// Get the width of the device | |
let { width } = Dimensions.get('window') | |
const styles = StyleSheet.create({ | |
container: { | |
backgroundColor: '#fff', | |
alignItems: 'center', | |
justifyContent: 'center', | |
}, | |
headerStyle: { | |
alignItems: 'center', | |
justifyContent: 'center', | |
padding: 13, | |
borderBottomWidth: 2, | |
borderBottomColor: '#3354fd' | |
}, | |
postUsername: { | |
fontSize: 18, | |
color: '#3354fd' | |
}, | |
postBody: { | |
fontSize: 24, | |
color: '#1986f9' | |
}, | |
buttonStyle : { | |
marginLeft: 21, | |
marginRight: 21, | |
padding: 22, | |
}, | |
cardStyle: { | |
backgroundColor: '#ffdddddd', | |
borderBottomWidth: 5, | |
borderBottomColor: '#3354fd', | |
padding: 10, | |
alignItems: 'center', | |
justifyContent: 'center', | |
width: width * 0.95, | |
marginTop: 10 | |
}, | |
cardFooterStyle: { | |
flexDirection: 'row', | |
justifyContent: 'center', | |
alignItems: 'flex-end', | |
} | |
}); | |
export default styles |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment