UNPKG

@chayns-components/core

Version:

A set of beautiful React components for developing your own applications with chayns.

27 lines (26 loc) 1.6 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.StyledSignatureImageWrapper = exports.StyledSignatureImage = exports.StyledSignatureDeleteIconWrapper = exports.StyledSignature = void 0; var _styledComponents = _interopRequireWildcard(require("styled-components")); function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function (e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != typeof e && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (const t in e) "default" !== t && {}.hasOwnProperty.call(e, t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, t)) && (i.get || i.set) ? o(f, t, i) : f[t] = e[t]); return f; })(e, t); } const StyledSignature = exports.StyledSignature = _styledComponents.default.div``; const StyledSignatureImageWrapper = exports.StyledSignatureImageWrapper = _styledComponents.default.div` position: relative; aspect-ratio: 3.8; width: 100%; `; const StyledSignatureImage = exports.StyledSignatureImage = _styledComponents.default.img` ${({ theme }) => theme.colorMode === 'dark' && (0, _styledComponents.css)` filter: invert(1); `} `; const StyledSignatureDeleteIconWrapper = exports.StyledSignatureDeleteIconWrapper = _styledComponents.default.div` position: absolute; top: 0; right: 0; `; //# sourceMappingURL=Signature.styles.js.map