Different Icons that use the Segoe MDL2 Assets
font for displaying the titlebar icons.
.window-buttons {
user-select: none;
-moz-user-select: none;
-khtml-user-select: none;
-webkit-user-select: none;
-o-user-select: none;
font-family: "Segoe MDL2 Assets";
cursor: default;
opacity: 0.8
}
#close-button:hover{
background: #E81123;
color: white;
}
.notion-light-theme .window-buttons {
[...]
font-size: 12px;
[...]
}
maximize
/ restore
browserWindow.on('maximize', () => {
maximizeButton.innerHTML = "ण";
})
browserWindow.on('unmaximize', () => {
maximizeButton.innerHTML = "";
})
I changed the variable of the button to maximizeButton (from element), so that this method would not change the wrong button. (Don't forget to init)
You (maybe) need to install this font, but it should already be installed in Windows 10 by default
This font contains all the default windows icons
If you want to quickly test it out, this code contains the changes I made