2018-01-16 18:48:05 +00:00
|
|
|
import { StyleSheet, Platform } from 'react-native';
|
2018-01-09 17:12:55 +00:00
|
|
|
|
|
|
|
export default StyleSheet.create({
|
2018-04-24 19:34:03 +00:00
|
|
|
messageContent: {
|
|
|
|
flex: 1,
|
|
|
|
marginLeft: 30
|
2018-01-09 17:12:55 +00:00
|
|
|
},
|
2018-02-08 14:08:50 +00:00
|
|
|
flex: {
|
|
|
|
flexDirection: 'row',
|
|
|
|
flex: 1
|
|
|
|
},
|
2018-01-09 17:12:55 +00:00
|
|
|
message: {
|
2018-04-24 19:34:03 +00:00
|
|
|
paddingHorizontal: 12,
|
|
|
|
paddingVertical: 3,
|
|
|
|
flexDirection: 'column',
|
|
|
|
transform: [{ scaleY: -1 }],
|
|
|
|
flex: 1
|
2018-01-09 17:12:55 +00:00
|
|
|
},
|
|
|
|
textInfo: {
|
|
|
|
fontStyle: 'italic',
|
|
|
|
color: '#a0a0a0'
|
|
|
|
},
|
|
|
|
editing: {
|
|
|
|
backgroundColor: '#fff5df'
|
2018-01-16 18:48:05 +00:00
|
|
|
},
|
|
|
|
customEmoji: {
|
|
|
|
width: 16,
|
|
|
|
height: 16
|
|
|
|
},
|
2018-04-24 19:34:03 +00:00
|
|
|
temp: { opacity: 0.3 },
|
2018-01-16 18:48:05 +00:00
|
|
|
codeStyle: {
|
|
|
|
...Platform.select({
|
|
|
|
ios: { fontFamily: 'Courier New' },
|
|
|
|
android: { fontFamily: 'monospace' }
|
|
|
|
}),
|
|
|
|
backgroundColor: '#f8f8f8',
|
|
|
|
borderColor: '#cccccc',
|
|
|
|
borderWidth: 1,
|
|
|
|
borderRadius: 5,
|
|
|
|
padding: 5
|
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
|
|
|
},
|
|
|
|
reactionContainer: {
|
|
|
|
flexDirection: 'row',
|
|
|
|
justifyContent: 'center',
|
|
|
|
alignItems: 'center',
|
2018-07-18 20:34:59 +00:00
|
|
|
paddingHorizontal: 10,
|
|
|
|
paddingVertical: 5,
|
2018-01-30 19:48:26 +00:00
|
|
|
borderRadius: 4,
|
2018-07-18 20:34:59 +00:00
|
|
|
marginRight: 10,
|
|
|
|
marginBottom: 10,
|
|
|
|
maxHeight: 28,
|
|
|
|
backgroundColor: '#E8F2FF'
|
|
|
|
},
|
|
|
|
addReactionContainer: {
|
|
|
|
paddingHorizontal: 15
|
2018-01-30 19:48:26 +00:00
|
|
|
},
|
|
|
|
reactionCount: {
|
2018-07-18 20:34:59 +00:00
|
|
|
fontSize: 14,
|
|
|
|
marginLeft: 3,
|
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-07-18 20:34:59 +00:00
|
|
|
fontSize: 14
|
2018-01-30 19:48:26 +00:00
|
|
|
},
|
|
|
|
reactionCustomEmoji: {
|
2018-07-18 20:34:59 +00:00
|
|
|
width: 20,
|
|
|
|
height: 20
|
2018-02-08 14:08:50 +00:00
|
|
|
},
|
|
|
|
avatar: {
|
|
|
|
marginRight: 10
|
2018-04-24 19:34:03 +00:00
|
|
|
},
|
|
|
|
reactedContainer: {
|
2018-07-18 20:34:59 +00:00
|
|
|
borderWidth: 0,
|
|
|
|
backgroundColor: '#D1DAE6'
|
2018-04-24 19:34:03 +00:00
|
|
|
},
|
|
|
|
errorIcon: {
|
|
|
|
padding: 10,
|
|
|
|
paddingRight: 12,
|
|
|
|
paddingLeft: 0
|
2018-05-24 20:17:45 +00:00
|
|
|
},
|
|
|
|
broadcastButton: {
|
|
|
|
borderColor: '#1d74f5',
|
|
|
|
borderWidth: 2,
|
|
|
|
borderRadius: 2,
|
|
|
|
paddingVertical: 10,
|
|
|
|
width: 100,
|
|
|
|
alignItems: 'center',
|
|
|
|
justifyContent: 'center',
|
|
|
|
marginTop: 6
|
|
|
|
},
|
|
|
|
broadcastButtonText: {
|
|
|
|
color: '#1d74f5'
|
2018-05-29 17:09:20 +00:00
|
|
|
},
|
|
|
|
mention: {
|
|
|
|
color: '#13679a'
|
|
|
|
},
|
|
|
|
paragraph: {
|
|
|
|
marginTop: 0,
|
|
|
|
marginBottom: 0,
|
|
|
|
flexWrap: 'wrap',
|
|
|
|
flexDirection: 'row',
|
|
|
|
alignItems: 'flex-start',
|
|
|
|
justifyContent: 'flex-start'
|
2018-01-09 17:12:55 +00:00
|
|
|
}
|
|
|
|
});
|