78 lines
1.6 KiB
TypeScript
78 lines
1.6 KiB
TypeScript
import { StyleSheet } from 'react-native';
|
|
|
|
import { ThemeColors } from '../../theme';
|
|
|
|
export const getStyles = (colors: ThemeColors) =>
|
|
StyleSheet.create({
|
|
container: {
|
|
flex: 1,
|
|
backgroundColor: colors.background,
|
|
},
|
|
scrollContainer: {
|
|
padding: 16,
|
|
},
|
|
formCard: {
|
|
backgroundColor: colors.card,
|
|
borderRadius: 16,
|
|
padding: 20,
|
|
shadowColor: '#0F172A',
|
|
shadowOffset: { width: 0, height: 2 },
|
|
shadowOpacity: 0.05,
|
|
shadowRadius: 4,
|
|
elevation: 2,
|
|
},
|
|
sectionHeader: {
|
|
fontSize: 16,
|
|
fontWeight: '700',
|
|
color: colors.text,
|
|
marginBottom: 20,
|
|
borderBottomWidth: 1,
|
|
borderBottomColor: colors.border,
|
|
paddingBottom: 10,
|
|
},
|
|
inputContainer: {
|
|
marginBottom: 16,
|
|
},
|
|
label: {
|
|
fontSize: 13,
|
|
fontWeight: '600',
|
|
color: colors.textSecondary,
|
|
marginBottom: 6,
|
|
},
|
|
inputWrapper: {
|
|
flexDirection: 'row',
|
|
alignItems: 'center',
|
|
backgroundColor: colors.background,
|
|
borderRadius: 10,
|
|
borderWidth: 1,
|
|
borderColor: colors.border,
|
|
paddingHorizontal: 12,
|
|
},
|
|
inputIcon: {
|
|
marginRight: 8,
|
|
},
|
|
input: {
|
|
flex: 1,
|
|
height: 46,
|
|
color: colors.text,
|
|
fontSize: 14,
|
|
},
|
|
submitButton: {
|
|
backgroundColor: colors.icon,
|
|
flexDirection: 'row',
|
|
justifyContent: 'center',
|
|
alignItems: 'center',
|
|
borderRadius: 10,
|
|
height: 48,
|
|
marginTop: 12,
|
|
},
|
|
buttonIcon: {
|
|
marginRight: 8,
|
|
},
|
|
submitButtonText: {
|
|
color: '#FFFFFF',
|
|
fontSize: 15,
|
|
fontWeight: '700',
|
|
},
|
|
});
|