You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Allow to change the background color of menu bar (Windows & some Linux) #16363
The menu bar is inconsistent with the dark theme in particular.
Reacted by Cretezy, Evgenii Morozov, Ronan Jouchet, Yukai Huang, Alfonso Andrés López Molina, Aaron Grider, Jens Hausdorf, Mohamed AbouGendy, Martin Suchan, Pine and 125 more
Reacted by Mohamed AbouGendy, Chris Barr, Misa Jovanovic, Jens Hausdorf, Brian Ojeda, Connor McGwire, Tomer, Nillouise, Jaanus Varus, jamstation and 3 more
Reacted by Mohamed AbouGendy, Ivan Bovin, Yukai Huang, محمّد, Chris Barr, Misa Jovanovic, Brian Ojeda, Connor McGwire, Tomer, Eugene Ivanchenko and 11 more
changed the title [-]Give ability to change the background color of menu bar (Windows & some Linux)[/-][+]Allow to change the background color of menu bar (Windows & some Linux)[/+]on Dec 3, 2016
To get the idea, Visual Studio Code is at the top, full Visual Studio 2015 at the bottom.
Reacted by Andrew Kobets, Steve Hartzog, waclaw66, 光印月, Misa Jovanovic, Mayur Bhonde, Julius Valiukas, Aleksas Golubevas, Sebastian Schmidt, JRD1e and 19 more
Reacted by jamstation
Reacted by Md Raihan, Aleksas Golubevas, Nathalya Santos, Martin Anderson, golzarmeshki, Frank Radocaj, Mohamed Ouyizme, napsto, Abhijeet Singh and Soheil Alizadeh
Electron runs inside standard Windows window. There is a Win32 API for changing window colors and fonts. I think the discussion should not be "is it possible?" but rather "how to do it".
Hey guys, I think I might actually have a solution though this might be a bad suggestion on my part.
I've recently been fiddling around with editing the Windows theme using registry editing. It's.... probably not super recommended, and I can't tell you how right at this moment (uh... because in the process I also totally borked my install of Windows 10), but from what I've been learning (or breaking) recently it should be possible, and relatively easy to put into a bat script. I'll let you guys know when I figure more out.
Reacted by Emeryao, Jens Hausdorf, Jaanus Varus, Nimrod Neuberg, Andrew Wilson, Nhan Nguyen, Philipp John, Rogério dos Santos Fernandes, Esteban Salazar, Sem Spanhaak and 16 more
Reacted by Aslan French, Dasser Basyouni and Alexander
Reacted by Aslan French, Giulia Alfarano, Dasser Basyouni and Alexander
Reacted by Aslan French, Jairo Llopis, Mohamed Ouyizme, Paweł Stolarski, Nhan Nguyen, Dasser Basyouni, Michal Przybylowicz, Alexander, Meet Patel, Felipe Almeida and 1 more
Reacted by napsto, Kristen McWilliam, Dániel Futó, Simon Niedermayr, ClericPy, André Costa Lima, Ulf Schuster, Abhijeet Singh, Rogério dos Santos Fernandes, Giulia Alfarano and 18 more
Reacted by napsto, Jim, Emeryao, Jens Hausdorf, Kristen McWilliam, محمّد, Dániel Futó, ClericPy, André Costa Lima, Ulf Schuster and 16 more
I use to hide native title bars on windows by unsetting the 0xC00000 flag. While the custom title bar is great by making both the menu bar and context menus follow the dark theme, it makes the title bar unhideable. I wish there was a mixed setting: use custom menus, but use the native title bar.
Activity
[-]Give ability to change the background color of menu bar (Windows & some Linux)[/-][+]Allow to change the background color of menu bar (Windows & some Linux)[/+]martinsuchan commentedon Mar 25, 2017
To get the idea, Visual Studio Code is at the top, full Visual Studio 2015 at the bottom.


Stanzilla commentedon Mar 27, 2017
Those would have to be rewritten in JS then and the default Windows controls hidden
Riajyuu commentedon Aug 15, 2017
Totally agreed with Belleve (@be5invis)
jens1o commentedon Aug 15, 2017
Question: Why this issue hasn't a milestone included?
Riajyuu commentedon Aug 15, 2017
I guess they haven't look into this yet
martinsuchan commentedon Aug 15, 2017
Electron runs inside standard Windows window. There is a Win32 API for changing window colors and fonts. I think the discussion should not be "is it possible?" but rather "how to do it".
tjvf commentedon Sep 4, 2017
The issue is the menu bar (File, Edit, Selection, ...), which is provided by Electron, not the title bar, provided by Windows.
See this Electron issue, which shows it isn't directly possible at the moment. The suggestion is to re-implement the menu bar.
7 remaining items
jcklpe commentedon Jun 30, 2018
teejayen commentedon Jun 30, 2018
@thedonquixotic, my mistake.. should have read the thread more thoroughly. Dare I suggest hiding it, and toggling using Alt.
jcklpe commentedon Jul 2, 2018
Hey guys, I think I might actually have a solution though this might be a bad suggestion on my part.
I've recently been fiddling around with editing the Windows theme using registry editing. It's.... probably not super recommended, and I can't tell you how right at this moment (uh... because in the process I also totally borked my install of Windows 10), but from what I've been learning (or breaking) recently it should be possible, and relatively easy to put into a bat script. I'll let you guys know when I figure more out.
fl3x1324 commentedon Jul 3, 2018
If I'm not mistaken, dark/black windows forms/win32 controls are coming in a future release of Win10. Or are those the XAML ones, that come with UWP?
mohouyizme commentedon Jul 3, 2018
Atanas Minkov (@fl3x1324) Good news! but I think it's not enough since the menu bar colors should be customizable within the themes.
emeryao commentedon Jul 4, 2018
Hey guys, take a look at what I just found 😝
{ "window.titleBarStyle": "custom" }mohouyizme commentedon Jul 4, 2018
Emeryao (@emeryao) It's available just in insiders version, hope it will be available in the next stable update, although it still needs some work.
Evolveye commentedon Jul 5, 2018
Mohamed Ouyizme (@mohouyizme) You was right ^^
1.25 has it
Emeryao (@emeryao) <3
mohouyizme commentedon Jul 5, 2018
Good news 🤘🤘🤘! it's available now in the stable version which is 1.25.0.
as Emeryao (@emeryao) reference, add this line to settings:
{ "window.titleBarStyle": "custom" }Merrit commentedon Jul 6, 2018
Just trying VS Code for the first time and fired up this option.. works/looks great! Cheers for implementing feedback 😃
Wiredframe commentedon Jul 19, 2018
Really great to see that dark menu and title bar have been added, thanks! I just noticed that touch input doesn't work as expected in the menu. 😆
Logerfo commentedon Aug 16, 2018
I use to hide native title bars on windows by unsetting the
0xC00000flag. While the custom title bar is great by making both the menu bar and context menus follow the dark theme, it makes the title bar unhideable. I wish there was a mixed setting: use custom menus, but use the native title bar.