简体   繁体   中英

VSCode Black Menu Bar

So in the last update's Release Notes (1.27.2) I saw this screenshot:

在此处输入图片说明

But my menubar looks as ugly as usual. How can I enable the black menubar (which I assume is implemented as part of the HTML page rather than a native Windows menubar)?

在此处输入图片说明

It is not very obvious, in the settings:

// Adjust the appearance of the window title bar. Changes require a full restart to apply.

"window.titleBarStyle": "custom",

And then you will need to choose a dark theme that actually provides that color:

// Specifies the color theme used in the workbench.

"workbench.colorTheme": "Default Dark+",

Or you can change the titleBar's colors in the colorCustomizations :

 "workbench.colorCustomizations": {
      "titleBar.activeBackground": "#555",      
      "titleBar.activeForeground": "#fff"
  }

So either choose a theme that sets the titleBar's colors or change it yourself with these last two colorCustomization settings. But in either case this must be set:

"window.titleBarStyle": "custom",

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM