Home Download Buy Blog Forum Support

Change the color of the horizontal tab line?

Change the color of the horizontal tab line?

Postby lawlist on Thu Feb 21, 2013 6:54 pm

Does anyone know how to change the color of the horizontal line for tabs? I would like to change the horizontal solid line to something like red, if possible.

-------[horizontal tab indicator line]-------TEXT-------[horizontal tab indicator line]-------TEXT
Last edited by lawlist on Thu Feb 21, 2013 10:20 pm, edited 1 time in total.
lawlist
 
Posts: 54
Joined: Thu Feb 21, 2013 6:47 pm

Re: Change the color of the horizontal tab line?

Postby adzenith on Thu Feb 21, 2013 7:26 pm

I believe it's the same as your color scheme's comments color, so I think if you changed it to red your comments would change as well.
adzenith
 
Posts: 1217
Joined: Mon Oct 19, 2009 9:12 pm

Re: Change the color of the horizontal tab line?

Postby lawlist on Thu Feb 21, 2013 8:30 pm

I just tried changing the color in this section within my active theme (Monokai.tmTheme), but the horizontal line tab colors didn't seem to be affected:

<dict>
<key>name</key>
<string>Comment</string>
<key>scope</key>
<string>comment</string>
<key>settings</key>
<dict>
<key>foreground</key>
<string>#75715E</string>
</dict>
lawlist
 
Posts: 54
Joined: Thu Feb 21, 2013 6:47 pm

Re: Change the color of the horizontal tab line?

Postby adzenith on Fri Feb 22, 2013 6:36 pm

Whoops, I guess you have to change "foreground": viewtopic.php?f=3&t=6161&p=26926
adzenith
 
Posts: 1217
Joined: Mon Oct 19, 2009 9:12 pm

Re: Change the color of the horizontal tab line?

Postby lawlist on Sat Feb 23, 2013 4:49 am

.tmTheme

Code: Select all
<!-- BEGIN whitespace / tab definitions -->
<dict>
  <key>scope</key>
  <string>lawlist.tab</string>
  <key>settings</key>
  <dict>
    <key>foreground</key>
    <string>#FF0000</string>
    <key>background</key>
    <string></string>
  </dict>
</dict>
<dict>
  <key>scope</key>
  <string>lawlist.space</string>
  <key>settings</key>
  <dict>
    <key>foreground</key>
    <string>#000000</string>
    <key>background</key>
    <string></string>
  </dict>
</dict>
<!-- END whitespace / tab definitions -->


.tmLanguage
Code: Select all
<!-- BEGIN whitespace / tab definitions -->
<dict>
  <key>match</key>
  <string>\t+</string>
  <key>name</key>
  <string>lawlist.tab</string>
</dict>

<dict>
  <key>match</key>
  <string> +</string>
  <key>name</key>
  <string>lawlist.space</string>
</dict>
<!-- END -->

Code: Select all
lawlist
 
Posts: 54
Joined: Thu Feb 21, 2013 6:47 pm


Return to General Discussion

Who is online

Users browsing this forum: steolo and 32 guests