Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to set theme background color in TextMate 2?

I am in the Theme Editor in TextMate 2.0 trying to set the background color for a theme. I see several background properties, none of which seem to set the background color. I can set the background color behind the line numbers, and even behind the settings window, but how do I change the background color of the main text editing window?

like image 208
ohthepain Avatar asked Mar 22 '23 15:03

ohthepain


2 Answers

It is easy. In the TextMate tool bar (top of the screen) select: View -> Theme That's all.

like image 73
huhuhu Avatar answered Mar 24 '23 05:03

huhuhu


You should be able to set the background setting in Settings -> Settings:

settings = (
    {   settings = {
            foreground = '#F8F8F8';
            background = '#0C1021'; <= right here
            caret = '#FFFFFFA6';
            invisibles = '#FFFFFF40';
            selection = '#253B76';
            lineHighlight = '#FFFFFF0F';
        };
    },
like image 35
MattDMo Avatar answered Mar 24 '23 05:03

MattDMo