//#region components/bubble/style/slot.ts
var genSlotStyle = (token) => {
	const { componentCls, fontSize, lineHeight, paddingXXS, margin, colorText, fontSizeLG, calc } = token;
	return { [componentCls]: {
		[`${componentCls}-header`]: {
			display: "flex",
			marginBottom: paddingXXS,
			fontSize,
			lineHeight,
			color: colorText
		},
		[`${componentCls}-footer`]: {
			display: "flex",
			marginBlockStart: margin,
			fontSize,
			lineHeight,
			color: colorText,
			"&-start": { flexDirection: "row" },
			"&-end": { flexDirection: "row-reverse" }
		},
		[`${componentCls}-avatar`]: { minWidth: calc(fontSizeLG).mul(2).equal() }
	} };
};
//#endregion
export { genSlotStyle };
