def get_project_palettes(window):
    """Get project palettes."""
    data = window.project_data()
    if data is None:
        data = {}
    return data.get('color_helper_palettes', [])
dataset/ETHPy150Open facelessuser/ColorHelper/color_helper_util.py/get_project_palettes/original