Phase-space optics is used to relate the problem of designing diffractive optical elements for any first-order optical system to the corresponding design problem in the Fraunhofer diffraction regime. This, in particular, provides a novel approach for the fractional Fourier transform domain. For fractional Fourier transforms of arbitrary order, the diffractive element is determined as the optimum design computed for a generic Fourier transform system, scaled and modulated with a parabolic lens function. The phase-space description also identifies critical system parameters that limit the performance and applicability of this method. Numerical simulations of paraxial wave propagation are used to validate the method.