T
T
Think With Your Head2016-07-19 19:19:20
Sublime Text
Think With Your Head, 2016-07-19 19:19:20

How to change theme images in sublime-text?

I can’t figure out how to change the sprites in the theme, for example, in soda dark I want to change the tabs. But since the theme is stored in a packed archive, it only comes to mind to unpack, change what you need and pack. Does anyone know if it could be easier to do this?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sasha Chernykh, 2016-07-21
@thinkbrain2

Install the Package Resource Viewer plugin . Ctrl+Shift+PPackageResourceViewer: Open Resource (using fuzzy search , just write prv ) → Theme - SodaSodaDark.sublime-theme → in the opened file, look for tab_control - this is the name of the tab class.
Some {curly braces} with "class": "tab_control"will contain lines starting with "layer0.texture", for example, "layer0.texture":"Theme - Soda/Soda Dark/tab-inactive.png". Theme - Soda/Soda Dark/tab-inactive.png - relative path to the image file, starting with PreferencesBrowse Packages.... Replace the paths to Soda Dark images in the file with the path to your images → save the file → the tabs should change.
Where to get images if you don't have them ready. We choose the theme you like, - for example, take Cobalt2, - google its repository on GitHub , look for the tab_control class in the theme file with the sublime-theme extension , find which images in the tabs correspond to it → download these images . Large tabs will not work, see unclosed bug . Thank you.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question