Home Download Buy Blog Forum Support

Editing colour schemes in ST3 Portable Win?

Editing colour schemes in ST3 Portable Win?

Postby sdonk on Fri Oct 25, 2013 8:21 am

Feels like a silly question, but I couldn't find a solution on Google or in the documentation, nor could I work out one on my own.

In ST2, you can directly open the .tmTheme files in the program directory, and edit the colour scheme. In ST3 -- at least the portable version -- that doesn't seem to be possible. There is no file named "Monokai" anywhere in the program files, or in %appdata%.

If you go to edit the user settings, by default it is using the colour scheme "/Packages/Color Scheme - Default/Monokai.tmTheme". Only that's not a directory that exists... there's no /Color Scheme - Default/. There's a FILE by that name, a .sublime-package file, and when you extract it using 7zip you can get a full theme folder, the way it's seen in ST2. But if you then try to point to one of those tmThemes in the user settings, you get this error.

Error loading colour scheme. Unable to open.


So my question is... exactly how is it possible to edit the colour schemes in the current portable version of Sublime Text 3 for Windows?
sdonk
 
Posts: 1
Joined: Fri Oct 25, 2013 8:16 am

Re: Editing colour schemes in ST3 Portable Win?

Postby qgates on Fri Oct 25, 2013 2:41 pm

Most of the default stuff in ST3 is packaged up into sublime-package files which are basically zip files with a different extension, located in the ./Packages subfolder in a portable install.

Open:
Color Scheme - Default.sublime-package

..with your favourite zip tool, extract Monokai over to your ./Data/Packages/User folder and edit away :)
qgates
 
Posts: 205
Joined: Mon Nov 05, 2012 4:33 pm


Return to Technical Support

Who is online

Users browsing this forum: Google [Bot], Yahoo [Bot] and 37 guests