2026-07-01 09:55:55 +05:30

56 lines
1.2 KiB
TypeScript

import { StyleSheet } from 'react-native';
import { typography } from '@theme';
export const getStyles = (colors: any) => StyleSheet.create({
container: {
flex: 1,
backgroundColor: colors.background,
},
content: {
flex: 1,
justifyContent: 'center',
alignItems: 'center',
paddingHorizontal: 24,
},
icon: {
fontSize: 64,
marginBottom: 16,
},
title: {
fontSize: typography.fontSize.xxl,
fontWeight: typography.fontWeight.bold,
color: colors.text,
marginBottom: 8,
},
subtitle: {
fontSize: typography.fontSize.md,
color: colors.textSecondary,
textAlign: 'center',
marginBottom: 32,
},
orderCard: {
backgroundColor: colors.cardBg,
borderRadius: 12,
padding: 20,
width: '100%',
borderWidth: 1,
borderColor: colors.border,
alignItems: 'center',
},
orderId: {
fontSize: typography.fontSize.md,
fontWeight: typography.fontWeight.semibold,
color: colors.text,
marginBottom: 4,
},
orderEta: {
fontSize: typography.fontSize.sm,
color: colors.primary,
fontWeight: typography.fontWeight.medium,
},
footer: {
padding: 24,
paddingBottom: 40,
},
});