verdnatura-chat/app/views/SidebarView/styles.js

82 lines
1.5 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 { COLOR_SEPARATOR, COLOR_WHITE } from '../../constants/colors';
import sharedStyles from '../Styles';
2019-03-12 16:23:06 +00:00
export default StyleSheet.create({
container: {
flex: 1,
2019-03-29 19:36:07 +00:00
backgroundColor: COLOR_WHITE
2019-03-12 16:23:06 +00:00
},
item: {
flexDirection: 'row',
alignItems: 'center'
},
itemCurrent: {
backgroundColor: '#E1E5E8'
},
itemLeft: {
marginHorizontal: 10,
width: 30,
alignItems: 'center'
},
itemCenter: {
flex: 1
},
itemText: {
marginVertical: 16,
2019-03-29 19:36:07 +00:00
fontSize: 14,
...sharedStyles.textSemibold,
...sharedStyles.textColorNormal
2019-03-12 16:23:06 +00:00
},
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'
},
2019-03-29 19:36:07 +00:00
username: {
fontSize: 14,
...sharedStyles.textColorNormal,
...sharedStyles.textMedium
},
2019-03-12 16:23:06 +00:00
headerIcon: {
paddingHorizontal: 10,
2019-03-29 19:36:07 +00:00
...sharedStyles.textColorNormal
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.textColorNormal,
...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.textColorNormal,
...sharedStyles.textSemibold
2019-03-12 16:23:06 +00:00
},
inverted: {
transform: [{ scaleY: -1 }]
}
});