mirror of
https://github.com/DocNR/POWR.git
synced 2025-04-23 01:01:27 +00:00
19 lines
387 B
TypeScript
19 lines
387 B
TypeScript
// styles/sharedStyles.ts
|
|
import { StyleSheet } from 'react-native';
|
|
import { Colors } from '@/constants/Colors';
|
|
|
|
export const spacing = {
|
|
xs: 4,
|
|
small: 8,
|
|
medium: 16,
|
|
large: 24,
|
|
xl: 32,
|
|
} as const;
|
|
|
|
export const createThemedStyles = (colors: typeof Colors.light) => StyleSheet.create({
|
|
container: {
|
|
flex: 1,
|
|
backgroundColor: colors.background,
|
|
},
|
|
|
|
}); |