UNPKG

@novin-dev/formalite

Version:

Generate MUI form with few line of code

30 lines (25 loc) 1.18 kB
'use strict'; Object.defineProperty(exports, '__esModule', { value: true }); var tslib = require('tslib'); var material = require('@mui/material'); var EditorViewRootStyle = material.styled(material.Box)(function (_a) { var theme = _a.theme; return ({ borderRadius: theme.shape.borderRadius, border: "solid 1px ".concat(material.alpha(theme.palette.grey[500], 0.32)), "& .ql-container.ql-snow": tslib.__assign(tslib.__assign({ borderColor: "transparent" }, theme.typography.body1), { fontFamily: theme.typography.fontFamily }), "& .ql-editor": { minHeight: 200, maxHeight: 640, direction: "ltr", textAlign: "left", "&.ql-blank::before": { fontStyle: "normal", color: theme.palette.text.disabled, }, "& pre.ql-syntax": tslib.__assign(tslib.__assign({}, theme.typography.body2), { padding: theme.spacing(2), borderRadius: theme.shape.borderRadius, backgroundColor: theme.palette.grey[900] }), }, }); }); exports["default"] = EditorViewRootStyle; //# sourceMappingURL=EditorViewStyle.js.map