Heat the oil in a wok and gently fry the tofu, taking care not to let it go too brown. Lift it out and drain on kitchen paper.
Briefly fry the onion and garlic, then add the spinach. Fry very briefly until it wilts, then push it to the edge of the wok – this way it keeps its fresh green colour.
Add the coconut milk and tomatoes to the middle of the wok and simmer until the sauce has the consistency you like. Add the spices meanwhile, using as much chilli as you like.
Put the tofu into the sauce and let it warm through.
Turn off the heat and push the spinach on top of the tofu. Enjoy!