dopenative
Version:
A utility-first React Native Framework for Web, iOS and Android, compatible with Expo
29 lines (26 loc) • 615 B
JavaScript
import { StyleSheet } from 'react-native'
const styles = (theme, appearance) => {
return new StyleSheet.create({
tnCardContainer: {
borderRadius: 8,
alignItems: 'center',
justifyContent: 'center',
backgroundColor: theme.colors[appearance].primaryBackground,
paddingBottom: 15,
paddingTop: 15,
paddingLeft: 15,
paddingRight: 15,
},
tnCardShadow: {
shadowColor: '#000',
shadowOffset: {
width: 0,
height: 2,
},
shadowOpacity: 0.25,
shadowRadius: 3.84,
elevation: 5,
},
})
}
export default styles