# L'attributo meta theme-color utilizza il colore di sfondo predefinito dell'intestazione, non quello attivo

**URL:** <https://meta.discourse.org/t/meta-attribute-theme-color-uses-the-default-header-background-color-not-the-active-one/96727>\
**Category:** Bug\
**Created:** [8 Settembre 2018, 10:17am UTC](https://meta.discourse.org/t/meta-attribute-theme-color-uses-the-default-header-background-color-not-the-active-one/96727 "2018-09-08T10:17:57Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![Osama](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/osama/32/98013_2.png) [@Osama](https://meta.discourse.org/u/Osama)\
**Post date:** [11 Settembre 2018, 2:22pm UTC](https://meta.discourse.org/t/meta-attribute-theme-color-uses-the-default-header-background-color-not-the-active-one/96727/4 "2018-09-11T14:22:50Z")

</div>

The `theme-color` meta attribute always used the site’s default color scheme instead of the scheme of the current user theme. We’ve had this bug since the inception of user-selectable themes. Here is a fix for it:

[https://github.com/discourse/discourse/pull/6384](https://github.com/discourse/discourse/pull/6384)

@gkln thanks for reporting this ancient bug!

---

_[View the full topic](https://meta.discourse.org/t/meta-attribute-theme-color-uses-the-default-header-background-color-not-the-active-one/96727)._
