import { t as e } from "./ui.module-BisoTevy.js";
//#region src/uiClasses.ts
var t = {
	neutral: {
		tone: "neutral",
		appearance: "solid"
	},
	neutralOutline: {
		tone: "neutral",
		appearance: "outline"
	},
	ghost: {
		tone: "neutral",
		appearance: "ghost"
	},
	error: {
		tone: "error",
		appearance: "solid"
	},
	warning: {
		tone: "warning",
		appearance: "solid"
	},
	success: {
		tone: "success",
		appearance: "solid"
	},
	info: {
		tone: "info",
		appearance: "solid"
	},
	errorOutline: {
		tone: "error",
		appearance: "outline"
	},
	warningOutline: {
		tone: "warning",
		appearance: "outline"
	},
	successOutline: {
		tone: "success",
		appearance: "outline"
	},
	infoOutline: {
		tone: "info",
		appearance: "outline"
	},
	transparent: {
		tone: "neutral",
		appearance: "transparent"
	}
}, n = {
	neutral: e.uiToneNeutral,
	error: e.uiToneError,
	warning: e.uiToneWarning,
	success: e.uiToneSuccess,
	info: e.uiToneInfo
}, r = {
	solid: e.uiAppearanceSolid,
	outline: e.uiAppearanceOutline,
	ghost: e.uiAppearanceGhost,
	transparent: e.uiAppearanceTransparent
};
function i(e) {
	return n[e];
}
function a(e) {
	return r[e];
}
function o({ variant: e, tone: n, appearance: r, fallbackTone: i = "neutral", fallbackAppearance: a = "outline" }) {
	return n || r ? {
		tone: n ?? i,
		appearance: r ?? a
	} : e ? t[e] : {
		tone: i,
		appearance: a
	};
}
//#endregion
export { i as n, o as r, a as t };

//# sourceMappingURL=uiClasses-BNjBunnY.js.map