Description
Detect whether the operating system is using a dark appearance from Python applications. It helps desktop apps choose matching colors or themes without asking the user to configure the same preference twice.
This is a helper library, not a theme engine. Applications should still offer readable contrast and a manual override, because automatic dark-mode detection can vary across desktops and sessions.