@actinc/dls
Version:
Design Language System (DLS) for ACT & Encoura front-end projects.
40 lines • 1.19 kB
JavaScript
/**
* Copyright (c) ACT, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
import Grid, { gridClasses } from '@mui/material/Grid';
import Paper, { paperClasses } from '@mui/material/Paper';
import { styled } from "../../helpers/styled";
export var StyledComment = styled('span')(function (_a) {
var theme = _a.theme;
return ({
color: theme.palette.grey[500],
});
});
export var StyledGridItem = styled(Grid)(function (_a) {
var _b;
var theme = _a.theme;
return (_b = {},
_b["&.".concat(gridClasses.root)] = {
alignItems: 'center',
display: 'flex',
justifyContent: 'center',
marginLeft: theme.spacing(2),
},
_b);
});
export var StyledPaper = styled(Paper)(function (_a) {
var _b;
var theme = _a.theme;
return (_b = {},
_b["&.".concat(paperClasses.root)] = {
marginTop: theme.spacing(3),
overflow: 'hidden',
padding: theme.spacing(4),
width: 500,
},
_b);
});
//# sourceMappingURL=styles.js.map