@actinc/dls
Version:
Design Language System (DLS) for ACT & Encoura front-end projects.
55 lines • 1.68 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.
*/
var _a;
import Divider, { dividerClasses } from '@mui/material/Divider';
import Grid, { gridClasses } from '@mui/material/Grid';
import { styled } from "../../helpers/styled";
export var StyledCode = styled('code')({
display: 'block',
});
export var StyledGridItem = styled(Grid)(function (_a) {
var _b;
var theme = _a.theme;
return (_b = {},
_b["&.".concat(gridClasses.root)] = {
alignItems: 'center',
border: "1px solid ".concat(theme.palette.divider),
display: 'flex',
justifyContent: 'center',
padding: theme.spacing(2),
},
_b);
});
export var StyledGridItemTypography = styled(Grid)(function (_a) {
var _b;
var theme = _a.theme;
return (_b = {},
_b["&.".concat(gridClasses.root)] = {
alignItems: 'center',
border: "1px solid ".concat(theme.palette.divider),
display: 'flex',
padding: theme.spacing(2),
},
_b);
});
export var StyledGridContainerInfo = styled(Grid)((_a = {},
_a["&.".concat(gridClasses.container)] = {
alignItems: 'center',
display: 'flex',
},
_a));
export var StyledDivider = styled(Divider)(function (_a) {
var _b;
var theme = _a.theme;
return (_b = {},
_b["&.".concat(dividerClasses.root)] = {
marginBottom: theme.spacing(1),
marginTop: theme.spacing(1),
},
_b);
});
//# sourceMappingURL=styles.js.map