def set_background(dark_enabled):
    """Set the background styles."""
    if dark_enabled:  # noqa: DAR101, DAR201
        return {'background-color': '#303030', 'color': 'white', 'height': '100vh'}
    return {'background-color': 'white', 'color': 'black', 'height': '100vh'}