2026-07-01 09:55:55 +05:30

76 lines
1.7 KiB
TypeScript

import { StyleSheet } from 'react-native';
import { typography } from '@theme';
export const getStyles = (colors: any) => StyleSheet.create({
container: {
flex: 1,
backgroundColor: colors.background,
},
scrollContainer: {
flexGrow: 1,
paddingTop: 60,
},
mapPlaceholder: {
height: 240,
backgroundColor: colors.inputBg,
marginHorizontal: 24,
borderRadius: 16,
justifyContent: 'center',
alignItems: 'center',
marginBottom: 24,
borderWidth: 1,
borderColor: colors.border,
},
mapIcon: {
fontSize: 48,
marginBottom: 8,
},
mapText: {
fontSize: typography.fontSize.lg,
fontWeight: typography.fontWeight.semibold,
color: colors.textSecondary,
},
mapSubtext: {
fontSize: typography.fontSize.xs,
color: colors.placeholder,
marginTop: 4,
},
card: {
backgroundColor: colors.cardBg,
borderRadius: 12,
padding: 16,
marginHorizontal: 24,
marginBottom: 24,
borderWidth: 1,
borderColor: colors.border,
},
cardTitle: {
fontSize: typography.fontSize.sm,
color: colors.textSecondary,
marginBottom: 4,
},
cardAddress: {
fontSize: typography.fontSize.md,
fontWeight: typography.fontWeight.semibold,
color: colors.text,
marginBottom: 8,
},
changeLink: {
alignSelf: 'flex-end',
},
changeText: {
fontSize: typography.fontSize.sm,
color: colors.primary,
fontWeight: typography.fontWeight.semibold,
},
manualButton: {
alignItems: 'center',
paddingVertical: 16,
},
manualButtonText: {
fontSize: typography.fontSize.sm,
color: colors.primary,
fontWeight: typography.fontWeight.semibold,
},
});