69 lines
1.5 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,
paddingBottom: 32,
},
formCard: {
backgroundColor: colors.card,
borderRadius: 16,
padding: 20,
shadowColor: '#0F172A',
shadowOffset: { width: 0, height: 2 },
shadowOpacity: 0.05,
shadowRadius: 4,
elevation: 2,
},
cardSpacing: {
marginTop: 16,
},
sectionHeader: {
fontSize: 15,
fontWeight: '700',
color: colors.text,
marginBottom: 20,
borderBottomWidth: 1,
borderBottomColor: colors.border,
paddingBottom: 10,
},
// Two-column row layout
row: {
flexDirection: 'row',
gap: 12,
},
rowHalf: {
flex: 1,
},
// Submit
submitButton: {
backgroundColor: colors.icon,
flexDirection: 'row',
justifyContent: 'center',
alignItems: 'center',
borderRadius: 12,
height: 52,
marginTop: 24,
shadowColor: colors.icon,
shadowOffset: { width: 0, height: 4 },
shadowOpacity: 0.3,
shadowRadius: 8,
elevation: 4,
},
buttonIcon: {
marginRight: 8,
},
submitButtonText: {
color: '#FFFFFF',
fontSize: 16,
fontWeight: '700',
letterSpacing: 0.3,
},
});