39 lines
846 B
TypeScript
39 lines
846 B
TypeScript
import { StyleSheet } from 'react-native';
|
|
import { typography } from '@theme';
|
|
|
|
export const getStyles = (colors: any) => StyleSheet.create({
|
|
container: {
|
|
flex: 1,
|
|
backgroundColor: colors.background,
|
|
},
|
|
filterRow: {
|
|
paddingVertical: 8,
|
|
paddingHorizontal: 16,
|
|
flexGrow: 0,
|
|
},
|
|
filterChip: {
|
|
paddingHorizontal: 16,
|
|
paddingVertical: 8,
|
|
borderRadius: 20,
|
|
borderWidth: 1,
|
|
borderColor: colors.border,
|
|
marginRight: 8,
|
|
backgroundColor: colors.background,
|
|
},
|
|
filterChipActive: {
|
|
borderColor: colors.primary,
|
|
backgroundColor: '#E8F5E9',
|
|
},
|
|
filterChipText: {
|
|
fontSize: typography.fontSize.sm,
|
|
color: colors.textSecondary,
|
|
},
|
|
filterChipTextActive: {
|
|
color: colors.primary,
|
|
fontWeight: typography.fontWeight.semibold,
|
|
},
|
|
list: {
|
|
paddingBottom: 24,
|
|
},
|
|
});
|