How darkdetect works on different platforms
masterdarkdetect provides theme detection for several environments:
- macOS: Supports macOS 10.14+. Note that detection of the dark menu bar and dock (available since macOS 10.10) is not supported.
- Windows: Supports Windows 10 1607+.
- Linux: Uses an experimental detection method based on the presence of a dark GTK theme.
If the package is executed on an operating system that does not support dark mode detection, it will return None for theme queries.