/*! © 2026 Yahoo, Inc. UDS v0.0.0-development */
const require_runtime = require("../_virtual/_rolldown/runtime.cjs");
const require_plugin$1 = require("../node_modules/.bun/tailwindcss@3.4.19_7500dce058369e0a/node_modules/tailwindcss/plugin.cjs");
const require_parseTokens = require("../utils/parseTokens.cjs");
const require_index = require("../packages/modes/dist/index.cjs");
//#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__ */ require_runtime.__toESM(require_plugin$1.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 = require_parseTokens.parseTokens(config).scaleMode[require_index.DEFAULT_SCALE_MODE];
	return { theme: { extend: { sizing: {
		icon: scaleModeToken.iconSizes.tailwindConfig,
		avatar: scaleModeToken.avatarSizes.tailwindConfig
	} } } };
});
//#endregion
exports.sizingPlugin = sizingPlugin;
