UNPKG

@mui/codemod

Version:
46 lines (45 loc) 1.27 kB
"use strict"; var _jsxRuntime = require("react/jsx-runtime"); /*#__PURE__*/(0, _jsxRuntime.jsx)(Toolbar, { variant: "regular", sx: theme => ({ display: 'flex', alignItems: 'center', justifyContent: 'space-between', flexShrink: 0, borderRadius: '999px', bgcolor: 'hsla(220, 0%, 0%, 0.7)', backdropFilter: 'blur(24px)', maxHeight: 40, border: '1px solid', borderColor: 'divider', boxShadow: '0 1px 2px hsla(210, 0%, 0%, 0.5), 0 2px 12px hsla(210, 100%, 25%, 0.3)', ...theme.applyStyles("light", { bgcolor: 'hsla(220, 60%, 99%, 0.6)', boxShadow: '0 1px 2px hsla(210, 0%, 0%, 0.05), 0 2px 12px hsla(210, 100%, 80%, 0.5)' }) }) }); /*#__PURE__*/(0, _jsxRuntime.jsx)(Box, { component: "main", sx: theme => ({ backgroundColor: theme.palette.grey[900], flexGrow: 1, height: '100vh', overflow: 'auto', ...theme.applyStyles("light", { backgroundColor: theme.palette.grey[100] }) }) }); /*#__PURE__*/(0, _jsxRuntime.jsx)(Box, { sx: theme => ({ borderBottom: `1px solid ${'grey.800'}`, backgroundSize: 'cover', backgroundPosition: 'center', minHeight: 280, ...theme.applyStyles("light", { borderBottom: `1px solid ${'grey.200'}` }) }) });