UNPKG

@up-group-ui/react-controls

Version:
22 lines 817 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.getStyles = void 0; var typestyle_1 = require("typestyle"); var utils_1 = require("../../../Common/theming/utils"); var base = function (props) { return ({ border: 'none', $nest: { legend: { borderBottom: props.withTitleSeparator && "1px solid " + props.theme.colorMap.darkGray5, color: props.theme.colorMap.darkGray5, paddingBottom: (0, utils_1.toRem)(5), marginBottom: (0, utils_1.toRem)(10), fontWeight: 700, fontSize: (0, utils_1.toRem)(16), width: '98%', }, }, }); }; var getStyles = function (props) { return (0, typestyle_1.style)(base(props)); }; exports.getStyles = getStyles; //# sourceMappingURL=styles.js.map