2026-07-22 13:33:19 +05:30

84 lines
1.8 KiB
TypeScript

import { StyleSheet } from 'react-native';
import { ThemeColors } from '../../theme';
export const getStyles = (colors: ThemeColors) =>
StyleSheet.create({
card: {
backgroundColor: colors.card,
borderRadius: 18,
padding: 16,
marginBottom: 14,
borderWidth: 1,
borderColor: colors.border,
shadowColor: '#5B4CF5',
shadowOffset: { width: 0, height: 4 },
shadowOpacity: 0.06,
shadowRadius: 12,
elevation: 3,
},
header: {
flexDirection: 'row',
alignItems: 'center',
justifyContent: 'space-between',
marginBottom: 14,
},
leftSection: {
flexDirection: 'row',
alignItems: 'center',
flex: 1,
},
iconContainer: {
width: 42,
height: 42,
borderRadius: 12,
backgroundColor: colors.surface,
justifyContent: 'center',
alignItems: 'center',
marginRight: 12,
borderWidth: 1,
borderColor: colors.border,
},
titleSection: {
flex: 1,
},
title: {
fontSize: 15,
fontWeight: '700',
color: colors.text,
},
count: {
fontSize: 12,
color: colors.textMuted,
marginTop: 2,
},
actionsRow: {
flexDirection: 'row',
gap: 10,
},
actionBtn: {
flex: 1,
flexDirection: 'row',
alignItems: 'center',
justifyContent: 'center',
gap: 6,
paddingVertical: 10,
paddingHorizontal: 14,
borderRadius: 12,
backgroundColor: colors.surface,
borderWidth: 1,
borderColor: colors.border,
},
addBtn: {
backgroundColor: colors.icon,
borderColor: colors.icon,
},
actionText: {
fontSize: 13,
fontWeight: '600',
color: colors.text,
},
addText: {
color: '#FFFFFF',
},
});