Sublime Forum

How do I change the background tab color? It's too subtle

#1

See attached file. I love the default Monokai theme otherwise, but the tiny difference in color between current and background tabs has been causing me problems. All I see is the “background” setting in the them, which changes everything (foreground of document, current tab, background tabs). I just want to change the background tabs.

Thanks.

0 Likes

Changing tab color in Sublime Text 3
#2

The UI of ST2 (tabs, sidebar, panels, etc) is controlled by the Theme. You’ll need to edit the appropriate images within the /Packages/Theme - Default/ folder. You may also look at using the Soda theme, which has well documented settings files.

0 Likes

#3

Thanks, Nick.

On Google Plus, Marek Pełka also suggested editing the PNG files in Packages\Theme - Default\ directly. I was able to get an effect. It’s ugly, but it does work. If I had more time, I could make the background in the image transparent so it doesn’t overlap.

(http://i.imgur.com/NG1Ec.png)

0 Likes

#4

Hi,

I just downloaded ST2 today after getting frustrated with TM for the 100th time. I’m liking what I see very much. As with TM, I immediately sought a way to make the status of tabs clearer (I think the default behavior is way too subtle for easy scanning).

Two tweaks:

  • Active tabs have a bright green bar at the top to make it stand out
  • Dirty files have a red/scarlet circle instead of the subtle gray circle

Below is my first crude attempt at tweaking some of the tab resource images. The above version is what I was using in TM, and the bottom is the quickie ST2 version (the green on the edges of the tab need better tapering, IMO).
If anyone is interested, I can find a way to make these available.

1 Like

#5

Just replace the following files:

…\Packages\Theme - Default\medium_dark_selected_tab_bg.png
…\Packages\Theme - Default\medium_dark_unselected_tab_bg2.png

with these attached.

(works for Monokai and Solarized at least)



0 Likes

#6

And now…drumroll…because nobody asked for it. 8-}

Maybe someone might find some of this useful. You can pick and choose any of these as drop in replacements for the current versions to make some of the important UI elements less subtle. I’m not a graphics artist (and I’m sure it shows), but this is just my attempt at improving the world, just a few small images at a time. Just make sure you back up your original versions before swapping in case you want to switch back.

Included:

  • Dirty file indicator for the sidebar/file tree
  • Dirty file indicator for each tab (light and dark themed versions)





0 Likes

Color on Taps and scroll bar
#7

And the active tab indicators (light, medium, medium dark and dark themes)

They don’t look very different to the eye to me, but the gray line colors and shadow differences are subtle





0 Likes

#8

Final one, sorry for the spew (3 attachment limit per message)

(the taper at the edges on these have been improved over the initial screenshot I posted)

0 Likes

#9

This is great. Thanks blooberry. It nice to have some colour options.

0 Likes

#10

I love it. Any suggestions for getting this to work with the Soda themes?

0 Likes

#11

Nice work, guys. :smile:
This actually gave me enough motivation to mess with the theme files myself…

Turns out I really liked the tab stretching effect.
Here’s an example (even though this isn’t a good use of this… doesn’t really fit the Soda theme) with modified hover and selected tabs:


Quite a beautiful gradient for a simple couple-of-pixels modification on the Soda theme!



0 Likes

#12

These tab graphics vastly enhance the interface. It would be great if they were integrated into the main release so everyone would get the benefit.

It would be even better if there were a way to make the green line red when a tab contains unsaved edits.

0 Likes

#13

I’ve got this problem too of course… But I can’t seem to find directories within the Package directory and I can’t find any images anywhere in my sublime directory. Maybe this has something to do with the fact I’m using sublime 3 instead of 2?

Can anybody give me some input on how to replace those images in sublime 3?

0 Likes

#14

this looks great. i’d also like to see a solution for ST3.

0 Likes

#15

Is there still no solution for this in ST3…? :frowning:

0 Likes

#16

Simple solution for SublimeText 3 - change active tab title font color:

  1. copy Theme - Default.sublime-package from /Packages folder to other place
  2. rename file - add .zip extension and extract archive to some folder
  3. find Default.sublime-theme file and open it in text editor
  4. find **// Tab Labels ** section
  5. for each tab_label entry with selected attribute change “fg” color from “255, 255, 255” to e.g. “255, 216, 0”
  6. save file and pack folder to Theme - Default.sublime-package.zip (be careful - don’t create subfolder level)
  7. remove .zip extension and put Theme - Default.sublime-package into /Packages folder (rename original file for backup purpose to e.g. Theme - Default.sublime-package.bak)
  8. run SublimeText and enjoy!

Probably is possible to replace tab backgrounds (in archive Theme - Default.sublime-package.zip you can find all needed files), but it’s embarrassing without documentation.

1 Like

#17

thank you. this helped

0 Likes