Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

how can I edit my current sublime text 2 theme?

Tags:

sublimetext

I would like to update my current SB2 theme Sunburst so that the current line highlight is a little brighter but I'm not sure how to do this. I know the following code has to be added but I don't know how to access the theme files:

<key>lineHighlight</key> <string>#hexcolor</string> 

Can anyone advise on how this can be achieved?

like image 975
styler Avatar asked Mar 26 '12 10:03

styler


People also ask

How do I change the theme in Sublime Text?

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 themes stored?

sublime-theme file. It's json. Do your edits to the file. Navigate to ~/Library/Application\ Support/Sublime\ Text\ 3/Packages/, create a 'Theme - Default' folder.


2 Answers

On Windows XP, they are in XML .tmTheme files in

C:\Documents and Settings\myusername\Application Data\Sublime Text 2\Packages\Color Scheme - Default\ 

On Vista/7/8/10 it will be in:

C:\Users\myusername\AppData\Roaming\Sublime Text 2\Packages\Color Scheme - Default\ 
like image 110
Alex K. Avatar answered Nov 13 '22 20:11

Alex K.


You can try out Color Scheme Editor plugin for ST which will help you to edit the current theme that you're using. Even more, it will automatically show you what theme is being applied in your current position (that is real handy); you can then make the change in theme-file, save, and you will instantly see the result.

like image 28
Santi Agüero Avatar answered Nov 13 '22 20:11

Santi Agüero