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

61 lines
1.3 KiB
TypeScript

import { StyleSheet } from 'react-native';
import { ThemeColors } from '../../theme';
export const getStyles = (colors: ThemeColors) =>
StyleSheet.create({
card: {
minWidth: 105,
height: 84,
borderRadius: 16,
backgroundColor: colors.card,
borderWidth: 1.5,
borderColor: colors.border,
paddingHorizontal: 8,
paddingVertical: 10,
alignItems: 'center',
justifyContent: 'center',
shadowColor: '#5B4CF5',
shadowOffset: { width: 0, height: 2 },
shadowOpacity: 0.05,
shadowRadius: 6,
elevation: 2,
},
cardSelected: {
borderWidth: 2,
shadowOpacity: 0.12,
shadowRadius: 8,
elevation: 3,
},
pillTag: {
flexDirection: 'row',
alignItems: 'center',
paddingHorizontal: 9,
paddingVertical: 4,
borderRadius: 10,
gap: 5,
maxWidth: '100%',
},
pillTagInactive: {
backgroundColor: colors.surface,
},
statusDot: {
width: 6,
height: 6,
borderRadius: 3,
},
labelText: {
fontSize: 11,
fontWeight: '700',
},
countText: {
fontSize: 24,
fontWeight: '900',
color: colors.text,
textAlign: 'center',
marginTop: 6,
lineHeight: 28,
includeFontPadding: false,
letterSpacing: -0.5,
},
});