51 lines
1.1 KiB
TypeScript
51 lines
1.1 KiB
TypeScript
import { StyleSheet } from 'react-native';
|
|
import { ThemeColors } from '../../theme';
|
|
|
|
export const getStyles = (colors: ThemeColors) =>
|
|
StyleSheet.create({
|
|
container: {
|
|
marginBottom: 16,
|
|
},
|
|
label: {
|
|
fontSize: 13,
|
|
fontWeight: '600',
|
|
color: colors.textSecondary,
|
|
marginBottom: 8,
|
|
textTransform: 'uppercase',
|
|
letterSpacing: 0.5,
|
|
},
|
|
required: {
|
|
color: '#EF4444',
|
|
marginLeft: 2,
|
|
},
|
|
inputWrapper: {
|
|
flexDirection: 'row',
|
|
alignItems: 'center',
|
|
backgroundColor: colors.surface,
|
|
borderWidth: 1,
|
|
borderColor: colors.border,
|
|
borderRadius: 12,
|
|
paddingHorizontal: 12,
|
|
},
|
|
leftIconWrapper: {
|
|
marginRight: 8,
|
|
justifyContent: 'center',
|
|
alignItems: 'center',
|
|
},
|
|
rightIconWrapper: {
|
|
marginLeft: 8,
|
|
justifyContent: 'center',
|
|
alignItems: 'center',
|
|
},
|
|
input: {
|
|
flex: 1,
|
|
paddingVertical: 12,
|
|
fontSize: 15,
|
|
color: colors.text,
|
|
},
|
|
multilineInput: {
|
|
height: 100,
|
|
textAlignVertical: 'top',
|
|
},
|
|
});
|