Expand description
OS theme detection โ reads colors directly from desktop environment configuration files and settings.
Supports GNOME, KDE, and Cinnamon on Linux. macOS and Windows return only the light/dark preference (via winit), with no color reading.
Functionsยง
- query_
color_ scheme - Query only the OS light/dark preference (lightweight).
Used by
ThemeMode::FollowSystem. - query_
os_ theme_ colors - Query full OS theme colors from desktop config files.
Used by
ThemeMode::Native.