//#region src/utilities/style/utils/styleUtils.js
const getEllipseColor = (theme, color) => {
	if (!theme) return "";
	let ellipseColor = theme.palette.primary.main;
	switch (color) {
		case "action":
			ellipseColor = theme.palette.systemIcon?.action?.main;
			break;
		case "sequence":
			ellipseColor = theme.palette.systemIcon?.sequence?.main;
			break;
		case "trigger":
			ellipseColor = theme.palette.systemIcon?.trigger?.main;
			break;
		case "condition":
			ellipseColor = theme.palette.systemIcon?.condition?.main;
			break;
		case "primary":
			ellipseColor = theme.palette.primary.main;
			break;
		case "secondary":
			ellipseColor = theme.palette.secondary.main;
			break;
		case "info":
			ellipseColor = theme.palette.info.main;
			break;
		case "warning":
			ellipseColor = theme.palette.warning.main;
			break;
		case "error":
			ellipseColor = theme.palette.error.main;
			break;
		case "success":
			ellipseColor = theme.palette.success.main;
			break;
		default:
			ellipseColor = theme.palette.secondary.main;
			break;
	}
	return ellipseColor;
};
const getEllipseHintColor = (theme, color) => {
	if (!theme) return "";
	let ellipseHintColor = theme.palette.primary.main;
	switch (color) {
		case "action":
			ellipseHintColor = theme.palette.systemIcon?.action?.hint;
			break;
		case "sequence":
			ellipseHintColor = theme.palette.systemIcon?.sequence?.hint;
			break;
		case "trigger":
			ellipseHintColor = theme.palette.systemIcon?.trigger?.hint;
			break;
		case "condition":
			ellipseHintColor = theme.palette.systemIcon?.condition?.hint;
			break;
		case "primary":
			ellipseHintColor = theme.palette.primary.hint;
			break;
		case "secondary":
			ellipseHintColor = theme.palette.secondary.hint;
			break;
		case "info":
			ellipseHintColor = theme.palette.unity?.info?.hint;
			break;
		case "warning":
			ellipseHintColor = theme.palette.unity?.warning?.hint;
			break;
		case "error":
			ellipseHintColor = theme.palette.unity?.error?.hint;
			break;
		case "success":
			ellipseHintColor = theme.palette.unity?.success?.hint;
			break;
		default:
			ellipseHintColor = theme.palette.common.white;
			break;
	}
	return ellipseHintColor;
};
//#endregion
export { getEllipseColor, getEllipseHintColor };

//# sourceMappingURL=styleUtils.mjs.map