UNPKG

native-base

Version:

Essential cross-platform UI components for React Native

126 lines (122 loc) 2.33 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.default = void 0; var _colors = _interopRequireDefault(require("./colors")); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } const shadow = { 'none': { shadowColor: 'transparent', shadowOffset: { width: 0, height: 0 }, shadowOpacity: 0, shadowRadius: 0, elevation: 0 }, '0': { shadowColor: _colors.default.black, shadowOffset: { width: 0, height: 1 }, shadowOpacity: 0.18, shadowRadius: 1.0, elevation: 1 }, '1': { shadowColor: _colors.default.black, shadowOffset: { width: 0, height: 1 }, shadowOpacity: 0.2, shadowRadius: 1.41, elevation: 2 }, '2': { shadowColor: _colors.default.black, shadowOffset: { width: 0, height: 1 }, shadowOpacity: 0.22, shadowRadius: 2.22, elevation: 3 }, '3': { shadowColor: _colors.default.black, shadowOffset: { width: 0, height: 2 }, shadowOpacity: 0.23, shadowRadius: 2.62, elevation: 4 }, '4': { shadowColor: _colors.default.black, shadowOffset: { width: 0, height: 2 }, shadowOpacity: 0.25, shadowRadius: 3.84, elevation: 5 }, '5': { shadowColor: _colors.default.black, shadowOffset: { width: 0, height: 3 }, shadowOpacity: 0.27, shadowRadius: 4.65, elevation: 6 }, '6': { shadowColor: _colors.default.black, shadowOffset: { width: 0, height: 3 }, shadowOpacity: 0.29, shadowRadius: 4.65, elevation: 7 }, '7': { shadowColor: _colors.default.black, shadowOffset: { width: 0, height: 4 }, shadowOpacity: 0.3, shadowRadius: 4.65, elevation: 8 }, '8': { shadowColor: _colors.default.black, shadowOffset: { width: 0, height: 4 }, shadowOpacity: 0.32, shadowRadius: 5.46, elevation: 9 }, '9': { shadowColor: _colors.default.black, shadowOffset: { width: 0, height: 5 }, shadowOpacity: 0.34, shadowRadius: 6.27, elevation: 10 } }; var _default = shadow; exports.default = _default; //# sourceMappingURL=shadows.js.map