/** @license MIT | @cube-dev/ui-kit v0.0.0-canary-1fc5ad1 | Cube Dev Team */
//#region src/tasty/utils/colors.ts
function color(name, opacity = 1) {
	if (opacity !== 1) return `rgb(var(--${name}-color-rgb) / ${opacity})`;
	return `var(--${name}-color)`;
}

//#endregion
export { color };
//# sourceMappingURL=colors.js.map