2026-07-02 14:34:19 +05:30

90 lines
1.8 KiB
TypeScript

import { StyleSheet } from 'react-native';
import { typography } from '@theme';
export const getStyles = (colors: any) => StyleSheet.create({
container: {
flex: 1,
backgroundColor: colors.background,
paddingHorizontal: 24,
},
scrollContainer: {
flexGrow: 1,
justifyContent: 'center',
paddingBottom: 24,
},
headerContainer: {
marginTop: 40,
marginBottom: 32,
},
title: {
fontSize: typography.fontSize.xxl,
fontWeight: typography.fontWeight.bold,
color: colors.text,
marginBottom: 8,
},
subtitle: {
fontSize: typography.fontSize.md,
color: colors.textSecondary,
},
formContainer: {
width: '100%',
},
row: {
flexDirection: 'row',
alignItems: 'center',
justifyContent: 'space-between',
marginBottom: 24,
marginTop: 4,
},
rememberMeContainer: {
flexDirection: 'row',
alignItems: 'center',
},
checkboxText: {
fontSize: typography.fontSize.sm,
color: colors.textSecondary,
fontWeight: typography.fontWeight.medium,
},
dividerContainer: {
flexDirection: 'row',
alignItems: 'center',
marginVertical: 24,
},
line: {
flex: 1,
height: 1,
backgroundColor: colors.border,
},
dividerText: {
marginHorizontal: 16,
fontSize: typography.fontSize.sm,
color: colors.textSecondary,
},
socialContainer: {
flexDirection: 'row',
justifyContent: 'space-between',
gap: 16,
marginBottom: 40,
},
footerText: {
textAlign: 'center',
fontSize: typography.fontSize.sm,
color: colors.textSecondary,
},
signUpLink: {
color: colors.primary,
fontWeight: typography.fontWeight.bold,
},
otpWrapper: {
marginTop: 10,
},
otpText: {
flex: 1,
marginVertical: 10,
},
loginButton: {
marginBottom: 12,
},
});