Sublime Forum

Colored Tabs depending of filename

#1

Hi,
I would like to create a theme where every tab is colored depending of the file opened (blue for PHP, green for CSS…) but I can’t find how to get this result
For instance
{
// - Hover tab state
“class”: “tab_control”,
“attributes”: “hover”],
“layer2.opacity”: 1.0
}

Is there a way to use a condition (like attributes) but for file name ? For instance “label” : “.php$”

A workaround would be to add “attributes” using a plugin but i’m not even sure it would work :frowning:

If someone has a solution :smile:

0 Likes