import { t as e } from "./ui.module-DHVTOqZ0.js";
//#region src/uiClasses.ts
var t = {
	neutral: {
		tone: "neutral",
		appearance: "solid"
	},
	neutralOutline: {
		tone: "neutral",
		appearance: "outline"
	},
	ghost: {
		tone: "neutral",
		appearance: "ghost"
	},
	brand: {
		tone: "brand",
		appearance: "solid"
	},
	error: {
		tone: "error",
		appearance: "solid"
	},
	warning: {
		tone: "warning",
		appearance: "solid"
	},
	success: {
		tone: "success",
		appearance: "solid"
	},
	info: {
		tone: "info",
		appearance: "solid"
	},
	brandOutline: {
		tone: "brand",
		appearance: "outline"
	},
	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,
	brand: e.uiToneBrand,
	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
}, i = {
	primary: e.uiPanelTonePrimary,
	secondary: e.uiPanelToneSecondary,
	tertiary: e.uiPanelToneTertiary
};
function a(e) {
	return n[e];
}
function o(e) {
	return r[e];
}
function s(e) {
	return i[e];
}
function c({ 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 { c as i, s as n, a as r, o as t };

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