61 lines
1.1 KiB
TypeScript
61 lines
1.1 KiB
TypeScript
import { StyleSheet } from 'react-native';
|
|
import { ThemeColors } from '../../theme';
|
|
|
|
export const getStyles = (colors: ThemeColors) =>
|
|
StyleSheet.create({
|
|
container: {
|
|
flex: 1,
|
|
backgroundColor: colors.background,
|
|
},
|
|
|
|
// Header
|
|
header: {
|
|
flexDirection: 'row',
|
|
alignItems: 'center',
|
|
justifyContent: 'space-between',
|
|
paddingHorizontal: 16,
|
|
paddingVertical: 16,
|
|
backgroundColor: colors.card,
|
|
borderBottomWidth: 1,
|
|
borderBottomColor: colors.border,
|
|
},
|
|
backButton: {
|
|
fontSize: 24,
|
|
color: colors.text,
|
|
fontWeight: '400',
|
|
},
|
|
headerTitle: {
|
|
fontSize: 18,
|
|
fontWeight: '600',
|
|
color: colors.text,
|
|
},
|
|
saveButton: {
|
|
fontSize: 16,
|
|
fontWeight: '600',
|
|
color: '#3B82F6',
|
|
},
|
|
|
|
// Scroll View
|
|
scrollView: {
|
|
flex: 1,
|
|
},
|
|
scrollContent: {
|
|
padding: 16,
|
|
paddingBottom: 32,
|
|
},
|
|
|
|
// Row Layout
|
|
row: {
|
|
flexDirection: 'row',
|
|
gap: 12,
|
|
},
|
|
halfWidth: {
|
|
flex: 1,
|
|
},
|
|
|
|
// Button Container
|
|
buttonContainer: {
|
|
marginTop: 8,
|
|
},
|
|
});
|