Change tab color in Sublime Text 2
I like Sublime Text 2. It’s lightweight, fast, pretty and does a lot for you. But it doesn’t show clearly which tab is actively selected. It’s darker than the rest and the outlines aren’t that visible. Here's how you change this.
This is the default look:
This is what we’ll get after applying the changes described below:
My colleague Tom Greuter sent me this tip, so kudos to him!
So here’s what you do:
- Inside of Sublime Text go to Preferences > Browse packages.
- Navigate to the User folder.
- There you create a file called Default.sublime-theme
- Open that file in Sublime Text and copy and paste the following JSON object:
[{"class": "tab_control", "attributes": ["selected", "file_medium_dark"],"tint_modifier": [255, 255, 255, 80]}]
And bazinga, there’s you freshly colored tab. No need to restart.
Alternatively, you could also install another theme, like the Soda theme:
https://github.com/buymeasoda/soda-theme/
Written by Erik van Nieuwburg
Related protips
2 Responses
Thank you!!! Love this.
Thanks :) This only works for some themes, but it does not work for themes with a dark background. I have created three themes, from Eiffel (EiffelRed #ffaaaa, EiffelBlue #aaaaff, EiffelGreen #aaffaa), using different themes for different folders. I need exactly these colors. And with such bright colors, there seems to be no effect at all with your method. Is there another way? Sincerely, Thomas.