47 lines
1000 B
TypeScript
47 lines
1000 B
TypeScript
import { StyleSheet } from 'react-native';
|
|
import { typography } from '@theme';
|
|
|
|
export const getStyles = (colors: any) => StyleSheet.create({
|
|
container: {
|
|
flex: 1,
|
|
backgroundColor: colors.background,
|
|
},
|
|
tabRow: {
|
|
flexDirection: 'row',
|
|
paddingHorizontal: 16,
|
|
paddingVertical: 8,
|
|
borderBottomWidth: 1,
|
|
borderBottomColor: colors.border,
|
|
},
|
|
tab: {
|
|
paddingHorizontal: 20,
|
|
paddingVertical: 8,
|
|
marginRight: 8,
|
|
borderRadius: 20,
|
|
backgroundColor: colors.inputBg,
|
|
},
|
|
tabActive: {
|
|
backgroundColor: colors.primary,
|
|
},
|
|
tabText: {
|
|
fontSize: typography.fontSize.sm,
|
|
color: colors.textSecondary,
|
|
fontWeight: typography.fontWeight.medium,
|
|
},
|
|
tabTextActive: {
|
|
color: '#FFFFFF',
|
|
fontWeight: typography.fontWeight.semibold,
|
|
},
|
|
list: {
|
|
paddingVertical: 8,
|
|
},
|
|
empty: {
|
|
alignItems: 'center',
|
|
paddingTop: 60,
|
|
},
|
|
emptyText: {
|
|
fontSize: typography.fontSize.md,
|
|
color: colors.textSecondary,
|
|
},
|
|
});
|