mattermost-mobile/app/screens/settings/settings_item/style.android.js
enahum adbaead58e RN-321 Update Settings and Notifications UX/UI Screens (#879)
* Fix Android and iOS flow

* Own review

* RN-321 Update Settings and Notifications UX/UI Screens

* Fix style for separator in android modals

* Feedback review
2017-09-08 15:38:50 -03:00

49 lines
1.3 KiB
JavaScript

// Copyright (c) 2017-present Mattermost, Inc. All Rights Reserved.
// See License.txt for license information.
import {changeOpacity, makeStyleSheetFromTheme} from 'app/utils/theme';
export default makeStyleSheetFromTheme((theme) => {
return {
container: {
alignItems: 'center',
backgroundColor: theme.centerChannelBg,
flexDirection: 'row',
height: 68
},
iconContainer: {
width: 42,
height: 68,
alignItems: 'center',
justifyContent: 'center',
marginHorizontal: 15
},
icon: {
color: theme.buttonBg,
fontSize: 25
},
wrapper: {
flex: 1
},
centerLabel: {
textAlign: 'center',
textAlignVertical: 'center'
},
labelContainer: {
flex: 1,
flexDirection: 'row'
},
label: {
color: theme.centerChannelColor,
flex: 1,
fontSize: 17,
textAlignVertical: 'center',
includeFontPadding: false,
paddingRight: 15
},
divider: {
backgroundColor: changeOpacity(theme.centerChannelColor, 0.1),
height: 1
}
};
});