Skip to content

Conversation

gcasa
Copy link
Member

@gcasa gcasa commented Jan 5, 2025

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.

@rmottola
Copy link
Member

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.

run. In the future, like Aqua, we might support Themes having both Light
and Dark Appearance.
Change wording from Mode to Appearance, since Apple has NSAppearance.
@rmottola
Copy link
Member

rmottola commented Jun 9, 2025

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.

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

Successfully merging this pull request may close these issues.

2 participants