@fruits-chain/react-native-xiaoshu
Version:
React Native UI library
55 lines • 1.67 kB
JavaScript
import { StyleSheet } from 'react-native';
export const createStyles = themeVar => {
return 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
}
});
};
//# sourceMappingURL=style.js.map