Rocket.Chat.ReactNative/app/containers/message/styles.js

38 lines
643 B
JavaScript

import { StyleSheet, Platform } from 'react-native';
export default StyleSheet.create({
content: {
flexGrow: 1,
flexShrink: 1
},
message: {
padding: 12,
paddingTop: 6,
paddingBottom: 6,
flexDirection: 'row',
transform: [{ scaleY: -1 }]
},
textInfo: {
fontStyle: 'italic',
color: '#a0a0a0'
},
editing: {
backgroundColor: '#fff5df'
},
customEmoji: {
width: 16,
height: 16
},
codeStyle: {
...Platform.select({
ios: { fontFamily: 'Courier New' },
android: { fontFamily: 'monospace' }
}),
backgroundColor: '#f8f8f8',
borderColor: '#cccccc',
borderWidth: 1,
borderRadius: 5,
padding: 5
}
});