daylerees / colour-schemes

Colour schemes for a variety of editors created by Dayle Rees.
http://daylerees.github.io
Other
9.32k stars 1.62k forks source link

Customizing ST3 sidebar to match selected theme? #154

Closed mikeerickson closed 9 years ago

mikeerickson commented 9 years ago

What is the trick to getting the sidebar to use the same theme as the editor? My editor is fine, but the sidebar is still the default color?

jamescjohns commented 9 years ago

Here are the two settings you need (also Theme - Spacegray needs to be installed):

    "color_scheme": "Packages/Dayle Rees Color Schemes/sublime/tribal.tmTheme",
    "theme": "tribal.sublime-theme",

OK?

mikeerickson commented 9 years ago

I am currently using the Peel theme, will these settings work with that theme as well, or does it require spacegray?

mikeerickson commented 9 years ago

Adding the above code (replacing tribal with peel) the sidebar is still default?

mikeerickson commented 9 years ago

Ah, all is working now (needed to reboot ST) Thanks for the information :-)

mikeerickson commented 9 years ago

One thing I still need to do is increase font size of sidebar?

jamescjohns commented 9 years ago

Hi,

If you create the following file you can override the theme settings:

/Users/<user>/Library/Application Support/Sublime Text 3/Packages/User/Theme - <theme>/<theme>.sublime-theme

Then to increase the font size of the sidebar:

[
    // Tab Labels font size
    {
        "class": "sidebar_label",
        "font.size": 14.0
    }
]
mikeerickson commented 9 years ago

@JamesJohns I have tried this, but I am not sure if the actual location / filename is accurate. I am using the peel theme and have created the following file.

/Users/mikee/Library/Application Support/Sublime Text 3/Packages/User/Theme - Peel/peel.subl

Is this correct (are spaces correct, etc)

Using this file, the sidebar font size is NOT increased? Please correct if I am doing something wrong here.

mikeerickson commented 9 years ago

@JamesJohns well, I knew I was off somewhere. I scrolled right to see that the actual filename should be peel.sublime-theme After making the rename, all works great!

FINALLY!!!! Thank you so so much!

mikeerickson commented 9 years ago

@JamesJohns Just wanted to say thank you again! My vision issues were such that reading the sidebar was next to impossible (quite a strain). I can now see the sidebar so clearly now (along with the editor) and my eyes thank you as well. I have to use font-size of 16px

jamescjohns commented 9 years ago

@mikeerickson no problem.