# 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:** 2

<div class="post-metadata">

**Author:** ![david](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/david/32/157490_2.png) [@david](https://meta.discourse.org/u/david)\
**Post date:** [11 Settembre 2018, 9:46am UTC](https://meta.discourse.org/t/meta-attribute-theme-color-uses-the-default-header-background-color-not-the-active-one/96727/2 "2018-09-11T09:46:45Z")

</div>

I had this reported yesterday on another forum.

The `theme-color` tag is used by Chrome on android to style tabs according to the website’s color scheme.

> **[Support for theme-color in Chrome 39 for Android  |  Blog  |  Chrome for...](https://developer.chrome.com/blog/support-for-theme-color-in-chrome-39-for-android)**
>
> Use theme-color to set the toolbar color in Chrome for Android.

As @gkln said, this seem to have stopped working properly for Discourse sites. Looking at the code, I’m not sure if/how it ever fetched colors from a non-default theme, but it can’t be a coincidence that two separate people have reported it 🤔. @osama maybe something related to the recent theme changes?

> <https://github.com/discourse/discourse/blob/main/app/views/layouts/_head.html.erb#L12>

---

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