native_convex_CRM/app/navigation/tabStack.styles.ts
2026-07-22 13:33:19 +05:30

52 lines
1.3 KiB
TypeScript

import { StyleSheet, Platform } from 'react-native';
import { ThemeColors } from '@theme';
export const getStyles = (colors: ThemeColors) =>
StyleSheet.create({
tabBar: {
backgroundColor: colors.tabBar,
borderTopWidth: 1,
borderTopColor: colors.border,
height: Platform.OS === 'ios' ? 84 : 64,
paddingBottom: Platform.OS === 'ios' ? 24 : 10,
// paddingTop: 8,
shadowColor: '#5B4CF5',
shadowOffset: { width: 0, height: -4 },
shadowOpacity: 0.06,
shadowRadius: 12,
elevation: 8,
},
tabBarLabel: {
fontSize: 12,
fontWeight: '600',
letterSpacing: 0.2,
},
header: {
backgroundColor: colors.header,
borderBottomWidth: 1,
borderBottomColor: colors.border,
shadowColor: '#5B4CF5',
shadowOffset: { width: 0, height: 2 },
shadowOpacity: 0.04,
shadowRadius: 6,
elevation: 2,
},
headerTitle: {
fontSize: 17,
fontWeight: '700',
color: colors.text,
letterSpacing: 0.2,
},
drawerButton: {
width: 38,
height: 38,
borderRadius: 12,
justifyContent: 'center',
alignItems: 'center',
marginLeft: 14,
backgroundColor: colors.surface,
borderWidth: 1,
borderColor: colors.border,
},
});