Home Download Buy Blog Forum Support

color scheme for settings files

color scheme for settings files

Postby dutch on Fri Feb 17, 2012 12:55 pm

(Note: I'm a writer, not a progammer.)

I tweaked a custom color scheme to get my text area to look just the way I want it to---basically black text on a very light gray background. All is good there. But now when I open up any of the settings files (File Settings, Global Settings, Key Bindings, etc.), the words are light blue on that light gray background, and it's hard to read. (the separators are black, but the words are all light blue)

I can't for the life of me find out where the setting is that controls the color of that text in those settings files.

Can someone please point me in the right direction?


THANKS
dutch
 
Posts: 39
Joined: Fri Jan 27, 2012 3:25 pm

Re: color scheme for settings files

Postby guillermooo on Fri Feb 17, 2012 1:01 pm

I think you should probably do it the other way around: only change the color scheme for the type of file you're gonna be editing (.txt, probably?).

1) Open a file of the type you're going to be editing (like Example.txt)
2) Go to Peferences > Settings - More > Syntax Specific - User
3) Put something along these lines there:

Code: Select all
{

    "color_scheme": "Packages/Color Scheme - Default/Your Own Theme File Here.tmTheme"

}


That should leave the other file types (like .sublime-settings) alone and only apply the desired color scheme to .txt files. Note that this is simply creating a new .sublime-settings file for the .txt file type. This new settings file will be named after the .tmLanguage file that defines the syntax def for .txt files. That's how syntax-specific settings work for every other file type.
guillermooo
 
Posts: 723
Joined: Thu Jul 23, 2009 9:06 am

Re: color scheme for settings files

Postby dutch on Fri Feb 17, 2012 1:10 pm

Thanks, guillermooo. That works great. Much appreciated.
Another question to come.....
dutch
 
Posts: 39
Joined: Fri Jan 27, 2012 3:25 pm


Return to General Discussion

Who is online

Users browsing this forum: No registered users and 18 guests