Sublime Forum

[ST4] Is there any way to use the themed title bar on windows with themes other than the default "Adaptive" theme?

#1

As said in the title. I like the adaptive theme a lot, especially because of the themed title bar, but I also like other themes. However, if I use any other themes I have to contend with the default Windows title bar, which makes those themes look substantially less nice than the adaptive theme. Is there any way to get that title bar on other themes?

0 Likes

#2

The thing that makes it specific to the Adaptive theme is that of the themes that ship with Sublime, it’s the only one that has a theme rule that activates it. Any theme that includes the appropriate rules can activate it.

For example, if you select the Default theme and then choose UI: Customize Theme from the command palette, a new window will open with the theme on the left and your user customizations on the right.

In that window you could add a rule like this (though the colors are pretty crunky):

        {
            "class": "title_bar",
            "settings": ["themed_title_bar"],
            "fg": "color(black)",
            "bg": "color(magenta)",
        },

Or for colors that might look better:

        {
            "class": "title_bar",
            "settings": ["themed_title_bar"],
            "fg": "color(white)",
            "bg": "color(var(--background) blend(white 85%))",
        },
0 Likes

#3

Ah, that makes sense. Thank you for clearing that up.

0 Likes