51 lines
1.1 KiB
TypeScript

import { StyleSheet } from 'react-native';
import { typography } from '@theme';
export const getStyles = (colors: any) =>
StyleSheet.create({
container: {
flexDirection: 'row',
alignItems: 'center',
paddingVertical: 14,
paddingHorizontal: 16,
borderWidth: 1.5,
borderColor: colors.border,
borderRadius: 12,
marginBottom: 10,
backgroundColor: colors.background,
},
selected: {
borderColor: colors.primary,
backgroundColor: '#E8F5E9',
},
icon: {
width: 24,
height: 24,
marginRight: 12,
},
label: {
flex: 1,
fontSize: typography.fontSize.md,
fontWeight: typography.fontWeight.medium,
color: colors.text,
},
radio: {
width: 22,
height: 22,
borderRadius: 11,
borderWidth: 2,
borderColor: colors.border,
justifyContent: 'center',
alignItems: 'center',
},
radioSelected: {
borderColor: colors.primary,
},
radioInner: {
width: 12,
height: 12,
borderRadius: 6,
backgroundColor: colors.primary,
},
});