UNPKG

@wulperstudio/cms

Version:
38 lines (37 loc) 1.33 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.Label = exports.Box = void 0; var _material = require("@mui/material"); var Box = exports.Box = (0, _material.styled)('div')(function (_ref) { var theme = _ref.theme, backgroundColor = _ref.backgroundColor, showBorder = _ref.showBorder, showBoxShadow = _ref.showBoxShadow, showDivider = _ref.showDivider; return { margin: '10px 0px', backgroundColor: backgroundColor ? theme.palette.background["default"] : theme.palette.background.paper, padding: backgroundColor ? '10px 0px' : '10px 15px', borderRadius: showDivider ? '0px' : '5px', border: showBorder ? "1px solid ".concat(theme.palette.background.paper) : 'none', display: 'flex', flexDirection: 'column', alignItems: 'flex-start', justifyContent: 'center', boxShadow: showBoxShadow ? '0px 4px 24px rgba(0, 0, 0, 0.05)' : 'none', borderBottom: showDivider ? "1px solid ".concat(theme.palette.background.paper) : 'none' }; }); var Label = exports.Label = (0, _material.styled)('label')(function (_ref2) { var theme = _ref2.theme; return { fontSize: '14px', lineHeight: '18px', fontWeight: 'normal', fontFamily: 'Poppins, cursive', color: theme.palette.text.secondary, marginBottom: '10px' }; });