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

73 lines
1.6 KiB
TypeScript

import { StyleSheet } from 'react-native';
import { typography } 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',
margin: 16,
borderRadius: 16,
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,
marginBottom: 16,
},
blinkingBadge: {
backgroundColor: '#4CAF50',
paddingHorizontal: 12,
paddingVertical: 4,
borderRadius: 12,
},
blinkingText: {
fontSize: typography.fontSize.sm,
color: '#FFFFFF',
fontWeight: typography.fontWeight.semibold,
},
agentSheet: {
padding: 20,
borderTopLeftRadius: 20,
borderTopRightRadius: 20,
backgroundColor: colors.cardBg,
borderTopWidth: 1,
borderTopColor: colors.border,
},
agentName: {
fontSize: typography.fontSize.lg,
fontWeight: typography.fontWeight.bold,
color: colors.text,
marginBottom: 4,
},
agentRating: {
fontSize: typography.fontSize.sm,
color: colors.textSecondary,
marginBottom: 4,
},
agentVehicle: {
fontSize: typography.fontSize.sm,
color: colors.textSecondary,
marginBottom: 16,
},
agentActions: {
flexDirection: 'row',
},
});