56 lines
1.4 KiB
TypeScript

import { StyleSheet } from 'react-native';
import { typography, spacing, borderRadius, shadow } from '@theme';
export const getStyles = (colors: any) =>
StyleSheet.create({
container: {
flex: 1,
backgroundColor: colors.background,
},
mapPlaceholder: {
flex: 1,
backgroundColor: colors.inputBg,
justifyContent: 'center',
alignItems: 'center',
},
placeholderText: {
fontSize: typography.fontSize.sm,
color: colors.placeholder,
},
bottomCard: {
position: 'absolute',
bottom: spacing.xxl,
left: spacing.lg,
right: spacing.lg,
backgroundColor: colors.cardBg,
borderRadius: borderRadius.lg,
padding: spacing.xl,
...shadow.lg,
borderWidth: 1,
borderColor: colors.border,
zIndex: 10,
},
cardTitle: {
fontSize: typography.fontSize.sm,
fontWeight: typography.fontWeight.bold,
color: colors.primary,
textTransform: 'uppercase',
marginBottom: spacing.xs,
},
storeName: {
fontSize: typography.fontSize.lg,
fontWeight: typography.fontWeight.bold,
color: colors.text,
marginBottom: spacing.sm,
},
storeAddress: {
fontSize: typography.fontSize.sm,
color: colors.textSecondary,
lineHeight: 20,
marginBottom: spacing.lg,
},
confirmButton: {
width: '100%',
},
});