Re: [INFO] Does Git GUI support Dark Mode on Windows 10 ?
From: Sashank Bandi <hidden>
Date: 2021-10-04 15:09:35
On Mon, Oct 4, 2021 at 1:26 PM Pratyush Yadav [off-list ref] wrote:
Sorry, I couldn't find time to catch up on this because its been busy at $DAYJOB.
Well, I hope you got a little time for this thread.
Anyway, git-gui does have some basic dark mode support, though I have seen reports that it does not work very well. You can change the Tk theme and it should enable dark mode on git-gui as well. See [0] for some more info. I am not very familiar with how Tk theming would work on Windows.
I am not even familiar with Tcl/Tk language itself. But from what I have found, the Tk uses "vista" theme which is Windows-only default theme.
I think it would be nice if we can have a theme picker in the options menu though, so that is something you might want to look into.
Yes, I thought of adding a menu between "Tools" and "Help". It will contain 3 options(system, light, dark) as I said before.
[0] https://lore.kernel.org/all/20201008082004.5643-1-serg.partizan@gmail.com/ (local)
Well, this works only for Linux as Windows doesn't use X Server. But we can use `ttk::style theme use` for it all over the application. My plan is to use a new theme, that is based on default, but can imitate the look of [0]. [0]: https://github.com/TkinterEP/ttkthemes/blob/master/ttkthemes/png/equilux/equilux.tcl