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',
|
|
|
|
marginTop: 6
|
2018-01-30 19:48:26 +00:00
|
|
|
},
|
|
|
|
reactionContainer: {
|
|
|
|
flexDirection: 'row',
|
|
|
|
justifyContent: 'center',
|
|
|
|
alignItems: 'center',
|
|
|
|
padding: 3,
|
|
|
|
borderWidth: 1,
|
|
|
|
borderColor: '#cccccc',
|
|
|
|
borderRadius: 4,
|
|
|
|
marginRight: 5,
|
|
|
|
marginBottom: 5,
|
|
|
|
height: 23,
|
|
|
|
width: 35
|
|
|
|
},
|
|
|
|
reactionCount: {
|
|
|
|
fontSize: 12,
|
|
|
|
marginLeft: 2,
|
|
|
|
fontWeight: '600',
|
|
|
|
color: '#aaaaaa'
|
|
|
|
},
|
|
|
|
reactionEmoji: {
|
|
|
|
fontSize: 12
|
|
|
|
},
|
|
|
|
reactionCustomEmoji: {
|
|
|
|
width: 15,
|
|
|
|
height: 15
|
2018-02-08 14:08:50 +00:00
|
|
|
},
|
|
|
|
avatar: {
|
|
|
|
marginRight: 10
|
2018-04-24 19:34:03 +00:00
|
|
|
},
|
|
|
|
reactedContainer: {
|
|
|
|
borderColor: '#bde1fe',
|
|
|
|
backgroundColor: '#f3f9ff'
|
|
|
|
},
|
|
|
|
reactedCountText: {
|
|
|
|
color: '#4fb0fc'
|
|
|
|
},
|
|
|
|
errorIcon: {
|
|
|
|
padding: 10,
|
|
|
|
paddingRight: 12,
|
|
|
|
paddingLeft: 0
|
2018-01-09 17:12:55 +00:00
|
|
|
}
|
|
|
|
});
|