42 lines
1.0 KiB
TypeScript
42 lines
1.0 KiB
TypeScript
import { StyleSheet } from 'react-native';
|
|
import { typography, spacing } from '@theme';
|
|
|
|
export const getStyles = (colors: any) =>
|
|
StyleSheet.create({
|
|
container: {
|
|
flex: 1,
|
|
justifyContent: 'center',
|
|
alignItems: 'center',
|
|
padding: spacing.xxl,
|
|
backgroundColor: colors.background,
|
|
},
|
|
iconContainer: {
|
|
marginBottom: spacing.lg,
|
|
opacity: 0.8,
|
|
},
|
|
title: {
|
|
fontSize: typography.fontSize.lg,
|
|
fontWeight: typography.fontWeight.semibold,
|
|
color: colors.text,
|
|
textAlign: 'center',
|
|
marginBottom: spacing.xs,
|
|
},
|
|
subtitle: {
|
|
fontSize: typography.fontSize.sm,
|
|
color: colors.textSecondary,
|
|
textAlign: 'center',
|
|
marginBottom: spacing.xl,
|
|
},
|
|
button: {
|
|
paddingVertical: spacing.md,
|
|
paddingHorizontal: spacing.xl,
|
|
backgroundColor: colors.primary,
|
|
borderRadius: 8,
|
|
},
|
|
buttonText: {
|
|
color: colors.white,
|
|
fontSize: typography.fontSize.sm,
|
|
fontWeight: typography.fontWeight.bold,
|
|
},
|
|
});
|