Rocket.Chat.ReactNative/app/containers/ServerItem/styles.ts

34 lines
582 B
TypeScript
Raw Normal View History

2019-07-18 17:44:02 +00:00
import { StyleSheet } from 'react-native';
import sharedStyles from '../../views/Styles';
export const ROW_HEIGHT = 56;
export default StyleSheet.create({
serverItemContainer: {
flexDirection: 'row',
alignItems: 'center'
},
serverIcon: {
2019-07-29 16:33:28 +00:00
width: 44,
height: 44,
margin: 12,
borderRadius: 4,
resizeMode: 'contain'
2019-07-18 17:44:02 +00:00
},
serverTextContainer: {
flex: 1,
flexDirection: 'column',
justifyContent: 'center',
paddingRight: 18
2019-07-18 17:44:02 +00:00
},
serverName: {
fontSize: 18,
...sharedStyles.textSemibold
},
serverUrl: {
fontSize: 16,
2019-07-18 17:44:02 +00:00
...sharedStyles.textRegular
}
});