Rocket.Chat.ReactNative/app/views/RoomActionsView/styles.ts

35 lines
719 B
TypeScript
Raw Normal View History

import { I18nManager, StyleSheet } from 'react-native';
2019-03-29 19:36:07 +00:00
import { PADDING_HORIZONTAL } from '../../containers/List/constants';
2019-03-29 19:36:07 +00:00
import sharedStyles from '../Styles';
export default StyleSheet.create({
roomInfoContainer: {
paddingHorizontal: PADDING_HORIZONTAL,
flexDirection: 'row',
alignItems: 'center'
},
avatar: {
marginRight: PADDING_HORIZONTAL
},
roomTitleContainer: {
flex: 1
},
roomTitle: {
2019-03-29 19:36:07 +00:00
fontSize: 16,
...sharedStyles.textMedium
},
roomDescription: {
2019-03-29 19:36:07 +00:00
fontSize: 13,
...sharedStyles.textRegular
},
roomTitleRow: {
paddingRight: 16,
flexDirection: 'row',
alignItems: 'center'
},
actionIndicator: {
...(I18nManager.isRTL ? { transform: [{ rotate: '180deg' }] } : {})
}
});