fui-fancyui
Version:
FancyUI Libary
21 lines (19 loc) • 737 B
JavaScript
import { styled as r } from "styled-components";
import { getBackgroundColor as s } from "../../../design/designFunctions/colorCalculatorForComponent/colorCalculatorForComponent.js";
const d = r.span`
display: block;
width: 100%;
height: ${({ theme: e, $fontVariant: o }) => e.fontSizes[o].fontSize};
line-height: 1;
padding: 0 ${({ theme: e }) => e.spacing.sm};
box-sizing: border-box;
color: ${({ $systemMessageType: e, theme: o, $themeType: t = "secondary", $layer: i = 0 }) => s({ theme: o, $themeType: e ?? t, $layer: i })};
${({ $externalStyle: e }) => e}
& > * {
display: block;
height: ${({ theme: e, $fontVariant: o }) => e.fontSizes[o].fontSize};
}
`;
export {
d as StyledSystemMessageWrapper
};