Sublime Forum

Macos window chrome

#1

Is there a way to get macos’s window chrome visually for the top of Sublime Merge?

0 Likes

#2

You can create a Theme customization in your User package named Merge Dark.sublime-theme. In that you’ll want to set the fg and bg properties of the class title_bar to a color with 0 alpha. See https://www.sublimetext.com/docs/3/themes.html#elements-windows for more info.

0 Likes

#3

Like this?

{
    {
        "class": "title_bar",
        "fg": [0, 0, 0, 0],
        "bg": [0, 0, 0, 0]
    }
}

I’m not having much luck getting it going

0 Likes

#4

Just change the outermost curly braces to square brackets. The top-most level JSON structure is an array, not an object.

1 Like

#5

thank you, that works

0 Likes