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

68 lines
1.2 KiB
JavaScript
Raw Normal View History

import { StyleSheet } from 'react-native';
2019-03-29 19:36:07 +00:00
import sharedStyles from '../Styles';
export default StyleSheet.create({
2019-12-04 16:39:53 +00:00
button: {
...sharedStyles.textAlignCenter,
...sharedStyles.textBold
},
buttonInverted: {
borderWidth: 2,
borderRadius: 2
},
buttonContainerDisabled: {
2019-12-04 16:39:53 +00:00
opacity: 0.7
},
buttonContainer_inverted: {
paddingVertical: 15,
marginBottom: 0
},
button_inverted: {
flexGrow: 1
},
buttonContainerLastChild: {
marginBottom: 40
},
buttonContainer: {
paddingVertical: 15,
marginBottom: 20,
borderRadius: 2
},
buttonDanger: {
borderWidth: 2,
borderRadius: 2
},
switchContainer: {
flexDirection: 'row',
alignItems: 'flex-start'
},
switchLabelContainer: {
flex: 1,
2019-12-04 16:39:53 +00:00
paddingHorizontal: 10,
alignItems: 'flex-end'
},
switchLabelPrimary: {
fontSize: 16,
2019-03-29 19:36:07 +00:00
paddingBottom: 6,
2019-12-04 16:39:53 +00:00
...sharedStyles.textRegular
},
switchLabelSecondary: {
2019-03-29 19:36:07 +00:00
fontSize: 12,
...sharedStyles.textRegular,
2019-12-04 16:39:53 +00:00
textAlign: 'right'
},
switch: {
alignSelf: 'center'
},
divider: {
height: StyleSheet.hairlineWidth,
borderBottomWidth: StyleSheet.hairlineWidth,
marginVertical: 20
},
broadcast: {
2019-12-04 16:39:53 +00:00
...sharedStyles.textAlignCenter,
...sharedStyles.textSemibold
}
});