Sublime Forum

Sublime 3.2 - Custom modified tab text color no longer works for the active tab

#1

For files that are modified and not yet saved, I like the text in the tab to show up as red. I have the following block in my theme customization file to do this:

{
    "class": "tab_label",
    "settings": ["highlight_modified_tabs"],
    "parents": [{"class": "tab_control", "attributes": ["dirty"]}],
    "fg": [255, 64, 64]
},

After updating to SublimeText 3.2, it no longer applies the red color to the active tab, only to background tabs. So if I switch to a modified file tab, the tab text turns black. When I switch to a different tab, it turns back to red. Is this a bug? Or is there a separate class for the foreground tab that I should apply similar customization to?

0 Likes

#2

Upon further experimentation, I found a fix: change “fg” to “color”. Weird that this changed, though. I wonder if was somehow caused by a recent update to the theme that I’m using (Phoenix Light)?

0 Likes