Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to change Sublime Text 2 selected tab color

I like the Sublime Text 2 default color scheme Monokai alot. The only problem is the tab colors, the selected tabs and the rest of the tabs all look the same (almost). How can I change only the selected tab color for this theme.

like image 675
M. Ahmad Zafar Avatar asked Jul 18 '12 14:07

M. Ahmad Zafar


People also ask

How do I change the selection color in Sublime Text?

Changing the selection colour in Sublime Text 3Open the command palette with ⌘+⇧+P on mac iOS (for windows/linux Ctrl + Shif + P) and type prv to get the PackageResourceViewer options. Choose Open Resource >> Color Scheme – Default >> and choose your theme file to edit.

How do I display tabs in Sublime Text?

In Sublime Text 2, you can use CTRL + SHIFT + P to access quickly to some functionalities. Type tabs and you will find the View: Toggle Tabs functionality.


1 Answers

This is the best solution I have found: https://coderwall.com/p/jg4kog

  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]} ] 
like image 155
Ravi Ram Avatar answered Sep 30 '22 19:09

Ravi Ram