What is the way to change the color of the side bar (file browser)? What do I need to add to my .tmTheme
file to modify the defaults?
Using a dark theme the side bar can be too bright for my taste.
Then in Preferences > Browse Packages > User, create a new file and call it Default. sublime-theme (be sure that the extension is in . sublime-theme). Then you can change the sidebar color by changing the RGB values of “Background color”.
You have to add a folder to the Sublime Text window in order to navigate via the sidebar. Go to File -> Open Folder... and select the highest directory you want to be able to navigate. Also, 'View -> Sidebar -> Show Sidebar' if it still doesn't show.
You want to go into your
~/Library/Application Support/Sublime Text 2/Packages/Default/Default.sublime-theme
(old version) or
~/Library/Application Support/Sublime Text 2/Packages/Theme-Default/Default.sublime-theme
(new version) and edit these things:
"class": "sidebar_container"
"class": "sidebar_tree"
"class": "sidebar_heading"
"class": "sidebar_label"
Therein you can change the RGB colors until you get what you want.
Here is a thread that discusses this in greater detail.
edit: added the correct location provided by @Michael Tunnell
edit: Sample Dark SideBar Configuration.
Click to See Larger Image for Settings
AGS is right but they recently changed the location of the default theme file.
As of now it is at Packages/Theme - Default/Default.sublime-theme
The "Packages/Default" folder contains other non-theme related files now.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With