libs-gui
libs-gui copied to clipboard
Add method that tells the app/backend that we are using a dark mode theme
The purpose of this PR is to add a method to make the system aware that a theme using "dark mode" is being used. This will assist in settings for editors and, particularly, with printing.
A discussed via voice, I think we need two properties:
- Theme "is dark". When switched system issues dark mode notification and identifies as darkmode.
- Theme supports both light and dark modes
The latter porperty is for future work, non need to implement it now.
isDarkMode in this context is a little bit ambiguous.
made an API improvement based on what I think matches closer what we need and adapted naming to what I discovered in Cocoa. Still, "guts" is empty. @fredkiefer may you update this branch to make it easier to test? it is pre-release. Since branch is protected, i cannot do it. You should have "update" where you have merge.