@novin-dev/formalite
Version:
Generate MUI form with few line of code
26 lines (23 loc) • 1.06 kB
JavaScript
import { __assign } from 'tslib';
import { styled, Box, alpha } from '@mui/material';
var EditorViewRootStyle = styled(Box)(function (_a) {
var theme = _a.theme;
return ({
borderRadius: theme.shape.borderRadius,
border: "solid 1px ".concat(alpha(theme.palette.grey[500], 0.32)),
"& .ql-container.ql-snow": __assign(__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": __assign(__assign({}, theme.typography.body2), { padding: theme.spacing(2), borderRadius: theme.shape.borderRadius, backgroundColor: theme.palette.grey[900] }),
},
});
});
export { EditorViewRootStyle as default };
//# sourceMappingURL=EditorViewStyle.js.map