Files
figcraft/docs
ahmedhosnypro 4c494b804f Fix the system theme always light on Linux and the BSDs
winit 0.30 reports no system theme there (EventLoop::system_theme is
None), so the "system" preference resolved to light every time. When
the windowing stack gives no theme, the interface now follows the
freedesktop colour scheme instead: read once and watched live through
the settings portal (org.freedesktop.appearance / color-scheme) in the
desktop services (Services::system_dark), so GNOME's and KDE Plasma 6's
appearance setting switches the app without a restart. Where the OS
theme is reported (macOS, Windows, web) it still wins, and without any
answer the light fallback stands.
2026-10-16 03:16:41 +03:00
..
2026-10-11 18:20:38 +07:00
2026-10-16 01:36:12 +07:00
2026-10-16 01:36:10 +07:00