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

**URL:** <https://meta.discourse.org/t/how-to-switch-between-dark-mode-and-bright-white-mode-in-embedded-discourse/249542>\
**Category:** Product Support\
**Created:** [Dezembro 21, 2022, 1:06am UTC](https://meta.discourse.org/t/how-to-switch-between-dark-mode-and-bright-white-mode-in-embedded-discourse/249542 "2022-12-21T01:06:22Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![kirupa](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/kirupa/32/374711_2.png) [@kirupa](https://meta.discourse.org/u/kirupa)\
**Post date:** [Dezembro 29, 2022, 9:44pm UTC](https://meta.discourse.org/t/how-to-switch-between-dark-mode-and-bright-white-mode-in-embedded-discourse/249542/2 "2022-12-29T21:44:50Z")

</div>

Estou tendo um desafio semelhante. Você conseguiu encontrar uma solução alternativa?

Por causa do problema de cross-origin, não consigo adicionar nenhum tipo de marcador no iframe que meu CSS incorporado possa usar para descobrir quais cores usar:

 ![image](https://global.discourse-cdn.com/meta/original/4X/7/0/7/707b442ac62f3846941af513bfd72df1d2cdf96c.png)

---

_[View the full topic](https://meta.discourse.org/t/how-to-switch-between-dark-mode-and-bright-white-mode-in-embedded-discourse/249542)._
