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

72 lines
1.2 KiB
JavaScript
Raw Normal View History

2019-03-12 16:23:06 +00:00
import { StyleSheet } from 'react-native';
2019-03-27 20:06:57 +00:00
import { COLOR_SEPARATOR } from '../../constants/colors';
2019-03-12 16:23:06 +00:00
export default StyleSheet.create({
container: {
flex: 1,
backgroundColor: '#fff'
},
item: {
flexDirection: 'row',
alignItems: 'center'
},
itemCurrent: {
backgroundColor: '#E1E5E8'
},
itemLeft: {
marginHorizontal: 10,
width: 30,
alignItems: 'center'
},
itemCenter: {
flex: 1
},
itemText: {
marginVertical: 16,
fontWeight: 'bold',
color: '#292E35'
},
separator: {
borderBottomWidth: StyleSheet.hairlineWidth,
2019-03-27 20:06:57 +00:00
borderColor: COLOR_SEPARATOR,
2019-03-12 16:23:06 +00:00
marginVertical: 4
},
header: {
paddingVertical: 16,
flexDirection: 'row',
alignItems: 'center'
},
headerTextContainer: {
flex: 1,
flexDirection: 'column',
alignItems: 'flex-start'
},
headerUsername: {
flexDirection: 'row',
alignItems: 'center'
},
headerIcon: {
paddingHorizontal: 10,
color: '#292E35'
},
avatar: {
marginHorizontal: 10
},
status: {
marginRight: 5
},
currentServerText: {
fontWeight: 'bold'
},
version: {
marginHorizontal: 5,
marginBottom: 5,
fontWeight: '600',
color: '#292E35',
fontSize: 13
},
inverted: {
transform: [{ scaleY: -1 }]
}
});