Home Reference Source

src/views/diary/Styles.js

import {StyleSheet} from 'react-native';

import {UIColors} from '../../utils/ColorConstants';

/**
 * Common styles used in the diary.
 * @type {Object}
 */
const diaryStyles = StyleSheet.create({
    container: {
        backgroundColor: UIColors.BACKGROUND_VIEW,
    },
    detailButtonContainer: {
        flex: 1,
        position: 'absolute',
        bottom: -10,
        right: -10,
    },
    freeTextContainer: {
        flex: 1,
        height: '100%',
        padding: 10,
        margin: 10,
        borderRadius: 15,
        borderWidth: 4,
        borderStyle: 'dotted',
    },
});

export {diaryStyles};