Home Download Buy Blog Forum Support

Hot to change active tab title color

Hot to change active tab title color

Postby edgb77 on Wed Mar 13, 2013 8:52 am

Hi everybody, i´m a newer, i was trying to to customize my favourite color scheme (blackboard) and put the active tab title color to yellow to see quicky the opened tab, but i haven´t been able to do it, i see no parameter in the blackboard theme file,

Any idea where am i can change this setting?

thanks a lot!!
edgb77
 
Posts: 2
Joined: Mon Mar 11, 2013 2:39 pm

Re: Hot to change active tab title color

Postby jbjornson on Wed Mar 13, 2013 9:04 am

You might want to try out the Phoenix theme...it has lots of options for coloring the tabs:
https://github.com/netatoo/phoenix-theme

Even if you decide not to use it, you should be able to look into the theme definition to find out how it is being done (the .sublime-theme file is reasonably well documented).
jbjornson
 
Posts: 350
Joined: Tue Oct 27, 2009 4:25 pm
Location: Zurich, Switzerland

Re: Hot to change active tab title color

Postby robertcollier4 on Wed Mar 13, 2013 10:03 am

Add to Settings
Code: Select all
"highlight_modified_tabs": true,

Add to theme
Code: Select all
   {
      "class": "tab_control",
      "settings": ["highlight_modified_tabs"],
      "attributes": ["dirty"],
      "layer0.texture": "Theme - Nil/assets/dark/tabs/tab-inactive-modified.png",
      "layer1.texture": "Theme - Nil/assets/dark/tabs/tab-hover-dirty.png"
   },
   {
      "class": "tab_control",
      "settings": ["highlight_modified_tabs"],
      "attributes": ["dirty", "selected"],
      "layer0.texture": "Theme - Nil/assets/dark/tabs/tab-active-modified.png"
   },
   // - Dirty inactive tab label
   {
      "class": "tab_label",
      "parents": [{"class": "tab_control", "attributes": ["dirty"]}],
      "settings": ["highlight_modified_tabs"],
      "fg": [192,192,192]
   },

   // - Dirty active tab label
   {
      "class": "tab_label",
      "parents": [{"class": "tab_control", "attributes": ["selected", "dirty"]}],
      "settings": ["highlight_modified_tabs"],
      "fg": [192,192,192]
   },
robertcollier4
 
Posts: 154
Joined: Sun Feb 24, 2013 5:37 pm

Re: Hot to change active tab title color

Postby edgb77 on Wed Mar 13, 2013 3:13 pm

Thanks a lot guys!
i´ll try those options! xD
edgb77
 
Posts: 2
Joined: Mon Mar 11, 2013 2:39 pm

Re: Hot to change active tab title color

Postby old9 on Tue Sep 24, 2013 1:38 am

Where can I find the complete documentation for all these theme settings?
old9
 
Posts: 4
Joined: Fri Mar 23, 2012 2:16 am


Return to Technical Support

Who is online

Users browsing this forum: Google [Bot], Majestic-12 [Bot] and 25 guests