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

56 lines
1.2 KiB
TypeScript

import { StyleSheet } from 'react-native';
import { typography } from '@theme';
export const getStyles = (colors: any) => StyleSheet.create({
container: {
flexDirection: 'row',
alignItems: 'center',
justifyContent: 'center',
paddingVertical: 16,
paddingHorizontal: 24,
},
stepContainer: {
alignItems: 'center',
flex: 1,
},
circle: {
width: 28,
height: 28,
borderRadius: 14,
backgroundColor: colors.border,
justifyContent: 'center',
alignItems: 'center',
},
circleActive: {
backgroundColor: colors.primary,
},
circleCompleted: {
backgroundColor: colors.primary,
},
circleText: {
fontSize: typography.fontSize.xs,
color: colors.white,
fontWeight: typography.fontWeight.bold,
},
label: {
fontSize: typography.fontSize.xs,
color: colors.textSecondary,
marginTop: 4,
textAlign: 'center',
},
labelActive: {
color: colors.primary,
fontWeight: typography.fontWeight.medium,
},
connector: {
flex: 1,
height: 2,
backgroundColor: colors.border,
marginHorizontal: -4,
marginBottom: 20,
},
connectorActive: {
backgroundColor: colors.primary,
},
});