Sublime Forum

Color scheme for settings files

#1

(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

0 Likes

#2

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]{

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

}[/code]

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.

0 Likes

#3

Thanks, guillermooo. That works great. Much appreciated.
Another question to come…

0 Likes