artwork-react-native
Version:
artwork design master for react-native
85 lines (79 loc) • 2.22 kB
JavaScript
'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
var _reactNative = require('react-native');
var _theme = require('../../style/theme');
var _theme2 = _interopRequireDefault(_theme);
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }
exports['default'] = _reactNative.StyleSheet.create({
container: {
zIndex: _theme2['default'].action_sheet_zindex
},
wrap: {
position: 'absolute',
left: 0,
right: 0,
top: 0
},
content: {
position: 'absolute',
left: 0,
right: 0,
bottom: 0,
backgroundColor: _theme2['default'].fill_base
},
mask: {
position: 'absolute',
top: 0,
bottom: 0,
left: 0,
right: 0,
backgroundColor: _theme2['default'].fill_mask
},
title: {
flex: 1,
alignItems: 'center',
// justifyContent: 'center',
marginTop: _theme2['default'].h_spacing_lg,
marginBottom: _theme2['default'].h_spacing_lg
},
titleText: {
fontWeight: '500'
},
message: {
flex: 1,
alignItems: 'center',
// justifyContent: 'center',
marginBottom: _theme2['default'].h_spacing_lg
},
btn: {
flex: 1,
alignItems: 'center',
justifyContent: 'center',
height: _theme2['default'].actionsheet_item_height,
borderStyle: 'solid',
borderTopWidth: 1,
borderTopColor: _theme2['default'].border_color_base,
backgroundColor: 'white'
},
cancelBtn: {
marginTop: _theme2['default'].v_spacing_md,
position: 'relative'
},
cancelBtnMask: {
position: 'absolute',
top: -_theme2['default'].v_spacing_md,
left: 0,
right: 0,
height: _theme2['default'].v_spacing_md,
backgroundColor: _theme2['default'].fill_grey,
borderStyle: 'solid',
borderTopWidth: 1,
borderTopColor: _theme2['default'].border_color_base
},
destructiveBtn: {
color: _theme2['default'].brand_error,
fontSize: _theme2['default'].actionsheet_item_font_size
}
});