2019-03-01 16:49:11 +00:00
|
|
|
import { StyleSheet } from 'react-native';
|
2018-01-09 17:12:55 +00:00
|
|
|
|
|
|
|
export default StyleSheet.create({
|
2018-11-16 11:06:29 +00:00
|
|
|
root: {
|
|
|
|
flexDirection: 'row'
|
|
|
|
},
|
2018-09-11 16:32:52 +00:00
|
|
|
container: {
|
2018-11-16 11:06:29 +00:00
|
|
|
paddingVertical: 5,
|
2019-02-27 14:47:15 +00:00
|
|
|
width: '100%',
|
2019-03-01 16:49:11 +00:00
|
|
|
paddingHorizontal: 15,
|
2019-02-27 14:47:15 +00:00
|
|
|
flexDirection: 'column',
|
|
|
|
transform: [{ scaleY: -1 }],
|
|
|
|
flex: 1
|
2018-09-11 16:32:52 +00:00
|
|
|
},
|
2018-04-24 19:34:03 +00:00
|
|
|
messageContent: {
|
|
|
|
flex: 1,
|
2019-03-01 16:49:11 +00:00
|
|
|
marginLeft: 46
|
2018-09-11 16:32:52 +00:00
|
|
|
},
|
2018-11-16 11:06:29 +00:00
|
|
|
messageContentWithHeader: {
|
2019-03-01 16:49:11 +00:00
|
|
|
marginLeft: 10
|
2018-01-09 17:12:55 +00:00
|
|
|
},
|
2018-11-16 11:06:29 +00:00
|
|
|
messageContentWithError: {
|
|
|
|
marginLeft: 0
|
|
|
|
},
|
2018-02-08 14:08:50 +00:00
|
|
|
flex: {
|
|
|
|
flexDirection: 'row',
|
|
|
|
flex: 1
|
|
|
|
},
|
2018-01-09 17:12:55 +00:00
|
|
|
textInfo: {
|
|
|
|
fontStyle: 'italic',
|
2018-09-11 16:32:52 +00:00
|
|
|
color: '#a0a0a0',
|
|
|
|
fontSize: 16
|
2018-01-09 17:12:55 +00:00
|
|
|
},
|
|
|
|
editing: {
|
|
|
|
backgroundColor: '#fff5df'
|
2018-01-16 18:48:05 +00:00
|
|
|
},
|
|
|
|
customEmoji: {
|
2018-09-11 16:32:52 +00:00
|
|
|
width: 20,
|
|
|
|
height: 20
|
2018-01-16 18:48:05 +00:00
|
|
|
},
|
2018-04-24 19:34:03 +00:00
|
|
|
temp: { opacity: 0.3 },
|
2018-11-16 11:06:29 +00:00
|
|
|
marginBottom: {
|
|
|
|
marginBottom: 10
|
|
|
|
},
|
2018-01-30 19:48:26 +00:00
|
|
|
reactionsContainer: {
|
|
|
|
flexDirection: 'row',
|
2018-04-24 19:34:03 +00:00
|
|
|
flexWrap: 'wrap',
|
2018-07-18 20:34:59 +00:00
|
|
|
marginTop: 10
|
2018-01-30 19:48:26 +00:00
|
|
|
},
|
2018-09-19 14:18:32 +00:00
|
|
|
reactionButton: {
|
|
|
|
marginRight: 10,
|
|
|
|
marginBottom: 10,
|
2019-03-01 16:49:11 +00:00
|
|
|
borderRadius: 2
|
2018-09-19 14:18:32 +00:00
|
|
|
},
|
2018-01-30 19:48:26 +00:00
|
|
|
reactionContainer: {
|
|
|
|
flexDirection: 'row',
|
|
|
|
justifyContent: 'center',
|
|
|
|
alignItems: 'center',
|
|
|
|
borderRadius: 4,
|
2018-09-11 16:32:52 +00:00
|
|
|
borderWidth: 1.5,
|
|
|
|
borderColor: '#e1e5e8',
|
|
|
|
height: 28,
|
2018-09-19 14:18:32 +00:00
|
|
|
minWidth: 46
|
|
|
|
},
|
|
|
|
reactedContainer: {
|
|
|
|
borderColor: '#1d74f580'
|
2018-01-30 19:48:26 +00:00
|
|
|
},
|
|
|
|
reactionCount: {
|
2018-07-18 20:34:59 +00:00
|
|
|
fontSize: 14,
|
|
|
|
marginLeft: 3,
|
2018-09-11 16:32:52 +00:00
|
|
|
marginRight: 8.5,
|
2018-01-30 19:48:26 +00:00
|
|
|
fontWeight: '600',
|
2018-07-18 20:34:59 +00:00
|
|
|
color: '#1D74F5'
|
2018-01-30 19:48:26 +00:00
|
|
|
},
|
|
|
|
reactionEmoji: {
|
2018-09-11 16:32:52 +00:00
|
|
|
fontSize: 13,
|
|
|
|
marginLeft: 7
|
2018-01-30 19:48:26 +00:00
|
|
|
},
|
|
|
|
reactionCustomEmoji: {
|
2018-09-11 16:32:52 +00:00
|
|
|
width: 19,
|
|
|
|
height: 19,
|
|
|
|
marginLeft: 7
|
2018-02-08 14:08:50 +00:00
|
|
|
},
|
|
|
|
avatar: {
|
2018-09-11 16:32:52 +00:00
|
|
|
marginTop: 5
|
2018-04-24 19:34:03 +00:00
|
|
|
},
|
2018-09-11 16:32:52 +00:00
|
|
|
addReaction: {
|
2019-03-01 16:49:11 +00:00
|
|
|
color: '#1D74F5'
|
2018-04-24 19:34:03 +00:00
|
|
|
},
|
2018-11-16 11:06:29 +00:00
|
|
|
errorButton: {
|
|
|
|
paddingHorizontal: 15,
|
|
|
|
paddingVertical: 5
|
2018-05-24 20:17:45 +00:00
|
|
|
},
|
|
|
|
broadcastButton: {
|
2018-09-11 16:32:52 +00:00
|
|
|
width: 107,
|
|
|
|
height: 44,
|
2018-09-19 14:18:32 +00:00
|
|
|
marginTop: 15,
|
2018-09-11 16:32:52 +00:00
|
|
|
flex: 1,
|
|
|
|
flexDirection: 'row',
|
2018-05-24 20:17:45 +00:00
|
|
|
alignItems: 'center',
|
|
|
|
justifyContent: 'center',
|
2018-09-11 16:32:52 +00:00
|
|
|
backgroundColor: '#1d74f5',
|
|
|
|
borderRadius: 4
|
|
|
|
},
|
|
|
|
broadcastButtonIcon: {
|
2019-03-01 16:49:11 +00:00
|
|
|
color: '#fff',
|
2018-09-11 16:32:52 +00:00
|
|
|
marginRight: 11
|
2018-05-24 20:17:45 +00:00
|
|
|
},
|
|
|
|
broadcastButtonText: {
|
2018-09-11 16:32:52 +00:00
|
|
|
color: '#fff',
|
|
|
|
fontSize: 14,
|
|
|
|
fontWeight: '500'
|
2018-05-29 17:09:20 +00:00
|
|
|
},
|
|
|
|
mention: {
|
2018-09-11 16:32:52 +00:00
|
|
|
color: '#0072FE',
|
|
|
|
fontWeight: '500',
|
|
|
|
padding: 5,
|
|
|
|
backgroundColor: '#E8F2FF'
|
|
|
|
},
|
|
|
|
mentionLoggedUser: {
|
|
|
|
color: '#fff',
|
|
|
|
backgroundColor: '#1D74F5'
|
|
|
|
},
|
|
|
|
mentionAll: {
|
|
|
|
color: '#fff',
|
|
|
|
backgroundColor: '#FF5B5A'
|
2018-05-29 17:09:20 +00:00
|
|
|
},
|
|
|
|
paragraph: {
|
|
|
|
marginTop: 0,
|
|
|
|
marginBottom: 0,
|
|
|
|
flexWrap: 'wrap',
|
|
|
|
flexDirection: 'row',
|
|
|
|
alignItems: 'flex-start',
|
|
|
|
justifyContent: 'flex-start'
|
2018-08-01 19:35:06 +00:00
|
|
|
},
|
|
|
|
imageContainer: {
|
|
|
|
flex: 1,
|
2019-03-01 16:49:11 +00:00
|
|
|
flexDirection: 'column',
|
|
|
|
borderColor: '#F3F4F5',
|
|
|
|
borderWidth: 1,
|
|
|
|
borderRadius: 4
|
2018-08-01 19:35:06 +00:00
|
|
|
},
|
|
|
|
image: {
|
|
|
|
width: '100%',
|
|
|
|
maxWidth: 400,
|
2018-09-11 16:32:52 +00:00
|
|
|
minHeight: 200,
|
|
|
|
borderRadius: 4,
|
|
|
|
marginBottom: 10
|
2018-08-01 19:35:06 +00:00
|
|
|
},
|
|
|
|
inlineImage: {
|
|
|
|
width: 300,
|
|
|
|
height: 300,
|
|
|
|
resizeMode: 'contain'
|
2018-09-11 16:32:52 +00:00
|
|
|
},
|
|
|
|
edited: {
|
|
|
|
fontSize: 14,
|
|
|
|
color: '#9EA2A8'
|
2018-01-09 17:12:55 +00:00
|
|
|
}
|
|
|
|
});
|