FHPythonUtils / GetOSTheme

Use this module to get the OS theme (dark/light)
Other
1 stars 0 forks source link
crossplatform multiplatform python python3 theme

GitHub top language Issues License Commit activity Last commit PyPI Downloads PyPI Total Downloads PyPI Version

GetOSTheme

Project Icon

Using

From import

Use one of the following functions in your program

def isLightMode():
    """Call isLightMode_OS

    Returns:
        bool: OS is in light mode
    """

def isDarkMode():
    """
    Returns:
        bool: OS is in dark mode
    """

From CLI

Call from the command line

getostheme

Documentation

A high-level overview of how the documentation is organized organized will help you know where to look for certain things: