Dark app loading screens for dark apps
As discussed in #183, it would be nice to avoid having light loading screens for dark apps.
Of course, there's no clean way to do that without apps telling the shell whether they're dark or light so we can't do this automatically for every app, but I wonder if something opt-in could work, e.g.
- By default we use light everywhere
- Dark apps can add a flag to their desktop files indicating that they'd prefer a dark loading screen
A case where this is tricky is apps with an in-app dark/light switcher. A static flag in the desktop file would not work for those, so maybe a dynamic solution would be needed?
Not relevant yet, but might be by the time we implement this:
If and when we get a system-wide prefer-dark
option that will be an additional complicating factor, seeing as we would also want to know which apps are not always dark but support the preference. So in that case we'd want a dark loading screen when
- The app supports
prefer-dark
-
prefer-dark
is currently enabled at the system level