Sublime Forum

Is it not possible to tweak a theme?

#1

I am currently using the Monokai color scheme. It’s basically fine, but I’d like to be able to tweak a few things.

For example, I’d like to make the background pure black.

I’d also like to change the basic font color from white/grey to something with a slight red shift. Maybe adjust the font.

I did a little searching on Google, and I’ve found no meaningful hits to do with adjusting color schemes. Every link seems to go toward downloading and choosing a whole different scheme package. (Sometimes they’re called “Themes”, I’m not totally clear on the difference.)

I’m not opposed to using a different color scheme/theme package if I can find the right one, but hunting around for the perfect pre-made package can be a long and frustrating journey of finding themes with parts I like, but then also parts I don’t like. I feel like it would be easier to just make adjustments as I decide what changes I want to make.

I did examine the “settings” options, but didn’t see anything for “background”.

Can I change the background color? The font color? The font?

0 Likes

#2

In formal ST terms,

  • theme is for UI things. File extension is .sublime-theme.
  • color scheme is mostly for syntax highlighting but it also defines some color-related things for a view (you can consider view = tab basically). File extensions are .tmTheme (old) and .sublime-color-scheme (new).

Can I change the background color? The font color? The font?

  • background color: color scheme
  • font color (syntax highlighting): color scheme + syntax definition (this could be complicated for a newbie)
  • font: user preferences
0 Likes

#3

Thanks for replying!

I’m not clear on how I apply the suggestion you describe, though.

When you say
background color : color scheme
… what does that mean? What is a valid value for “color scheme”?

And does this go in the “Settings - Distraction Free” settings?

I tried putting in:
"background_color: #000000,
… but it doesn’t seem to work.

0 Likes

#4

I mean background color is controlled by the color scheme you used.

0 Likes

#5

If you just want to edit the color scheme you are using, I recommend

  1. Install https://packagecontrol.io/packages/PackageDev (this package is really good for both rookies and veterans!)
  2. From the command palette (ctrl+shift+p): Edit Current Color Scheme image
  3. Find background in globals, modify it and save the file. (more info, see docs)
2 Likes

#6

Yes! That’s the color control I was hoping for! Thank you!

0 Likes