28 lines
763 B
TypeScript
28 lines
763 B
TypeScript
import { StyleSheet } from 'react-native';
|
|
import { typography, spacing } from '@theme';
|
|
|
|
export const getStyles = (colors: any) =>
|
|
StyleSheet.create({
|
|
container: {
|
|
width: '100%',
|
|
paddingVertical: spacing.md,
|
|
paddingHorizontal: spacing.lg,
|
|
backgroundColor: colors.primaryLight,
|
|
borderBottomWidth: 1,
|
|
borderBottomColor: colors.border,
|
|
flexDirection: 'row',
|
|
alignItems: 'center',
|
|
justifyContent: 'space-between',
|
|
},
|
|
label: {
|
|
fontSize: typography.fontSize.sm,
|
|
fontWeight: typography.fontWeight.bold,
|
|
color: colors.primary,
|
|
},
|
|
detail: {
|
|
fontSize: typography.fontSize.xs,
|
|
color: colors.textSecondary,
|
|
fontWeight: typography.fontWeight.medium,
|
|
},
|
|
});
|