How to switch between dark mode and bright white mode in embedded Discourse

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

That could help: