styles.js 1.31 KB
import { StyleSheet } from 'react-native'
import { setUnit } from '../../libs/utils'

export const styles = StyleSheet.create({
    body: {
        backgroundColor: 'rgba(0,0,0,0.2)',
        flex: 1,
        justifyContent: 'center',
        alignItems: 'center'
    },
    modal: {
        width: setUnit(583),
        backgroundColor: '#ffffff',
        borderRadius: setUnit(17),
        elevation: 1,
        shadowOffset: {
            width: setUnit(2),
            height: setUnit(2)
          },
          shadowOpacity: 0.3,
          shadowColor: '#eeeeee'
    },
    title: {
        paddingTop: setUnit(48),
        width: '100%',
        textAlign: 'center',
        fontSize: setUnit(38),
        fontWeight: '500',
        color: '#333333'
    },
    content: {
        width: '100%',
        paddingLeft: setUnit(25),
        paddingRight: setUnit(25),
        fontSize: setUnit(31),
        color: '#333333',
        fontWeight: '300',
        paddingTop: setUnit(33)
    },
    button: {
        width: '100%',
        height: setUnit(100),
        borderTopColor: '#e5e5e5',
        borderTopWidth: setUnit(2),
        justifyContent: 'center',
        alignItems: 'center',
        marginTop: setUnit(50)
    },
    buttonTitle: {
        fontSize: setUnit(38),
        fontWeight: '500',
        color: '#434343'
    }
})