34 lines
777 B
TypeScript
34 lines
777 B
TypeScript
import { StyleSheet } from 'react-native';
|
|
import { typography } from '@theme';
|
|
|
|
export const getStyles = (colors: any) => StyleSheet.create({
|
|
container: {
|
|
flexDirection: 'row',
|
|
alignItems: 'center',
|
|
paddingHorizontal: 16,
|
|
paddingVertical: 10,
|
|
borderRadius: 24,
|
|
borderWidth: 1.5,
|
|
borderColor: colors.border,
|
|
backgroundColor: colors.background,
|
|
marginRight: 10,
|
|
},
|
|
selected: {
|
|
borderColor: colors.primary,
|
|
backgroundColor: '#E8F5E9',
|
|
},
|
|
icon: {
|
|
fontSize: 18,
|
|
marginRight: 6,
|
|
},
|
|
label: {
|
|
fontSize: typography.fontSize.sm,
|
|
fontWeight: typography.fontWeight.medium,
|
|
color: colors.textSecondary,
|
|
},
|
|
labelSelected: {
|
|
color: colors.primary,
|
|
fontWeight: typography.fontWeight.semibold,
|
|
},
|
|
});
|