30 lines
575 B
TypeScript
30 lines
575 B
TypeScript
import { StyleSheet } from 'react-native';
|
|
import { ThemeColors } from '../../theme';
|
|
|
|
export const getStyles = (colors: ThemeColors) => StyleSheet.create({
|
|
container: {
|
|
flex: 1,
|
|
backgroundColor: colors.background,
|
|
},
|
|
content: {
|
|
padding: 16,
|
|
},
|
|
errorContainer: {
|
|
padding: 12,
|
|
backgroundColor: 'rgba(239, 68, 68, 0.1)',
|
|
borderRadius: 8,
|
|
marginBottom: 16,
|
|
borderWidth: 1,
|
|
borderColor: 'rgba(239, 68, 68, 0.3)',
|
|
},
|
|
errorText: {
|
|
color: '#EF4444',
|
|
fontSize: 14,
|
|
textAlign: 'center',
|
|
fontWeight: '500',
|
|
},
|
|
});
|
|
|
|
|
|
|