Home Download Buy Blog Forum Support

Side bar folder color changed, can't change it back?

Side bar folder color changed, can't change it back?

Postby JarrettBillingsley on Wed Apr 03, 2013 1:19 am

I'm running build 2217. I use the Nil theme with a slightly customized tmTheme for my own colors.

For months the folders in the sidebar have been an off-white color. Today, I opened ST and found this:

Image

Uh..

Apparently this is the color that folders are supposed to be according to the Nil theme. If I open "Theme - Nil/Nil.sublime-theme", for "class": "sidebar_heading" the color is set to [155, 110, 248], which is indeed what color that text is.

Question is, why did this suddenly happen? I think I installed and uninstalled an unrelated plugin recently, but I didn't notice any color change until today. What's even more confusing is that I can't seem to change it back. Modifying the Nil.sublime-theme file has no effect on the color, and I have no idea where else I would be able to change it.

..is anyone else kinda annoyed at how nightmarishly difficult it is to figure out where some aspect of the editor is getting its configuration? And how unbelievably under-documented all the configuration stuff is?
JarrettBillingsley
 
Posts: 11
Joined: Wed Jun 27, 2012 6:06 am

Re: Side bar folder color changed, can't change it back?

Postby duncan on Sat Apr 06, 2013 9:32 am

Is this is still an issue?

If it is talk us through some more of what you have done to get to where you are and what you have tried to get to a different place.

When you said you have been running a personally altered version of the Nil theme how did you do that?
Did you alter the default Nil theme or did you create a copy of the Nil theme, name it something different (maybe 'myNil.tmTheme')?
Where did you put the theme file holding your preferred settings? Which folder path?

I have sympathy for your difficulties in handling all the options ST provides but it is kinda impossible to give the user huge customising power without also giving us the power to get it wrong.

I can't say I agree with your concerns around where to put files to create overrides to behaviour. The rules themselves are fairly simple and I consider them adequately documented. Whenever I get things wrong it is my fault for trying to do something I am not quite clever enough to do or, more importantly, failing to keep adequate notes of my changes and experiments so I can back them out or replicate them. I am not sure about your issues here so I am not painting you with the same brush I paint myself with.
duncan
 
Posts: 17
Joined: Sat Aug 27, 2011 12:59 pm

Re: Side bar folder color changed, can't change it back?

Postby JarrettBillingsley on Mon Apr 08, 2013 10:20 am

I didn't modify the default Nil theme file. I created a new tmTheme file based on it called "Mine.tmTheme" which lives in the User directory.

In my user settings file, the "color_scheme" key is set to "Packages/User/Mine.tmTheme" and "theme" is set to "Nil.sublime-theme". There is only one Nil.sublime-theme file in my entire packages directory, and it's in Packages/Theme - Nil.

The confusing part is that even if I try to change that Nil.sublime-theme file, nothing changes. I can enter ridiculous values for any aspect of the theme and nothing happens. And it's not like my tmTheme file is overriding it -- as far as I can tell, there's no way to theme the sidebar with tmTheme files. (On the subject: why the hell are there both sublime-theme AND tmTheme files?) So this is why I feel like I'm in configuration hell: it seems like SOME file is overriding the values set in Nil.sublime-theme but I can't for the life of me figure out what file.
JarrettBillingsley
 
Posts: 11
Joined: Wed Jun 27, 2012 6:06 am

Re: Side bar folder color changed, can't change it back?

Postby zumipin on Wed Apr 24, 2013 12:43 pm

I noticed the same issue in my install. The change seemed to happen out of the blue, when I wasn't messing around with any particular settings. I wasn't paying enough attention to note if it happened after installing a particular extension or not, however.

I did figure out how to fix it...the setting you had found isn't quite the right one, however. Look for this section:

Code: Select all
   //   - Sidebar entry label
   {
      "class": "sidebar_label",
      "color": [180, 180, 180],
      "shadow_color": [0, 0, 0],
      "shadow_offset": [0, 0.5]
   },
   {
      "class": "sidebar_label",
      "parents": [{"class": "tree_row", "attributes": ["expandable"]}],
      "settings": ["bold_folder_labels"],
      "font.bold": true
   },
   {
      "class": "sidebar_label",
      "parents": [{"class": "tree_row", "attributes": ["expandable"]}],
      "color": [90, 180, 50]
   },
   {
      "class": "sidebar_label",
      "parents": [{"class": "tree_row", "attributes": ["expandable"]}],
      "settings": ["disable_colored_folder_labels"],
      "color": [180, 180, 180]
   },


The value I have set to "[90, 180, 50]" is the one that will change the purple folders (in my case, to a shade of green).

Hope this helps!
zumipin
 
Posts: 1
Joined: Wed Mar 06, 2013 3:18 am

Re: Side bar folder color changed, can't change it back?

Postby JarrettBillingsley on Fri Apr 26, 2013 8:47 am

Changing that does nothing for me. :|

Like I said, I can change literally anything in Nil.sublime-theme and it has no effect on the theme. It DOES seem to be being parsed, as if I enter invalid JSON everything goes weird. It's just that for some reason all the values of the theme items have zero effect.

I want to know what goddamn file is overriding it.
JarrettBillingsley
 
Posts: 11
Joined: Wed Jun 27, 2012 6:06 am


Return to Technical Support

Who is online

Users browsing this forum: No registered users and 32 guests

cron