Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I edit the Solarized (Light) theme in Sublime Text 3

I am trying to edit some of the syntax colours in Sublime Text 3. I'm using the Solarized (Light) built in colour scheme but I only want to change a few of the colours. Where is the settings file (on a Mac)?

like image 461
Jack Barham Avatar asked Sep 11 '13 16:09

Jack Barham


People also ask

How do I customize my theme in Sublime Text 3?

Sublime Text 3 has a number of pre-installed themes that can be enabled by clicking on “Preferences” in the top bar, then clicking “Color Scheme”. Click on “Preferences” in the top bar, then click “Color Scheme”. Next, a box will appear at the top of the window, with a few options.

Where Are Sublime Text color schemes stored?

Windows Regular Install: C:\Users\YourUserName\AppData\Roaming\Sublime Text 3\Packages.


2 Answers

I have managed to find a solution:

Go to http://tmtheme-editor.herokuapp.com (someone has built a web-based theme editor). Once you have tweaked the colour syntax you can download the themename.tmTheme file. Move that file to /Users/username/Library/Application Support/Sublime Text 3/Packages/ User/ (if you are on a Mac).

Load in the syntax theme from the top menu: Sublime Text > Preferences > Color Scheme > themename.

If you want to tweak you syntax further up can upload the custom theme back in the web-based theme editor and save it out again.

Hope this helps someone else.

like image 100
Jack Barham Avatar answered Sep 19 '22 18:09

Jack Barham


I'd recommend using PackageResourceViewer to open the file. You could make your modifications there, and it would save in the proper location to override the built in files. However, I would recommend copying the contents of the file and creating a custom version in your User folder. That way, you can easily move it around and modify it without worrying about the built in color schemes.

The default color scheme files are located in Color Schemes - Default.sublime-package. In ST2, this was extracted to Packages/Color Scheme - Default. PackageResourceViewer will display these folders (as they would normally appear in the Packages folder in ST2. You could navigate to your color scheme from that.

like image 37
skuroda Avatar answered Sep 20 '22 18:09

skuroda