-
-
Notifications
You must be signed in to change notification settings - Fork 75
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
An option to make Windhawk to use the host system window theme/style? #62
Comments
It's not currently supported, but since the Windhawk UI is based on VSCode, you can choose another theme:
Note that the Windhawk UI doesn't look so good with some themes, especially light themes. |
There's a border in Windows 11. I found these options, you might want to try them: microsoft/vscode#82781 (comment)
"workbench.colorCustomizations": {
"window.activeBorder": "#00ff00",
"window.inactiveBorder": "#ff0000"
}
Not sure that it will work, it didn't for me, but maybe that's because it's not supported on Windows 11.
Electron is based on Chromium, but it was originally developed by GitHub for Atom, and now GitHub is part of Microsoft. And historically Chromium is based on WebKit, so not 100% of a Google's creation either way.
Visual Studio Code is an unrelated project, like Java is unrelated to JavaScript. And yes, Microsoft is known to be bad with names.
Would it be better for them to stay with the IE-based Edge? Probably not in the state that it was, and improving it was probably deemed to be too much of an investment. On the one hand, it's bad for competition, but on the other hand, it dilutes Google's control over Chromium, which is IMO a good thing. Edit: See also microsoft/vscode#153222 |
Did not work for me either...
Microsoft did a lot of stupid things since Bill Gates left the company. One of them is ditching VBA. Then, migrating to JavaScript-based web design. And it seems the folks from Microsoft were the ones. They migrated to a browser which became completely detached from their OS. In IE era mshtlml was a standard part of the system. Anyone could embed up-to-date browser control in their applications. Basically, I could make a new browser of my liking in VB6 in 10 minutes. For instance, with two vertical bookmarks bars on right and left and whatever. On the other hand, Chrome is of course better than the Metro-based Edge, it is a desktop app after all. |
Yes, you're right, turns out that it was removed in a recent version: microsoft/vscode#160159
There's the WebView2 control. For example, Tauri, a lightweight Electron alternative, uses it. There was an issue about making VSCode more lightweight with it but it was rejected: microsoft/vscode#118308 |
Yes, that's quite unfortunate because white on white background is not readable at all. |
So I was able to set it to use the native theme by doing the Ctrl+Alt+Shift+P option as mentioned and then typing preferences, there was then an option to open the Settings UI and then I searched for title in the settings page and was able to switch it to using the Native option, WH prompted to restart and applied the theme. It shows the Menubar by default but going into Settings again and searching for menu has an option to hide the menubar. The only issue is that you cannot exit the Settings page, so you have to close and restart the app, but that's a minor hiccup. |
I was similarly pleased to find that I can change the code editor theme and then slightly less pleased to find that it applies to the background of the main window (couldn't care less that the cards are still white-on-black, I don't have to look at them for too long). If you update to a newer Electron version later on (v24 or newer, by the looks of it?), you could change your color: hsla(0,0%,100%,.85); to color: color-mix(in srgb, var(--vscode-editor-foreground), transparent 15%); and that would respect the theme's font color. Or could just pick a similar color from the theme unless the slightly-muted white is all too precious for aesthetics. For the time I settled for someone's plugin that adds a light/dark theme toggle button to the status bar. |
It would be very useful, especially the window decorations/frame because currently it is just filled grey rectangle, if you have another app with dark grey color on the background (such as Discord), the window border is simply invisible.
The text was updated successfully, but these errors were encountered: