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

52 lines
1.1 KiB
TypeScript

import { StyleSheet } from 'react-native';
import { typography } from '@theme';
export const getStyles = (colors: any) => StyleSheet.create({
container: {
flex: 1,
backgroundColor: colors.background,
},
list: {
padding: 16,
},
offerCard: {
flexDirection: 'row',
alignItems: 'center',
backgroundColor: colors.cardBg,
borderRadius: 12,
padding: 16,
marginBottom: 12,
borderWidth: 1,
borderColor: colors.border,
},
offerInfo: {
flex: 1,
},
offerCode: {
fontSize: typography.fontSize.lg,
fontWeight: typography.fontWeight.bold,
color: colors.primary,
marginBottom: 4,
},
offerDescription: {
fontSize: typography.fontSize.sm,
color: colors.text,
marginBottom: 4,
},
offerExpiry: {
fontSize: typography.fontSize.xs,
color: colors.textSecondary,
},
copyButton: {
paddingHorizontal: 20,
paddingVertical: 10,
borderRadius: 8,
backgroundColor: colors.primary,
},
copyButtonText: {
fontSize: typography.fontSize.sm,
fontWeight: typography.fontWeight.semibold,
color: '#FFFFFF',
},
});