68 lines
1.6 KiB
TypeScript
68 lines
1.6 KiB
TypeScript
import { StyleSheet } from 'react-native';
|
|
import { typography, spacing, borderRadius, shadow } from '@theme';
|
|
|
|
export const getStyles = (colors: any) =>
|
|
StyleSheet.create({
|
|
container: {
|
|
flex: 1,
|
|
backgroundColor: colors.background,
|
|
},
|
|
headerContainer: {
|
|
marginTop: 20,
|
|
paddingHorizontal: spacing.lg,
|
|
marginBottom: spacing.md,
|
|
},
|
|
title: {
|
|
fontSize: typography.fontSize.xxl,
|
|
fontWeight: typography.fontWeight.bold,
|
|
color: colors.text,
|
|
},
|
|
tabBar: {
|
|
flexDirection: 'row',
|
|
marginHorizontal: spacing.lg,
|
|
backgroundColor: colors.inputBg,
|
|
borderRadius: borderRadius.md,
|
|
padding: 4,
|
|
marginBottom: spacing.md,
|
|
borderWidth: 1,
|
|
borderColor: colors.border,
|
|
},
|
|
tab: {
|
|
flex: 1,
|
|
paddingVertical: spacing.sm,
|
|
alignItems: 'center',
|
|
borderRadius: borderRadius.sm,
|
|
},
|
|
tabActive: {
|
|
backgroundColor: colors.cardBg,
|
|
...shadow.sm,
|
|
},
|
|
tabText: {
|
|
fontSize: typography.fontSize.sm,
|
|
fontWeight: typography.fontWeight.medium,
|
|
color: colors.textSecondary,
|
|
},
|
|
tabTextActive: {
|
|
color: colors.primary,
|
|
fontWeight: typography.fontWeight.bold,
|
|
},
|
|
listContainer: {
|
|
paddingHorizontal: spacing.lg,
|
|
paddingBottom: spacing.xxxl,
|
|
},
|
|
cardWrapper: {
|
|
marginBottom: spacing.md,
|
|
},
|
|
emptyStateContainer: {
|
|
flex: 1,
|
|
justifyContent: 'center',
|
|
alignItems: 'center',
|
|
paddingTop: spacing.huge,
|
|
},
|
|
emptyStateText: {
|
|
fontSize: typography.fontSize.md,
|
|
color: colors.textSecondary,
|
|
marginTop: spacing.md,
|
|
},
|
|
});
|