53 lines
1.1 KiB
TypeScript

import { StyleSheet } from 'react-native';
import { ThemeColors } from '../../theme';
export const getStyles = (colors: ThemeColors) =>
StyleSheet.create({
container: {
flexDirection: 'row',
alignItems: 'center',
justifyContent: 'space-between',
paddingVertical: 12,
borderBottomWidth: 1,
borderBottomColor: colors.border,
},
noBorder: {
borderBottomWidth: 0,
},
leftContent: {
flexDirection: 'row',
alignItems: 'center',
flex: 1,
marginRight: 12,
},
iconWrapper: {
width: 32,
height: 32,
borderRadius: 8,
backgroundColor: colors.surface,
alignItems: 'center',
justifyContent: 'center',
marginRight: 12,
},
label: {
fontSize: 14,
color: colors.textSecondary,
fontWeight: '500',
},
value: {
fontSize: 14,
fontWeight: '600',
color: colors.text,
textAlign: 'right',
},
badgeContainer: {
paddingHorizontal: 10,
paddingVertical: 4,
borderRadius: 12,
},
badgeText: {
fontSize: 12,
fontWeight: '700',
},
});