How does Electron make the menu and logo/ zoom in and out the same?

I want to achieve the effect of github Desktop, as shown in the following figure:

logo:

is there any other way to implement it besides customization? no relevant configuration has been found. Thank you!

May.08,2021

this requires a custom title. That's what I did.
clipboard.png

Let me give you a reference to the implementation of three small buttons:

  

I remember you clicking on the header status bar actually made it bigger and smaller. If the configuration is used in this place, it should be the same as the ordinary application. If you customize it, you will have more space

.
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b3b837-2c292.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b3b837-2c292.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?