native_convex_CRM/app/components/leadDetailHeader/leadDetailHeader.styles.ts
2026-07-22 13:33:19 +05:30

101 lines
2.2 KiB
TypeScript

import { StyleSheet } from 'react-native';
import { ThemeColors } from '../../theme';
export const getStyles = (colors: ThemeColors) =>
StyleSheet.create({
card: {
backgroundColor: colors.card,
borderRadius: 20,
padding: 20,
alignItems: 'center',
marginBottom: 16,
borderWidth: 1,
borderColor: colors.border,
shadowColor: '#5B4CF5',
shadowOffset: { width: 0, height: 6 },
shadowOpacity: 0.08,
shadowRadius: 16,
elevation: 4,
},
avatar: {
width: 76,
height: 76,
borderRadius: 38,
justifyContent: 'center',
alignItems: 'center',
marginBottom: 14,
},
avatarText: {
fontSize: 26,
fontWeight: '800',
color: '#FFFFFF',
letterSpacing: 0.5,
},
name: {
fontSize: 20,
fontWeight: '700',
color: colors.text,
textAlign: 'center',
marginBottom: 4,
},
companyRow: {
flexDirection: 'row',
alignItems: 'center',
justifyContent: 'center',
gap: 6,
marginBottom: 12,
},
company: {
fontSize: 13,
color: colors.textSecondary,
fontWeight: '500',
},
statusBadge: {
flexDirection: 'row',
alignItems: 'center',
gap: 6,
paddingHorizontal: 12,
paddingVertical: 5,
borderRadius: 20,
marginBottom: 16,
},
statusDot: {
width: 6,
height: 6,
borderRadius: 3,
},
statusText: {
fontSize: 11,
fontWeight: '700',
textTransform: 'uppercase',
letterSpacing: 0.5,
},
quickActions: {
flexDirection: 'row',
alignItems: 'center',
justifyContent: 'center',
gap: 12,
width: '100%',
paddingTop: 14,
borderTopWidth: StyleSheet.hairlineWidth,
borderTopColor: colors.border,
},
actionBtn: {
flex: 1,
flexDirection: 'row',
alignItems: 'center',
justifyContent: 'center',
gap: 6,
paddingVertical: 10,
borderRadius: 12,
borderWidth: 1,
borderColor: colors.border,
backgroundColor: colors.surface,
},
actionBtnText: {
fontSize: 12,
fontWeight: '600',
color: colors.text,
},
});