Dark mode support for windows 11
repraze opened this issue · 2 comments
repraze commented
repraze commented
Implementation should be just an attribute to set True if the preference is there - found a reference to it in https://github.com/neutralinojs/neutralinojs/blob/843fd75e1f4d2766069ff461e25824a125800628/lib/webview/windows/darkmode.h#L62
Relevant API at https://learn.microsoft.com/en-us/windows/win32/api/dwmapi/nf-dwmapi-dwmsetwindowattribute and value at https://learn.microsoft.com/en-us/windows/win32/api/dwmapi/ne-dwmapi-dwmwindowattribute
anacrolix commented
Does MenuItem.SetTemplateIcon
help for you here?