Sublime Forum

Different theme for different file tabs

#1

Is it possible to have a different theme set for different file types?

To explain, I use a Dark theme right now but if I am editing for example a Text or Markdown file, I would like to have a White/light theme. I don’t think it is possible to have different themes for different tabs but I am not sure?

0 Likes

#2

It is not possible to have different themes for different tabs AFAIK. I believe it would be possible to use the ST-API events on_activated, and on_load, to dynamically attach different themes according to the current file type. Although, I suspect this would impact the overall performance of ST.

Alternatively, a key-binding or command could be created to switch between themes. I believe there might be a Package already available that does something similar.

0 Likes

#3

You can specify an alternate color scheme, using the color_scheme setting, in your syntax specific settings

0 Likes

#4

Thank you :smile: I was unaware this was possible. Andy.

0 Likes

Coloring tabs titles
#5

Amazing, thanks

0 Likes