Rocket.Chat.ReactNative/app/views/SidebarView/styles.js

71 lines
1.1 KiB
JavaScript
Raw Normal View History

2019-03-12 16:23:06 +00:00
import { StyleSheet } from 'react-native';
2019-03-29 19:36:07 +00:00
import sharedStyles from '../Styles';
2019-03-12 16:23:06 +00:00
export default StyleSheet.create({
container: {
2019-12-04 16:39:53 +00:00
flex: 1
2019-03-12 16:23:06 +00:00
},
item: {
flexDirection: 'row',
alignItems: 'center'
},
itemCurrent: {
backgroundColor: '#E1E5E8'
},
itemHorizontal: {
2019-03-12 16:23:06 +00:00
marginHorizontal: 10,
width: 30,
alignItems: 'center'
},
itemCenter: {
flex: 1
},
itemText: {
marginVertical: 16,
2019-03-29 19:36:07 +00:00
fontSize: 14,
2019-12-04 16:39:53 +00:00
...sharedStyles.textSemibold
2019-03-12 16:23:06 +00:00
},
separator: {
borderBottomWidth: StyleSheet.hairlineWidth,
marginVertical: 4
},
header: {
paddingVertical: 16,
flexDirection: 'row',
alignItems: 'center'
},
headerTextContainer: {
flex: 1,
flexDirection: 'column',
alignItems: 'flex-start'
},
headerUsername: {
flexDirection: 'row',
alignItems: 'center'
},
2019-03-29 19:36:07 +00:00
username: {
fontSize: 14,
...sharedStyles.textMedium
},
2019-03-12 16:23:06 +00:00
avatar: {
marginHorizontal: 10
},
status: {
marginRight: 5
},
currentServerText: {
2019-03-29 19:36:07 +00:00
fontSize: 14,
...sharedStyles.textSemibold
2019-03-12 16:23:06 +00:00
},
version: {
2019-03-29 19:36:07 +00:00
marginHorizontal: 10,
marginBottom: 10,
fontSize: 13,
...sharedStyles.textSemibold
2019-03-12 16:23:06 +00:00
},
inverted: {
transform: [{ scaleY: -1 }]
}
});