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

57 lines
1.1 KiB
JavaScript
Raw Normal View History

import { StyleSheet } from 'react-native';
2019-03-27 20:06:57 +00:00
import { COLOR_DANGER, COLOR_SEPARATOR } from '../../constants/colors';
2019-03-29 19:36:07 +00:00
import sharedStyles from '../Styles';
export default StyleSheet.create({
buttonInverted: {
borderColor: 'rgba(0,0,0,.15)',
borderWidth: 2,
borderRadius: 2
},
buttonContainerDisabled: {
backgroundColor: 'rgba(65, 72, 82, 0.7)'
},
buttonDanger: {
borderColor: COLOR_DANGER,
borderWidth: 2,
borderRadius: 2
},
colorDanger: {
color: COLOR_DANGER
},
switchContainer: {
flexDirection: 'row',
alignItems: 'flex-start'
},
switchLabelContainer: {
flex: 1,
paddingHorizontal: 10
},
switchLabelPrimary: {
fontSize: 16,
2019-03-29 19:36:07 +00:00
paddingBottom: 6,
...sharedStyles.textRegular,
...sharedStyles.textColorNormal
},
switchLabelSecondary: {
2019-03-29 19:36:07 +00:00
fontSize: 12,
...sharedStyles.textRegular,
...sharedStyles.textColorNormal
},
switch: {
alignSelf: 'center'
},
divider: {
height: StyleSheet.hairlineWidth,
2019-03-27 20:06:57 +00:00
borderColor: COLOR_SEPARATOR,
borderBottomWidth: StyleSheet.hairlineWidth,
marginVertical: 20
},
broadcast: {
2019-03-29 19:36:07 +00:00
textAlign: 'center',
...sharedStyles.textSemibold,
...sharedStyles.textColorNormal
}
});