56 lines
1.1 KiB
TypeScript
56 lines
1.1 KiB
TypeScript
import { StyleSheet } from 'react-native';
|
|
import { ThemeColors } from '../../theme';
|
|
|
|
export const getStyles = (colors: ThemeColors) =>
|
|
StyleSheet.create({
|
|
container: {
|
|
flex: 1,
|
|
backgroundColor: colors.background,
|
|
},
|
|
header: {
|
|
flexDirection: 'row',
|
|
padding: 16,
|
|
alignItems: 'center',
|
|
gap: 10,
|
|
},
|
|
searchInput: {
|
|
flex: 1,
|
|
},
|
|
filterButton: {
|
|
width: 48,
|
|
height: 48,
|
|
backgroundColor: colors.surface,
|
|
borderWidth: 1,
|
|
borderColor: colors.border,
|
|
borderRadius: 12,
|
|
justifyContent: 'center',
|
|
alignItems: 'center',
|
|
},
|
|
listContent: {
|
|
padding: 16,
|
|
paddingTop: 0,
|
|
},
|
|
errorContainer: {
|
|
flex: 1,
|
|
justifyContent: 'center',
|
|
alignItems: 'center',
|
|
padding: 32,
|
|
},
|
|
errorText: {
|
|
color: '#EF4444',
|
|
fontSize: 14,
|
|
textAlign: 'center',
|
|
},
|
|
emptyContainer: {
|
|
flex: 1,
|
|
justifyContent: 'center',
|
|
alignItems: 'center',
|
|
padding: 32,
|
|
},
|
|
emptyText: {
|
|
color: colors.textSecondary,
|
|
fontSize: 14,
|
|
textAlign: 'center',
|
|
},
|
|
});
|