2026-07-15 21:36:48 +05:30

110 lines
2.2 KiB
TypeScript

import { StyleSheet } from 'react-native';
import { ThemeColors } from '../../theme';
export const getStyles = (colors: ThemeColors) => StyleSheet.create({
container: {
flex: 1,
backgroundColor: colors.background,
},
header: {
flexDirection: 'row',
padding: 16,
alignItems: 'center',
},
searchWrapper: {
flex: 1,
flexDirection: 'row',
alignItems: 'center',
backgroundColor: colors.surface,
borderWidth: 1,
borderColor: colors.border,
borderRadius: 10,
paddingHorizontal: 12,
marginRight: 10,
},
searchIcon: {
marginRight: 8,
},
searchInput: {
flex: 1,
height: 44,
color: colors.text,
fontSize: 14,
},
filterButton: {
width: 44,
height: 44,
backgroundColor: colors.surface,
borderWidth: 1,
borderColor: colors.border,
borderRadius: 10,
justifyContent: 'center',
alignItems: 'center',
},
listContent: {
padding: 16,
paddingTop: 0,
},
leadCard: {
backgroundColor: colors.card,
borderRadius: 12,
padding: 16,
marginBottom: 16,
shadowColor: '#0F172A',
shadowOffset: { width: 0, height: 2 },
shadowOpacity: 0.05,
shadowRadius: 4,
elevation: 2,
},
cardHeader: {
flexDirection: 'row',
justifyContent: 'space-between',
alignItems: 'flex-start',
borderBottomWidth: 1,
borderBottomColor: colors.border,
paddingBottom: 12,
},
leadName: {
fontSize: 16,
fontWeight: '700',
color: colors.text,
},
leadCompany: {
fontSize: 13,
color: colors.textSecondary,
marginTop: 2,
},
statusBadge: {
paddingHorizontal: 10,
paddingVertical: 4,
borderRadius: 8,
},
statusText: {
fontSize: 11,
fontWeight: '700',
},
cardFooter: {
flexDirection: 'row',
justifyContent: 'space-between',
alignItems: 'center',
paddingTop: 12,
},
infoRow: {
flexDirection: 'row',
alignItems: 'center',
},
infoValue: {
fontSize: 13,
color: colors.textSecondary,
marginLeft: 8,
},
actionButton: {
width: 32,
height: 32,
borderRadius: 8,
backgroundColor: colors.border,
justifyContent: 'center',
alignItems: 'center',
},
});