checkDeprecatedColor = (component, name, value) => {
	if (isDeprecatedColor(value)) {
		console.warn(
			`[${component}] ${name}=${value} is deprecated. Please use a color from the theme, or a valid color string.`
		);
		return DEPRECATED_COLOR_MAP[value];
	}
	return value;
}
@template T
@param {string} component
@param {string} name
@param {T} value
@returns {T | string}