[solved] Any way to dynamically change color of Dashboard tabs name?

Hello

I am trying to set the color of tab names of dashboard depending on the state of an entity (for the dynamic aspect, I planned to set a template sensor with the proper color).

I tried card-mods, but I only found out how to modify stuff within a tab (on the cards, basically).

Here’s what I am trying to modify:

Any assistance would be appreciated :slight_smile:

Thanks
Matt

Answering to myself - I found a way to go by creating some very limited themes in configuration.yaml file (actually just setting app-header-background-color - which is fitting my need) + using automation to set the theme according to the wished sensor status.

if you want some more extensive coloring, check my Gist: Custom header theme · GitHub

you can install card_mod and use any template you desire on those tab/view icons

and check out the dedicated thread in this community on card-mod-theme