Ulamaa ID 03
In the Name of Allah, the Inspirer of Truth.
Assalamu Alaikum Warahmatullahi Wabarakatuh
Partaking of such foods is not permissible, as they constitute taking part in a religious festival. If you are offered such sweets, then politely decline, citing an excuse which would not offend them.
And Allah knows Best
Wa Alaykumussalaam Wa Rahmatullahi Wa Barakatuh