/*! © 2026 Yahoo, Inc. UDS v0.0.0-development */
//#region ../tailwind-internal/dist/utils/getColorModeStyles.js
/*! © 2026 Yahoo, Inc. UDS Tailwind Internal v0.0.0-development */
function getColorModeStyles(tokens) {
	if (!tokens.colorMode?.light?._vars || !tokens.colorMode?.dark?._vars) throw new Error("Invalid tokens configuration: missing colorMode.light._vars or colorMode.dark._vars. Ensure your uds.config.ts exports a valid UniversalTokensConfig.");
	return {
		light: {
			colorScheme: "light",
			"--uds-light-mode-icon": "inline",
			"--uds-dark-mode-icon": "none",
			...tokens.colorMode.light._vars
		},
		dark: {
			colorScheme: "dark",
			"--uds-light-mode-icon": "none",
			"--uds-dark-mode-icon": "inline",
			...tokens.colorMode.dark._vars
		}
	};
}
//#endregion
exports.getColorModeStyles = getColorModeStyles;
