Sublime Forum

How to change the color of Tab lines in Sublime (3)

#1

Hi,

It drives me crazy that tab lines are hard to seen in some themes, I tried to fix it, but whatever variable in theme I change - it doesn’t seem to affect the vertical lines.

Any ideas?

It would be great if there was a separate key for tab lines.

0 Likes

#2

I was pretty certain it used the comment color from your color scheme (.tmTheme). Did you try that?

0 Likes

#3

Yep, tried that too, after googleing last night. Doesn’t change anything. And yes I have restarted Sublime each time I applied.

http://d.pr/i/ayT1+

0 Likes

#4

If by “tab lines” you mean the guides, then:

"guide": "#93a1a166",
"activeGuide": "#93a1a1bb",
"stackGuide": "#93a1a166",

(Use your own values, obviously.)

Alex

2 Likes

#5

Hey, that worked, thanks!

<key>guide</key> <string>#073642</string>

What are activeguide and stackguide?

0 Likes

#6

[code] // Set to false to turn off the indentation guides.
// The color and width of the indent guides may be customized by editing
// the corresponding .tmTheme file, and specifying the colors “guide”,
// “activeGuide” and “stackGuide”
“draw_indent_guides”: true,

// Controls how the indent guides are drawn, valid options are
// "draw_normal" and "draw_active". draw_active will draw the indent
// guides containing the caret in a different color.
"indent_guide_options": "draw_normal"],

[/code]

0 Likes

#7

same question but 2023.

latest sublime version as of today, on mac, sonoma 14.1

in .sublime-color-scheme user settings i have tried:

“globals”:
{
“background”: “var(black)”,
“active_guide”: “var(red)”,
“stack_guide”: “color(var(red) alpha(0.5))”,
},

but that has absolutely no effect wrt the guides. the general background changes well enough, though. is something overriding these settings?

my installed packages: Package Control|, Anaconda, SublimeREPL|, SublimeLinter and flake 8

0 Likes

Draw_normal not working for indentation guides
#8

Based on your question in this thread, your problem is that the color scheme rule that customizes the normal color of guides is guide; the options you have above are for specifying the colors for the active guide levels (depending on the appropriate guide preferences being set).

So, if you’re trying to customize the normal guide color, the reason it’s not working is because you’re not setting the color of guide in the globals section.

Many color schemes, (including the default Mariana color scheme) don’t specify an explicit guide color, only the color for the active and stack guides.

1 Like

#10

full answer and instructions (WORKS) here:

0 Likes