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, }, scrollContainer: { paddingHorizontal: spacing.lg, paddingBottom: spacing.xxxl, }, headerContainer: { marginTop: 20, marginBottom: spacing.lg, }, title: { fontSize: typography.fontSize.xxl, fontWeight: typography.fontWeight.bold, color: colors.text, }, chatItem: { flexDirection: 'row', alignItems: 'center', justifyContent: 'space-between', paddingVertical: spacing.md, borderBottomWidth: 1, borderBottomColor: colors.border, }, avatar: { width: 48, height: 48, borderRadius: 24, backgroundColor: colors.primaryLight, justifyContent: 'center', alignItems: 'center', marginRight: spacing.md, }, chatInfo: { flex: 1, }, chatHeader: { flexDirection: 'row', justifyContent: 'space-between', alignItems: 'center', marginBottom: 4, }, chatTitleText: { fontSize: typography.fontSize.md, fontWeight: typography.fontWeight.bold, color: colors.text, }, timeText: { fontSize: 10, color: colors.textSecondary, }, chatSnippetText: { fontSize: typography.fontSize.sm, color: colors.textSecondary, }, rightMeta: { alignItems: 'flex-end', justifyContent: 'center', marginLeft: spacing.sm, }, unreadBadge: { width: 18, height: 18, borderRadius: 9, backgroundColor: colors.primary, justifyContent: 'center', alignItems: 'center', marginTop: 6, }, unreadBadgeText: { color: colors.white, fontSize: 10, fontWeight: 'bold', }, });