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

96 lines
2.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,
},
content: {
flex: 1,
},
hero: {
alignItems: 'center',
paddingVertical: 24,
borderBottomWidth: 1,
borderBottomColor: colors.border,
},
heroImage: {
width: 100,
height: 100,
borderRadius: 50,
backgroundColor: colors.inputBg,
justifyContent: 'center',
alignItems: 'center',
marginBottom: 12,
},
heroEmoji: {
fontSize: 44,
},
heroName: {
fontSize: typography.fontSize.xl,
fontWeight: typography.fontWeight.bold,
color: colors.text,
marginBottom: 8,
},
heroStats: {
flexDirection: 'row',
gap: 16,
},
heroStat: {
fontSize: typography.fontSize.sm,
color: colors.textSecondary,
},
categoryRow: {
paddingVertical: 12,
paddingHorizontal: 16,
flexGrow: 0,
},
categoryTab: {
paddingHorizontal: 20,
paddingVertical: 8,
borderRadius: 20,
borderWidth: 1,
borderColor: colors.border,
marginRight: 8,
},
categoryTabActive: {
borderColor: colors.primary,
backgroundColor: '#E8F5E9',
},
categoryTabText: {
fontSize: typography.fontSize.sm,
color: colors.textSecondary,
},
categoryTabTextActive: {
color: colors.primary,
fontWeight: typography.fontWeight.semibold,
},
cartStrip: {
flexDirection: 'row',
alignItems: 'center',
justifyContent: 'space-between',
backgroundColor: colors.primary,
paddingHorizontal: 20,
paddingVertical: 14,
borderTopLeftRadius: 16,
borderTopRightRadius: 16,
},
cartStripText: {
fontSize: typography.fontSize.md,
fontWeight: typography.fontWeight.semibold,
color: '#FFFFFF',
},
viewCartButton: {
backgroundColor: '#FFFFFF',
paddingHorizontal: 16,
paddingVertical: 8,
borderRadius: 8,
},
viewCartText: {
fontSize: typography.fontSize.sm,
fontWeight: typography.fontWeight.semibold,
color: colors.primary,
},
});