pub async fn from_system_async() -> Result<SystemTheme>Expand description
Async version of from_system() that uses D-Bus portal backend
detection to improve desktop environment heuristics on Linux.
When XDG_CURRENT_DESKTOP is unset or unrecognized, queries the
D-Bus session bus for portal backend activatable names to determine
whether KDE or GNOME portal is running, then dispatches to the
appropriate reader.
Returns a SystemTheme with both resolved light and dark variants,
same as from_system().
On non-Linux platforms, behaves identically to from_system().