verdnatura-chat/app/views/ShareListView/styles.js

75 lines
1.5 KiB
JavaScript
Raw Normal View History

2019-07-18 17:44:02 +00:00
import { StyleSheet } from 'react-native';
import { isIOS } from '../../utils/deviceInfo';
import sharedStyles from '../Styles';
import {
COLOR_BACKGROUND_CONTAINER, COLOR_WHITE, COLOR_DANGER
} from '../../constants/colors';
export default StyleSheet.create({
container: {
flex: 1,
backgroundColor: COLOR_BACKGROUND_CONTAINER
},
2019-07-29 16:33:28 +00:00
emptyContainer: {
padding: 20,
justifyContent: 'center',
alignItems: 'center'
},
2019-07-18 17:44:02 +00:00
content: {
flex: 1,
2019-07-29 16:33:28 +00:00
backgroundColor: isIOS ? COLOR_WHITE : '#E1E5E8',
justifyContent: 'center',
alignItems: 'center'
},
centered: {
justifyContent: 'center',
alignItems: 'center'
2019-07-18 17:44:02 +00:00
},
flatlist: {
2019-07-29 16:33:28 +00:00
marginTop: isIOS ? 6 : 0, // the height of the navigation bar with the searchbar is larger
2019-07-18 17:44:02 +00:00
width: '100%',
2019-07-29 16:33:28 +00:00
backgroundColor: COLOR_BACKGROUND_CONTAINER
2019-07-18 17:44:02 +00:00
},
bordered: {
...sharedStyles.separatorVertical
},
2019-07-29 16:33:28 +00:00
borderBottom: {
...sharedStyles.separatorBottom
2019-07-18 17:44:02 +00:00
},
headerContainer: {
paddingHorizontal: 15,
backgroundColor: COLOR_BACKGROUND_CONTAINER,
paddingBottom: 10,
paddingTop: 17
},
headerText: {
...sharedStyles.textColorNormal,
...sharedStyles.textRegular,
fontSize: 17,
2019-07-29 16:33:28 +00:00
letterSpacing: 0.27
2019-07-18 17:44:02 +00:00
},
separator: {
...sharedStyles.separatorBottom,
marginLeft: 48
},
loading: {
flex: 1
},
errorIcon: {
color: COLOR_DANGER
},
fileMime: {
...sharedStyles.textColorNormal,
...sharedStyles.textBold,
...sharedStyles.textAlignCenter,
fontSize: 20,
marginBottom: 20
},
title: {
fontSize: 14,
...sharedStyles.textColorTitle,
...sharedStyles.textBold
}
});