# Como forçar a cor do texto em um fundo colorido

**URL:** <https://meta.discourse.org/t/how-do-i-force-the-text-color-on-a-colored-background/149509>\
**Category:** Development\
**Created:** [Abril 27, 2020, 7:32pm UTC](https://meta.discourse.org/t/how-do-i-force-the-text-color-on-a-colored-background/149509 "2020-04-27T19:32:19Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![Canapin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/canapin/32/119591_2.png) [@Canapin](https://meta.discourse.org/u/Canapin)\
**Post date:** [Abril 27, 2020, 7:32pm UTC](https://meta.discourse.org/t/how-do-i-force-the-text-color-on-a-colored-background/149509/1 "2020-04-27T19:32:19Z")

</div>

Olá.  
Estou tentando criar um tema e aqui está o que a cor do meu tema mostra:

![image](https://global.discourse-cdn.com/meta/original/3X/c/8/c86b2f23d298c9126504f49c803384208a27e3bf.png)  
Gostaria de ter texto branco em todos os elementos usando esse fundo azul, em vez do texto preto escolhido pelo Discourse.  
Onde posso forçar o texto a ficar branco?

edição: Li isto:

> [@Override values for auto-generated color variables](https://meta.discourse.org/t/override-values-for-auto-generated-color-variables/134374):
>
> As of v2.3.3 (released early September) you can now override our automatically-generated SASS color variables ($primary-low, $primary-medium, etc) in remote themes (you can not yet do this directly via the admin UI.) To override one of these colors you need to add it to the color\_scheme section of your theme’s about.json file. Once you’ve done that you can see the override listed within your color scheme in /admin/customize/colors. "color\_schemes": { “My\_colors”: { "primary": "000000…

Estou criando um tema no criador de temas, acho que não tenho acesso a um about.json?

---

_[View the full topic](https://meta.discourse.org/t/how-do-i-force-the-text-color-on-a-colored-background/149509)._
