pub fn detect_is_dark() -> boolExpand description
Detect whether the system is using a dark color scheme without caching.
Unlike system_is_dark(), this function queries the OS every time it is
called and never caches the result. Use this when polling for theme changes
or implementing live dark-mode tracking.
See system_is_dark() for platform behavior details.