37 lines
760 B
TypeScript
37 lines
760 B
TypeScript
import { StyleSheet } from 'react-native';
|
|
|
|
import { ThemeColors } from '../theme';
|
|
|
|
export const getStyles = (colors: ThemeColors) => StyleSheet.create({
|
|
tabBar: {
|
|
backgroundColor: colors.tabBar,
|
|
borderTopWidth: 1,
|
|
borderTopColor: colors.border,
|
|
height: 60,
|
|
paddingBottom: 8,
|
|
paddingTop: 8,
|
|
},
|
|
tabBarLabel: {
|
|
fontSize: 11,
|
|
fontWeight: '600',
|
|
},
|
|
header: {
|
|
backgroundColor: colors.header,
|
|
borderBottomWidth: 1,
|
|
borderBottomColor: colors.border,
|
|
elevation: 0,
|
|
shadowOpacity: 0,
|
|
},
|
|
headerTitle: {
|
|
fontSize: 17,
|
|
fontWeight: '800',
|
|
color: colors.text,
|
|
},
|
|
drawerButton: {
|
|
paddingHorizontal: 16,
|
|
height: '100%',
|
|
justifyContent: 'center',
|
|
alignItems: 'center',
|
|
},
|
|
});
|