Spaces:
Sleeping
Sleeping
| import { StyleSheet } from 'react-native'; | |
| import { theme } from './theme'; | |
| export const globalStyles = StyleSheet.create({ | |
| container: { | |
| flex: 1, | |
| backgroundColor: theme.colors.background, | |
| }, | |
| centerContainer: { | |
| flex: 1, | |
| justifyContent: 'center', | |
| alignItems: 'center', | |
| backgroundColor: theme.colors.background, | |
| }, | |
| card: { | |
| backgroundColor: theme.colors.card, | |
| borderRadius: theme.borderRadius.lg, | |
| padding: theme.spacing.lg, | |
| ...theme.shadows.md, | |
| }, | |
| button: { | |
| backgroundColor: theme.colors.primary, | |
| borderRadius: theme.borderRadius.md, | |
| padding: theme.spacing.md, | |
| alignItems: 'center', | |
| justifyContent: 'center', | |
| ...theme.shadows.sm, | |
| }, | |
| buttonText: { | |
| color: theme.colors.text, | |
| fontSize: 16, | |
| fontWeight: '600', | |
| }, | |
| input: { | |
| backgroundColor: theme.colors.surface, | |
| borderRadius: theme.borderRadius.md, | |
| padding: theme.spacing.md, | |
| color: theme.colors.text, | |
| fontSize: 16, | |
| }, | |
| title: { | |
| ...theme.typography.h1, | |
| color: theme.colors.text, | |
| }, | |
| subtitle: { | |
| ...theme.typography.h2, | |
| color: theme.colors.text, | |
| }, | |
| bodyText: { | |
| ...theme.typography.body, | |
| color: theme.colors.text, | |
| }, | |
| captionText: { | |
| ...theme.typography.caption, | |
| color: theme.colors.textSecondary, | |
| }, | |
| }); |