buymeasoda / soda-theme

Dark and light custom UI themes for Sublime Text
https://buymeasoda.github.io/soda-theme/
4.33k stars 517 forks source link

Tab title font italic - changes randomly #201

Open LeonardoGentile opened 9 years ago

LeonardoGentile commented 9 years ago

I am on ST3, I have set "theme": "Soda Dark 3.sublime-theme" in my settings file. Then I've created a file Soda Dark3.sublime-theme in my user folder, this is its content:

[
    {
        "class": "tab_label",
        "fade": true,
        "fg": [170, 170, 170],
        "shadow_color": [25, 25, 25],
        "shadow_offset": [0, -1],
        "font.italic": false
    },
    {
        "class": "tab_label",
        "attributes": ["transient"],
        "font.italic": false
    },
    {
       "class": "tab_label",
       "parents": [{"class": "tab_control", "attributes": ["dirty"]}],
       "font.italic": false,
       "fg": [120, 170, 250],
    }
]

The main point is that I do NOT want tab titles to be italic, just normal font-style. The problem is that (seemingly randomly) some tab title are sometimes showed in italic, sometimes in normal font-style. This doesn't depends on the state of the file (saved, dirty, ectr)

A bug in ST3 or something I'm missing about the theme configuration?

Thanks

Stanzilla commented 9 years ago

Haha no, that's actually a ST feature, tab titles are italic when they are not permanent tabs, so they close when you go click on a nother file. They only become permanent tabs when you double click the file name in the tree-view. And permanent tabs have non-italic titles.

LeonardoGentile commented 9 years ago

AHH :D ok, that makes sense. Not so annoying then even though I'd like to know if this could be disable or not