45 lines
949 B
TypeScript
45 lines
949 B
TypeScript
import { StyleSheet } from 'react-native';
|
|
import { ThemeColors } from '../../theme';
|
|
|
|
export const getStyles = (colors: ThemeColors) =>
|
|
StyleSheet.create({
|
|
container: {
|
|
marginBottom: 16,
|
|
},
|
|
label: {
|
|
fontSize: 15,
|
|
fontWeight: '600',
|
|
color: colors.text,
|
|
marginBottom: 12,
|
|
},
|
|
checkboxRow: {
|
|
flexDirection: 'row',
|
|
flexWrap: 'wrap',
|
|
gap: 24,
|
|
},
|
|
checkboxOption: {
|
|
flexDirection: 'row',
|
|
alignItems: 'center',
|
|
gap: 8,
|
|
},
|
|
checkbox: {
|
|
width: 24,
|
|
height: 24,
|
|
borderRadius: 6,
|
|
borderWidth: 2,
|
|
borderColor: colors.border,
|
|
backgroundColor: colors.surface,
|
|
justifyContent: 'center',
|
|
alignItems: 'center',
|
|
},
|
|
checkboxChecked: {
|
|
borderColor: '#6366F1',
|
|
backgroundColor: '#6366F1',
|
|
},
|
|
checkboxLabel: {
|
|
fontSize: 15,
|
|
color: colors.text,
|
|
fontWeight: '500',
|
|
},
|
|
});
|