77 lines
1.7 KiB
TypeScript
77 lines
1.7 KiB
TypeScript
import { StyleSheet } from 'react-native';
|
|
import { typography } from '@theme';
|
|
|
|
export const getStyles = (colors: any) => StyleSheet.create({
|
|
container: {
|
|
flex: 1,
|
|
backgroundColor: colors.background,
|
|
paddingHorizontal: 24,
|
|
},
|
|
content: {
|
|
paddingTop: 60,
|
|
paddingBottom: 24,
|
|
},
|
|
title: {
|
|
fontSize: typography.fontSize.xxl,
|
|
fontWeight: typography.fontWeight.bold,
|
|
color: colors.text,
|
|
marginBottom: 8,
|
|
},
|
|
subtitle: {
|
|
fontSize: typography.fontSize.md,
|
|
color: colors.textSecondary,
|
|
marginBottom: 32,
|
|
},
|
|
grid: {
|
|
flexDirection: 'row',
|
|
flexWrap: 'wrap',
|
|
gap: 12,
|
|
marginBottom: 32,
|
|
},
|
|
gridItem: {
|
|
width: '47%',
|
|
aspectRatio: 1.2,
|
|
borderRadius: 16,
|
|
borderWidth: 1.5,
|
|
borderColor: colors.border,
|
|
justifyContent: 'center',
|
|
alignItems: 'center',
|
|
backgroundColor: colors.background,
|
|
},
|
|
gridItemSelected: {
|
|
borderColor: colors.primary,
|
|
backgroundColor: '#E8F5E9',
|
|
},
|
|
gridIcon: {
|
|
fontSize: 40,
|
|
marginBottom: 8,
|
|
},
|
|
gridLabel: {
|
|
fontSize: typography.fontSize.md,
|
|
fontWeight: typography.fontWeight.medium,
|
|
color: colors.text,
|
|
},
|
|
gridLabelSelected: {
|
|
color: colors.primary,
|
|
fontWeight: typography.fontWeight.semibold,
|
|
},
|
|
toggleRow: {
|
|
flexDirection: 'row',
|
|
justifyContent: 'space-between',
|
|
alignItems: 'center',
|
|
paddingVertical: 16,
|
|
borderTopWidth: 1,
|
|
borderTopColor: colors.border,
|
|
},
|
|
toggleLabel: {
|
|
fontSize: typography.fontSize.md,
|
|
fontWeight: typography.fontWeight.medium,
|
|
color: colors.text,
|
|
},
|
|
toggleSubtext: {
|
|
fontSize: typography.fontSize.xs,
|
|
color: colors.textSecondary,
|
|
marginTop: 2,
|
|
},
|
|
});
|