# Nova atualização mudou como meu CSS tem como alvo as cores de fundo de tópicos novos/não lidos e eu não sei como consertar

**URL:** <https://meta.discourse.org/t/new-update-changed-how-my-css-targets-new-unread-topic-background-colors-and-i-dont-know-how-to-fix-it/373748>\
**Category:** Development\
**Created:** [10 Julho , 2025 13:29 UTC](https://meta.discourse.org/t/new-update-changed-how-my-css-targets-new-unread-topic-background-colors-and-i-dont-know-how-to-fix-it/373748 "2025-07-10T13:29:55Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![Moin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/moin/32/554653_2.png) [@Moin](https://meta.discourse.org/u/Moin)\
**Post date:** [10 Julho , 2025 14:15 UTC](https://meta.discourse.org/t/new-update-changed-how-my-css-targets-new-unread-topic-background-colors-and-i-dont-know-how-to-fix-it/373748/4 "2025-07-10T14:15:13Z")

</div>

Recentemente, novas variáveis de cor foram adicionadas.

> <https://github.com/discourse/discourse/commit/20f57aec12a5d2291c79a447d18eb3f164877c61>
>
> Working on adding a lot more variables to core. Doing so enables easy
> styling & …changes to the main bulk of the interface.
> 
> \*\*Example of what can be done\*\*
> Using these variables in core allows for the following stylistic changes
> to be made with less than 100 lines of code. Most of which are changing
> the value assigned to variables in this PR.
> 
> !\[CleanShot 2025-07-03 at 19 56
> 46@2x\](https://github.com/user-attachments/assets/130dc8be-3970-49ea-9003-d124d779edcc)

Acho que isso adicionou, por exemplo, a cor de fundo em tópicos visitados:

 ![Screenshot_20250710_160842_Firefox](https://global.discourse-cdn.com/meta/original/4X/6/1/a/61af47cd2e6716f06b5f1ed8df262d79c0cdbc57.jpeg)

---

_[View the full topic](https://meta.discourse.org/t/new-update-changed-how-my-css-targets-new-unread-topic-background-colors-and-i-dont-know-how-to-fix-it/373748)._
