UNPKG

@olo/pay-react-native

Version:
48 lines (46 loc) 1.3 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.sharedErrorStyles = exports.sharedComponentStyles = void 0; var _reactNative = require("react-native"); var _definitions = require("../../definitions"); // Copyright © 2022 Olo Inc. All rights reserved. // This software is made available under the Olo Pay SDK License (See LICENSE.md file) const sharedComponentStyles = exports.sharedComponentStyles = { defaultStyles: { borderWidth: 1, borderColor: '#BDBCBC', backgroundColor: '#FFFFFF', cardElevation: 1, cornerRadius: 5, cursorColor: '#9E9E9E', dividerColor: `#BDBCBC`, dividerWidth: 1, errorTextColor: '#C42D32', fontSize: 16, fontWeight: _definitions.FontWeight.regular, italic: false, paddingLeft: 8, paddingRight: 0, placeholderColor: '#9E9E9E', focusedPlaceholderColor: '9E9E9E', textColor: '#141414', ..._reactNative.Platform.select({ android: { fontFamily: 'Roboto' }, ios: { fontFamily: 'San Francisco' } }) } }; const sharedErrorStyles = exports.sharedErrorStyles = _reactNative.StyleSheet.create({ defaultStyles: { minHeight: 20, textAlign: 'center', color: '#C42D32' } }); //# sourceMappingURL=sharedStyles.js.map