2026-07-01 09:55:55 +05:30

37 lines
791 B
TypeScript

import { StyleSheet } from 'react-native';
import { typography } from '@theme';
export const getStyles = (colors: any) => StyleSheet.create({
container: {
flexDirection: 'row',
alignItems: 'center',
justifyContent: 'space-between',
paddingHorizontal: 16,
paddingVertical: 12,
backgroundColor: colors.background,
borderBottomWidth: 1,
borderBottomColor: colors.border,
},
backButton: {
padding: 4,
marginRight: 8,
},
backText: {
fontSize: 24,
color: colors.text,
},
titleContainer: {
flex: 1,
alignItems: 'center',
},
title: {
fontSize: typography.fontSize.lg,
fontWeight: typography.fontWeight.semibold,
color: colors.text,
},
rightContainer: {
minWidth: 40,
alignItems: 'flex-end',
},
});