34 lines
746 B
TypeScript
34 lines
746 B
TypeScript
import { StyleSheet } from 'react-native';
|
|
import { typography } from '@theme';
|
|
|
|
export const getStyles = (colors: any) => StyleSheet.create({
|
|
container: {
|
|
flexDirection: 'row',
|
|
alignItems: 'center',
|
|
},
|
|
button: {
|
|
width: 36,
|
|
height: 36,
|
|
borderRadius: 18,
|
|
backgroundColor: colors.primary,
|
|
justifyContent: 'center',
|
|
alignItems: 'center',
|
|
},
|
|
buttonDisabled: {
|
|
backgroundColor: colors.border,
|
|
},
|
|
buttonText: {
|
|
color: colors.white,
|
|
fontSize: 20,
|
|
fontWeight: typography.fontWeight.bold,
|
|
},
|
|
value: {
|
|
fontSize: typography.fontSize.md,
|
|
fontWeight: typography.fontWeight.semibold,
|
|
color: colors.text,
|
|
marginHorizontal: 16,
|
|
minWidth: 24,
|
|
textAlign: 'center',
|
|
},
|
|
});
|