Design of the accelerator magnets for the ESRF | Synapse