libs-gui icon indicating copy to clipboard operation
libs-gui copied to clipboard

Add method that tells the app/backend that we are using a dark mode theme

Open gcasa opened this issue 10 months ago • 2 comments

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.

gcasa avatar Jan 05 '25 10:01 gcasa

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.

rmottola avatar Jan 27 '25 09:01 rmottola

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.

rmottola avatar Jun 09 '25 13:06 rmottola