native_convex_CRM/app/components/notificationItem/notificationItem.styles.ts

64 lines
1.3 KiB
TypeScript

import { StyleSheet } from 'react-native';
import { ThemeColors } from '@theme';
export const getStyles = (colors: ThemeColors) =>
StyleSheet.create({
card: {
backgroundColor: colors.surface,
paddingVertical: 14,
paddingHorizontal: 16,
borderBottomWidth: 1,
borderBottomColor: colors.border,
flexDirection: 'row',
alignItems: 'flex-start',
},
unreadCard: {
backgroundColor: `${colors.icon}06`,
},
iconWrapper: {
width: 36,
height: 36,
borderRadius: 18,
justifyContent: 'center',
alignItems: 'center',
marginRight: 12,
marginTop: 2,
},
profileImage: {
width: 36,
height: 36,
borderRadius: 18,
},
contentContainer: {
flex: 1,
},
titleRow: {
flexDirection: 'row',
alignItems: 'center',
marginBottom: 3,
},
title: {
fontSize: 14,
fontWeight: '600',
color: colors.text,
flex: 1,
},
unreadDot: {
width: 6,
height: 6,
borderRadius: 3,
backgroundColor: '#EF4444',
marginLeft: 6,
},
description: {
fontSize: 13,
color: colors.textSecondary,
lineHeight: 18,
marginBottom: 6,
},
time: {
fontSize: 11,
color: colors.textMuted,
},
});