Dark mode implementation

Carrying the issue over from github to get more visibility and comments.

  • Auto-change the background?
  • Add a theme…theme?
  • Add options to the Property Inspector/Property Editor for dark mode?
  • Add a legacy mode for default/.livecode stacks?

Should HyperXTalk automatically assign the light/dark mode colours to the window and text? This would make it easier for people who want this functionality and would save them from having to code it on every stack (or doing a loop, etc)

1 Like

Apple HIG says yes; haven’t checked the Win HIG, but I’d guess the same.

The windows automatically gets the system window and system text colours and can be overridden by the SystemAppearanceChanged message

This means you do not need to set the colours on PreOpenStack/OpenStack or have a SystemAppearanceChanged message. I’ll attempt to do the same on Windows

1 Like

As long as there is an option to disable the automatic assignment and just stick with light or dark mode rather than flipping. I know people who hate dark mode and people who only use dark mode (personally I just switch with the time of day automatically, which probably many do).

In Xojo for example there is an app property in the IDE to allow this or not (default is to allow), which is think might be a good way to go…

hmm.. The idea of the settings is an interesting one, I’ll make a ticket for it. Right now it automatically switches when the user switches it in the system settings. The controls automatically switched which is why I think we went with this set up