Sublime Forum

Need Theming Manual

#1

Hi! I am trying to create a new theme based on the files of the default one, but I don’t understand some parts of the code. My question is the following, is there any reference manual or something where I can look up?
Thanks for your help.

0 Likes

#2

UI themes or code themes?

0 Likes

#3

UI themes, the ones which have .sublime-theme extension.

0 Likes

#4

Unfortunately there’s not a theming manual, but you can use other themes as a reference:

github.com/buymeasoda/soda-theme

0 Likes

#5

Ok I’ll do a more specific question: what does “layer0.inner_margin” property exactly do? It seems to be the main problem at the time of changing the original background images.

0 Likes

#6

@Karmac: I believe it’s positioning of the texture inside that layer. I just put “layer0.draw_center” : true] when it doesn’t cooperate.

I’m currently doing a bit of mapping the theme properties, attributes and so on. I will see if I can make it available.

0 Likes