/*! © 2026 Yahoo, Inc. UDS Tailwind and Purger v0.0.0-development */
const require_runtime = require('../../_virtual/_rolldown/runtime.cjs');
const require_parseTokens = require('../../utils/parseTokens.cjs');
const require_index = require('../../modes/dist/index.cjs');
let tailwindcss_plugin_js = require("tailwindcss/plugin.js");
tailwindcss_plugin_js = require_runtime.__toESM(tailwindcss_plugin_js);

//#region src/tailwind/plugins/sizing.ts
/**
* @deprecated The resulting CSS does not seem to be in use anywhere.
*/
const sizingPlugin = tailwindcss_plugin_js.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;