2018-02-08 14:08:50 +00:00
|
|
|
import { StyleSheet } from 'react-native';
|
2019-04-17 17:01:03 +00:00
|
|
|
|
2019-03-29 19:36:07 +00:00
|
|
|
import {
|
|
|
|
COLOR_SEPARATOR, COLOR_PRIMARY, COLOR_WHITE, COLOR_TEXT_DESCRIPTION
|
|
|
|
} from '../../constants/colors';
|
2019-04-17 17:01:03 +00:00
|
|
|
import { isIOS } from '../../utils/deviceInfo';
|
2019-03-29 19:36:07 +00:00
|
|
|
import sharedStyles from '../Styles';
|
2017-12-08 19:13:21 +00:00
|
|
|
|
|
|
|
export default StyleSheet.create({
|
|
|
|
container: {
|
|
|
|
flex: 1,
|
2019-03-29 19:36:07 +00:00
|
|
|
backgroundColor: COLOR_WHITE
|
2017-12-08 19:13:21 +00:00
|
|
|
},
|
|
|
|
safeAreaView: {
|
|
|
|
flex: 1
|
|
|
|
},
|
|
|
|
list: {
|
2019-03-27 20:06:57 +00:00
|
|
|
flex: 1
|
2017-12-08 19:13:21 +00:00
|
|
|
},
|
2019-03-29 19:36:07 +00:00
|
|
|
contentContainer: {
|
|
|
|
paddingTop: 10
|
|
|
|
},
|
2017-12-08 19:13:21 +00:00
|
|
|
separator: {
|
|
|
|
height: 1,
|
2019-03-27 20:06:57 +00:00
|
|
|
backgroundColor: COLOR_SEPARATOR
|
2017-12-08 19:13:21 +00:00
|
|
|
},
|
2019-04-17 17:01:03 +00:00
|
|
|
loading: {
|
|
|
|
flex: 1,
|
2018-04-24 19:34:03 +00:00
|
|
|
padding: 15,
|
2019-03-29 19:36:07 +00:00
|
|
|
color: COLOR_TEXT_DESCRIPTION
|
2018-01-17 16:42:30 +00:00
|
|
|
},
|
|
|
|
readOnly: {
|
2018-12-12 15:15:10 +00:00
|
|
|
justifyContent: 'flex-end',
|
|
|
|
alignItems: 'center',
|
|
|
|
marginVertical: 15
|
2018-05-24 20:17:45 +00:00
|
|
|
},
|
2018-01-30 19:48:26 +00:00
|
|
|
reactionPickerContainer: {
|
|
|
|
// width: width - 20,
|
|
|
|
// height: width - 20,
|
|
|
|
backgroundColor: '#F7F7F7',
|
|
|
|
borderRadius: 4,
|
|
|
|
flexDirection: 'column'
|
2018-07-18 20:34:59 +00:00
|
|
|
},
|
2018-09-19 14:18:32 +00:00
|
|
|
joinRoomContainer: {
|
|
|
|
justifyContent: 'flex-end',
|
|
|
|
alignItems: 'center',
|
|
|
|
marginVertical: 15
|
|
|
|
},
|
|
|
|
joinRoomButton: {
|
|
|
|
width: 107,
|
|
|
|
height: 44,
|
|
|
|
marginTop: 15,
|
|
|
|
flexDirection: 'row',
|
|
|
|
alignItems: 'center',
|
|
|
|
justifyContent: 'center',
|
2019-03-29 19:36:07 +00:00
|
|
|
backgroundColor: COLOR_PRIMARY,
|
|
|
|
borderRadius: 2
|
2018-09-19 14:18:32 +00:00
|
|
|
},
|
|
|
|
joinRoomText: {
|
2019-03-29 19:36:07 +00:00
|
|
|
color: COLOR_WHITE,
|
2018-09-19 14:18:32 +00:00
|
|
|
fontSize: 14,
|
2019-03-29 19:36:07 +00:00
|
|
|
...sharedStyles.textMedium
|
2018-09-19 14:18:32 +00:00
|
|
|
},
|
|
|
|
previewMode: {
|
|
|
|
fontSize: 16,
|
2019-03-29 19:36:07 +00:00
|
|
|
...sharedStyles.textMedium,
|
|
|
|
...sharedStyles.textColorNormal
|
2019-04-17 17:01:03 +00:00
|
|
|
},
|
|
|
|
headerTitleContainerStyle: {
|
|
|
|
justifyContent: 'flex-start',
|
|
|
|
left: isIOS ? 40 : 50
|
2017-12-08 19:13:21 +00:00
|
|
|
}
|
|
|
|
});
|