The main application of this Python package is to detect the Dark mode from
your GUI Python application (Tkinter/wx/pyqt/qt for python (pyside)/...) and
apply the needed adjustments to your interface. Darkdetect is particularly
useful if your GUI library does not provide a public API for this detection.
In addition, this package does not depend on other modules or packages that are
not already included in standard Python distributions.
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above. NOTE: This is a Python port. Instead of py311-darkdetect listed in the above command, you can pick from the names under the Packages section.
devel/py-darkdetect: Add new port
The main application of this Python package is to detect the Dark mode from
your GUI Python application (Tkinter/wx/pyqt/qt for python (pyside)/...) and
apply the needed adjustments to your interface. Darkdetect is particularly
useful if your GUI library does not provide a public API for this detection.
In addition, this package does not depend on other modules or packages that are
not already included in standard Python distributions.
https://pypi.org/project/darkdetect/