@actinc/dls
Version:
Design Language System (DLS) for ACT & Encoura front-end projects.
27 lines • 930 B
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 { styled } from '@mui/material/styles';
import DLS_COMPONENT_NAMES from "../../../constants/DLS_COMPONENT_NAMES";
import DLS_COMPONENT_SLOT_NAMES from "../../../constants/DLS_COMPONENT_SLOT_NAMES";
export var StyledLabel = styled('div', {
name: DLS_COMPONENT_NAMES.SCATTER_PLOT,
slot: DLS_COMPONENT_SLOT_NAMES[DLS_COMPONENT_NAMES.SCATTER_PLOT]
.SCATTER_LABELS,
})(function (_a) {
var fill = _a.fill, opacity = _a.opacity;
return ({
color: fill,
fill: fill,
opacity: opacity,
overflow: 'hidden',
textOverflow: 'ellipsis',
userSelect: 'none',
whiteSpace: 'nowrap',
});
});
//# sourceMappingURL=styles.js.map