30 lines
735 B
TypeScript
30 lines
735 B
TypeScript
import { StyleSheet } from 'react-native';
|
|
import { typography, borderRadius } from '@theme';
|
|
|
|
export const getStyles = (colors: any) =>
|
|
StyleSheet.create({
|
|
button: {
|
|
width: '100%',
|
|
paddingVertical: 16,
|
|
borderRadius: borderRadius.md,
|
|
justifyContent: 'center',
|
|
alignItems: 'center',
|
|
shadowColor: '#000',
|
|
shadowOffset: { width: 0, height: 4 },
|
|
shadowOpacity: 0.1,
|
|
shadowRadius: 8,
|
|
elevation: 4,
|
|
},
|
|
onlineBg: {
|
|
backgroundColor: colors.primary,
|
|
},
|
|
offlineBg: {
|
|
backgroundColor: colors.statusOffline,
|
|
},
|
|
text: {
|
|
fontSize: typography.fontSize.md,
|
|
fontWeight: typography.fontWeight.bold,
|
|
color: colors.white,
|
|
},
|
|
});
|