def get_all_code_styles() -> dict[str, BaseStyle]:
    """
    Return a mapping from style names to their classes.
    """
    result: dict[str, BaseStyle] = {
        name: style_from_pygments_cls(get_style_by_name(name))
        for name in get_all_styles()
    }
    result["win32"] = Style.from_dict(win32_code_style)
    return result

    Return a mapping from style names to their classes.
    
src/ptpython/style.py