/*! © 2026 Yahoo, Inc. UDS v0.0.0-development */
import { __toESM } from "../_virtual/_rolldown/runtime.js";
import { require_plugin } from "../node_modules/.bun/tailwindcss@3.4.19_7500dce058369e0a/node_modules/tailwindcss/plugin.js";
import { parseTokens } from "../utils/parseTokens.js";
import { DEFAULT_SCALE_MODE } from "../packages/modes/dist/index.js";
//#region ../tailwind-internal/dist/plugins/sizing.js
/*! © 2026 Yahoo, Inc. UDS Tailwind Internal v0.0.0-development */
/**
* @deprecated The resulting CSS does not seem to be in use anywhere.
*/
const sizingPlugin = (/* @__PURE__ */ __toESM(require_plugin(), 1)).default.withOptions(() => ({ matchUtilities, theme }) => {
	matchUtilities({ iconSize: (value) => ({
		width: value,
		height: value,
		fontSize: value,
		lineHeight: value
	}) }, { values: theme("sizing.icon") });
	matchUtilities({ avatarSize: (value) => ({
		width: value,
		height: value
	}) }, { values: theme("sizing.avatar") });
}, ({ config }) => {
	const scaleModeToken = parseTokens(config).scaleMode[DEFAULT_SCALE_MODE];
	return { theme: { extend: { sizing: {
		icon: scaleModeToken.iconSizes.tailwindConfig,
		avatar: scaleModeToken.avatarSizes.tailwindConfig
	} } } };
});
//#endregion
export { sizingPlugin };
