Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tab title font italic - changes randomly #201

Open
LeonardoGentile opened this issue May 12, 2015 · 2 comments
Open

Tab title font italic - changes randomly #201

LeonardoGentile opened this issue May 12, 2015 · 2 comments

Comments

@LeonardoGentile
Copy link

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
Copy link

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
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants