//#region components/sender/style/switch.ts
var genSenderSwitchStyle = (token) => {
	const { componentCls, antCls } = token;
	const switchCls = `${componentCls}-switch`;
	return { [componentCls]: {
		[`&${switchCls}-rtl`]: { direction: "rtl" },
		[`&${switchCls}`]: {
			display: "inline-block",
			[`${antCls}-btn:not(:disabled):not(${antCls}-btn-disabled):hover`]: {
				background: token.switchUncheckedHoverBg,
				borderColor: token.colorBorder,
				color: token.colorText
			},
			[`&${switchCls}-checked`]: {
				[`${antCls}-btn:not(:disabled):not(${antCls}-btn-disabled):hover`]: {
					background: token.switchCheckedHoverBg,
					borderColor: token.colorPrimary,
					color: token.colorPrimaryText
				},
				[`${switchCls}-content`]: { background: token.switchCheckedBg }
			}
		}
	} };
};
//#endregion
export { genSenderSwitchStyle as default };
