/*! © 2026 Yahoo, Inc. UDS Tailwind and Purger v0.0.0-development */
import { fontAliases, textVariants } from "../../fixtures/dist/index.js";
import { FONT_FAMILY_PREFIX } from "../../css-tokens/dist/index.js";
import { textVariantsSafe } from "../components/getResponsiveTextStyles.js";

//#region src/tailwind/theme/getFontFamilyTheme.ts
function getFontFamilyTheme() {
	/** Global font family aliases i.e. font-sans, font-serif, etc */
	const globalFonts = Object.fromEntries(fontAliases.map((fontAlias) => {
		return [fontAlias, `var(--${FONT_FAMILY_PREFIX}-${fontAlias})`];
	}));
	/** Text variant font family assignments i.e. font-display1 */
	const textVariantFonts = Object.fromEntries(textVariants.map(textVariantsSafe).map((textVariant) => {
		return [textVariant, `var(--${FONT_FAMILY_PREFIX}-${textVariant})`];
	}));
	return {
		...globalFonts,
		...textVariantFonts
	};
}

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