Closed vit9696 closed 1 year ago
I just now noticed that this has already been discussed. Do you think this solves the problem with protected ranges colors: https://github.com/LongSoft/UEFITool/pull/293?
Support for macOS dark mode had been recently added to Qt6, but had not been backported to Qt5 in any way, so we should start using Qt6 (but remain compatible with the last Qt build under LGPLv2.1 - 5.6.3, with some minor UI issues if needed) and get that for free.
@yeggor also showed that darkX colors are much nicer-looking in dark mode in #293, but I'd like to detect both Aqua and Dark modes, and switching between them dynamically.
Got Windows 10+ dark mode working as expected, no overrides required:
Now detection of dark mode and setting colors also works in macOS:
Done, the current CI/CD pipeline can successfully generate Qt-6.4.2-based builds for both macOS and Windows, and uses a native installed Qt5/6 on Linux. I consider this issue to be resolved, please open another one if UI Dark Mode doesn't work for you in some way.
Confirmed macOS way to determine UI dark mode to work in Linux, enabled it there.
Apparently there is white text on white background in some places: