omnipay-savings-sdk
Version:
Omnipay Savings SDK
72 lines (71 loc) • 1.94 kB
JavaScript
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.globalStyles = void 0;
const react_native_1 = require("react-native");
const colors_1 = require("./colors");
const constants_1 = require("./constants");
exports.globalStyles = react_native_1.StyleSheet.create({
colCenter: {
justifyContent: 'center',
alignItems: 'center',
},
colStart: {
justifyContent: 'center',
alignItems: 'flex-start',
},
colBetween: {
justifyContent: 'space-between',
},
rowCenter: {
flexDirection: 'row',
justifyContent: 'center',
alignItems: 'center',
},
rowBetween: {
flexDirection: 'row',
justifyContent: 'space-between',
alignItems: 'center',
},
rowBetweenNoCenter: {
flexDirection: 'row',
justifyContent: 'space-between',
},
rowAround: {
flexDirection: 'row',
justifyContent: 'space-around',
alignItems: 'center',
},
rowStart: {
flexDirection: 'row',
justifyContent: 'flex-start',
alignItems: 'center',
},
rowEnd: {
flexDirection: 'row',
justifyContent: 'flex-end',
alignItems: 'center',
alignSelf: 'flex-end',
},
undeline: {
textDecorationStyle: 'solid',
textDecorationLine: 'underline',
},
container: {
flex: 1,
},
shadowProp: {
shadowColor: colors_1.Colors.shadowColor,
shadowOffset: { width: -2, height: 4 },
shadowOpacity: 0.2,
shadowRadius: 3,
},
shadowElevation: {
elevation: 5,
shadowColor: colors_1.Colors.shadowColor,
},
appContainer: {
flex: 1,
backgroundColor: colors_1.Colors.white,
paddingVertical: react_native_1.Platform.OS === 'ios' ? constants_1.height / (0, constants_1.hp)(22) : (0, constants_1.hp)(24),
},
});