Help and Support
Ask a question, report a problem, request a feature...
<<  Back To Forum

Please implement automatic dark theme

by Guest on 2024/07/07 10:22:22 AM    
Hello,

both Windows and Linux (freedesktop) platforms have a system-wide dark theme switch nowadays, which applies to all (most) apps, as well as things like the wallpaper, system UI, and even webpages. I like my system light at daytime and dark at nighttime, so I use the switch all the time. At present, I have to flip the system-wide switch, which causes everything except Tixati to switch, and then go and manually open Tixati color settings and click one of the buttons to make it match the rest of the system.

It would be a lot better if Tixati followed the system-wide dark preference automatically, like other apps do.

For Linux, the system-wide setting is the "freedesktop dark preference", please see https://gitlab.gnome.org/GNOME/Initiatives/-/wikis/Dark-Style-Preference  for details and instructions on how to use it in an app. I see that you're using the GTK 3 toolkit without libhandy, so you're not getting the automatic dark style preference support. You can still make it work with relatively little code by watching the relevant settings key using D-Bus, please see the "Other" section in the wiki page & the code example there for details.

For Windows, see https://learn.microsoft.com/en-us/windows/apps/desktop/modernize/apply-windows-themes#know-when-dark-mode-is-enabled

Thanks!




This web site is powered by Super Simple Server