//#region src/theme/tools.ts
function e(e) {
	let t = [];
	for (let n of e) n != null && t.push(n);
	return t;
}
function t(e) {
	if (e == null) return null;
	if (typeof e == "string") return e;
	let t = Object.entries(e).filter(([, e]) => e).map(([e]) => e);
	return t.length === 0 ? null : t.join(" ");
}
function n(...n) {
	return e(n.map(t)).join(" ");
}
//#endregion
export { n as cx, e as onlyDefinedStyles };

//# sourceMappingURL=tools.js.map