115 lines
2.8 KiB
TypeScript
115 lines
2.8 KiB
TypeScript
import { StyleSheet } from 'react-native';
|
|
import { typography, spacing, borderRadius, shadow } from '@theme';
|
|
|
|
export const getStyles = (colors: any) =>
|
|
StyleSheet.create({
|
|
container: {
|
|
flex: 1,
|
|
backgroundColor: colors.background,
|
|
},
|
|
scrollContainer: {
|
|
paddingHorizontal: spacing.xl,
|
|
paddingBottom: spacing.xxxl,
|
|
},
|
|
headerContainer: {
|
|
marginTop: 20,
|
|
marginBottom: spacing.xl,
|
|
},
|
|
title: {
|
|
fontSize: typography.fontSize.xxl,
|
|
fontWeight: typography.fontWeight.bold,
|
|
color: colors.text,
|
|
marginBottom: spacing.sm,
|
|
},
|
|
subtitle: {
|
|
fontSize: typography.fontSize.sm,
|
|
color: colors.textSecondary,
|
|
},
|
|
section: {
|
|
marginBottom: spacing.xl,
|
|
},
|
|
sectionTitle: {
|
|
fontSize: typography.fontSize.lg,
|
|
fontWeight: typography.fontWeight.bold,
|
|
color: colors.text,
|
|
marginBottom: spacing.md,
|
|
},
|
|
profileImageContainer: {
|
|
alignItems: 'center',
|
|
marginBottom: spacing.xl,
|
|
},
|
|
avatarPlaceholder: {
|
|
width: 90,
|
|
height: 90,
|
|
borderRadius: 45,
|
|
backgroundColor: colors.inputBg,
|
|
justifyContent: 'center',
|
|
alignItems: 'center',
|
|
borderWidth: 1,
|
|
borderColor: colors.border,
|
|
position: 'relative',
|
|
},
|
|
avatarText: {
|
|
fontSize: typography.fontSize.xs,
|
|
color: colors.textSecondary,
|
|
fontWeight: typography.fontWeight.bold,
|
|
marginTop: spacing.xs,
|
|
},
|
|
cameraBadge: {
|
|
position: 'absolute',
|
|
bottom: 0,
|
|
right: 0,
|
|
width: 28,
|
|
height: 28,
|
|
borderRadius: 14,
|
|
backgroundColor: colors.primary,
|
|
justifyContent: 'center',
|
|
alignItems: 'center',
|
|
borderWidth: 2,
|
|
borderColor: colors.background,
|
|
},
|
|
documentItem: {
|
|
flexDirection: 'row',
|
|
alignItems: 'center',
|
|
justifyContent: 'space-between',
|
|
paddingVertical: spacing.md,
|
|
paddingHorizontal: spacing.lg,
|
|
backgroundColor: colors.inputBg,
|
|
borderRadius: borderRadius.md,
|
|
marginBottom: spacing.sm,
|
|
borderWidth: 1,
|
|
borderColor: colors.border,
|
|
},
|
|
docLeft: {
|
|
flexDirection: 'row',
|
|
alignItems: 'center',
|
|
},
|
|
docTextContainer: {
|
|
marginLeft: spacing.sm,
|
|
},
|
|
docTitle: {
|
|
fontSize: typography.fontSize.md,
|
|
fontWeight: typography.fontWeight.semibold,
|
|
color: colors.text,
|
|
},
|
|
docSub: {
|
|
fontSize: typography.fontSize.xs,
|
|
color: colors.textSecondary,
|
|
marginTop: 2,
|
|
},
|
|
statusBadge: {
|
|
paddingHorizontal: spacing.sm,
|
|
paddingVertical: 4,
|
|
borderRadius: borderRadius.sm,
|
|
marginRight: spacing.sm,
|
|
},
|
|
statusText: {
|
|
fontSize: 10,
|
|
fontWeight: 'bold',
|
|
},
|
|
submitButton: {
|
|
marginTop: spacing.xl,
|
|
width: '100%',
|
|
},
|
|
});
|