UNPKG

@fruits-chain/react-native-xiaoshu

Version:
65 lines (61 loc) 1.83 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.createStyles = void 0; var _reactNative = require("react-native"); const createStyles = themeVar => { return _reactNative.StyleSheet.create({ title: { flexShrink: 0, fontWeight: 'bold', fontSize: themeVar.action_sheet_header_font_size, lineHeight: themeVar.action_sheet_header_height, textAlign: 'center' }, description: { flexShrink: 0, textAlign: 'center', color: themeVar.action_sheet_description_color, fontSize: themeVar.action_sheet_description_font_size, lineHeight: themeVar.action_sheet_description_line_height, paddingBottom: 14 }, description_box: { borderBottomWidth: 1, borderBottomColor: themeVar.border_color }, description_alone: { paddingTop: 14 }, btn: { alignItems: 'center', paddingVertical: 14, paddingHorizontal: themeVar.padding_md }, item: { textAlign: 'center', fontSize: themeVar.action_sheet_item_font_size, lineHeight: themeVar.action_sheet_loading_icon_size }, subname: { marginTop: themeVar.padding_xs, color: themeVar.action_sheet_subname_color, fontSize: themeVar.action_sheet_subname_font_size, lineHeight: themeVar.action_sheet_subname_line_height }, gap: { height: themeVar.action_sheet_cancel_padding_top, backgroundColor: themeVar.action_sheet_cancel_padding_color }, cancel: { flexShrink: 0, textAlign: 'center', color: themeVar.action_sheet_cancel_text_color, fontSize: themeVar.action_sheet_item_font_size, lineHeight: themeVar.action_sheet_loading_icon_size } }); }; exports.createStyles = createStyles; //# sourceMappingURL=style.js.map