Where developers come to connect, share, build and be inspired.


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: Picture This is what we’ll get after applying the changes described below: Picture My colleague Tom Greuter sent me this tip, so kudos to him! So here’s what you do:

  1. Inside of Sublime Text go to Preferences > Browse packages.
  2. Navigate to the User folder.
  3. There you create a file called Default.sublime-theme
  4. 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/


Add a comment