Darkdetect
JSON →Darkdetect is a Python library designed to detect if the operating system is currently in Dark Mode. It supports macOS (10.14+), Windows (10 1607+), and Linux (with a dark GTK theme). This package is particularly useful for Python GUI applications (Tkinter, wx, PyQt, PySide, etc.) that need to adapt their interface based on the system's theme settings. The current version is 0.8.0, and its release cadence has been infrequent, with the last major update in December 2022.
Traffic · last 30 days ↑200% vs prev 7d
total hits 26
actors 8 distinct systems
last hit 19h ago AhrefsBot
top countries 🇸🇬 Singapore · 🇺🇸 United States · 🇫🇷 France · 🇩🇪 Germany · 🇨🇦 Canada
API endpoints
full doc /v1/registry/darkdetect
install /v1/registry/darkdetect/install
compatibility /v1/registry/darkdetect/compatibility