Como alternar entre o modo escuro e o modo branco brilhante no Discourse incorporado

There is an official way but only for official themes: Styling of Embedded Discourse

That could help: