/*! © 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_index = require("../packages/fixtures/dist/index.cjs");
const require_getShadowStyles = require("../utils/getShadowStyles.cjs");
const require_getShadowPresetValues = require("../utils/getShadowPresetValues.cjs");
//#region ../tailwind-internal/dist/plugins/shadows.js
/*! © 2026 Yahoo, Inc. UDS Tailwind Internal v0.0.0-development */
const shadowsPlugin = (/* @__PURE__ */ require_runtime.__toESM(require_plugin$1.require_plugin(), 1)).default.withOptions(({ config }) => ({ addUtilities, addBase }) => {
	/** Add shadow utilities to make shadow props available in Tailwind */
	if (!config.shadow) return;
	const dropShadowVariables = require_getShadowPresetValues.getShadowPresetValues({
		config,
		shadowType: "drop"
	});
	const insetShadowVariables = require_getShadowPresetValues.getShadowPresetValues({
		config,
		shadowType: "inset"
	});
	addBase({
		...dropShadowVariables,
		...insetShadowVariables
	});
	const dropShadowStyles = require_getShadowStyles.getShadowStyles({
		config,
		shadowType: "drop"
	});
	const insetShadowStyles = require_getShadowStyles.getShadowStyles({
		config,
		shadowType: "inset"
	});
	addUtilities({
		...dropShadowStyles,
		...insetShadowStyles
	});
}, () => ({ theme: { extend: {
	shadowOpacity: require_index.shadowOpacityMap,
	shadowSpread: require_index.shadowSpreadRadiusMap,
	shadowOffset: require_index.shadowOffsetMap,
	shadowBlur: require_index.shadowOffsetMap
} } }));
//#endregion
exports.shadowsPlugin = shadowsPlugin;
