Skip to content
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

Sync dark/light theme with Windows 10 #30

Closed
xmha97 opened this issue May 30, 2020 · 6 comments
Closed

Sync dark/light theme with Windows 10 #30

xmha97 opened this issue May 30, 2020 · 6 comments

Comments

@xmha97
Copy link

xmha97 commented May 30, 2020

The latest version of windows has a dark theme, which changes elements such as context menus to be dark, so if I schedule windows to change to the dark theme automatically at night, it wouldn't affect win10widgets, because all elements are skinned.​

image

@xmha97
Copy link
Author

xmha97 commented May 30, 2020

The configuration can be queried in the registry's following location:

  • Key: HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Themes\Personalize
  • Value: AppsUseLightTheme

When the value equals 0 (DWORD), it means it is in dark mode. Altering the value triggers immediately Windows Explorer to go/exit dark mode.
Some resources:

@MinhThienDX
Copy link
Owner

Thank you for this discovery.
If you can create a pull request to integrate the detection of this registry value into win10widgets, I will merge into this repo as soon as possible.

@MinhThienDX
Copy link
Owner

MinhThienDX commented Sep 5, 2020

@xmha97 There is light mode of this skin at #10, please take a look at it.

@xmha97
Copy link
Author

xmha97 commented Sep 5, 2020

Thanks for supporting the dark theme.
But I want the widget theme to be synced with the Windows theme.
Like Google Chrome:
Chrome-Canary-dark-mode-Windows-10
That is, when Windows is light, the widget is also light.
And when Windows is dark, so is the widget.
Reopen this issue if its implementation is possible.

@xmha97
Copy link
Author

xmha97 commented Dec 6, 2020

cc: @MinhThienDX

@MinhThienDX
Copy link
Owner

Sorry but currently I don't have the time to do so 😥

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants