2026-07-02 14:34:19 +05:30

50 lines
1.2 KiB
TypeScript

import { StyleSheet } from 'react-native';
import { typography, spacing } from '@theme';
export const getStyles = (colors: any) =>
StyleSheet.create({
amount: {
fontSize: typography.fontSize.lg,
fontWeight: typography.fontWeight.bold,
color: colors.primary,
},
distance: {
fontSize: typography.fontSize.sm,
color: colors.textSecondary,
fontWeight: typography.fontWeight.medium,
},
row: {
flexDirection: 'row',
justifyContent: 'space-between',
alignItems: 'center',
marginTop: spacing.sm,
},
detailsRow: {
flexDirection: 'row',
justifyContent: 'space-between',
marginTop: spacing.md,
paddingTop: spacing.md,
borderTopWidth: 1,
borderTopColor: colors.border,
},
spacer: {
height: 12,
},
centerCol: {
alignItems: 'center',
},
endCol: {
alignItems: 'flex-end',
},
label: {
fontSize: typography.fontSize.xs,
color: colors.textSecondary,
},
value: {
fontSize: typography.fontSize.sm,
fontWeight: typography.fontWeight.semibold,
color: colors.text,
marginTop: 2,
},
});