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

69 lines
1.4 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: {
paddingBottom: 40,
},
profileCard: {
alignItems: 'center',
paddingVertical: 32,
borderBottomWidth: 1,
borderBottomColor: colors.border,
marginHorizontal: 16,
},
avatar: {
width: 72,
height: 72,
borderRadius: 36,
backgroundColor: colors.primary,
justifyContent: 'center',
alignItems: 'center',
marginBottom: 12,
},
avatarText: {
fontSize: 28,
fontWeight: typography.fontWeight.bold,
color: '#FFFFFF',
},
profileName: {
fontSize: typography.fontSize.xl,
fontWeight: typography.fontWeight.bold,
color: colors.text,
marginBottom: 4,
},
profilePhone: {
fontSize: typography.fontSize.md,
color: colors.textSecondary,
},
menuSection: {
marginTop: 16,
paddingHorizontal: 16,
},
menuItem: {
flexDirection: 'row',
alignItems: 'center',
paddingVertical: 16,
borderBottomWidth: 1,
borderBottomColor: colors.border,
},
menuIcon: {
fontSize: 20,
marginRight: 14,
},
menuLabel: {
flex: 1,
fontSize: typography.fontSize.md,
fontWeight: typography.fontWeight.medium,
color: colors.text,
},
menuArrow: {
fontSize: 18,
color: colors.textSecondary,
},
});