@actinc/dls
Version:
Design Language System (DLS) for ACT & Encoura front-end projects.
36 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.
*/
/* eslint-disable import/prefer-default-export */
import InputLabel, { inputLabelClasses } from '@mui/material/InputLabel';
import { styled } from "../../helpers/styled";
export var StyledInputLabel = styled(InputLabel)(function (_a) {
var _b;
var theme = _a.theme;
return (_b = {},
_b["&.".concat(inputLabelClasses.root)] = {
'& .label-help': {
'& .MuiSvgIcon-root': {
height: '.825em',
marginLeft: '.1em',
width: '.825em',
},
alignItems: 'flex-end',
display: 'flex',
},
'& .label-split': {
'& > .required': {
color: theme.palette.error.main,
fontSize: '.875rem',
},
alignItems: 'center',
display: 'flex',
},
position: 'relative',
},
_b);
});
//# sourceMappingURL=styles.js.map