Files
omnex-demo-app/omnex-plateform-app/src/theme/shadows.ts
T
Xor290 877291e684
Omnex Plateform App - EAS Build / build (push) Failing after 8m4s
chore: v1.0.0
2026-08-04 18:47:47 +02:00

41 lines
763 B
TypeScript

import { Platform } from 'react-native';
export const shadows = {
sm: Platform.select({
ios: {
shadowColor: '#000',
shadowOffset: { width: 0, height: 1 },
shadowOpacity: 0.2,
shadowRadius: 2,
},
android: {
elevation: 2,
},
default: {},
}),
md: Platform.select({
ios: {
shadowColor: '#000',
shadowOffset: { width: 0, height: 2 },
shadowOpacity: 0.3,
shadowRadius: 4,
},
android: {
elevation: 4,
},
default: {},
}),
lg: Platform.select({
ios: {
shadowColor: '#000',
shadowOffset: { width: 0, height: 4 },
shadowOpacity: 0.4,
shadowRadius: 8,
},
android: {
elevation: 8,
},
default: {},
}),
} as const;